6 years, 6 months ago.

Building mbed firmware for NUCLEO-F746 in SW4STM32

Hello guys,

I exported the project to the SW4STM32 IDE and successfully imported it.

However, when building the project I get the following linker errors.

signalr.c:(.text._kill_r+0x10): undefined reference to `_kill'

signalr.c:(.text._getpid_r+0x0): undefined reference to `_getpid'

Can someone help me out?

Thanks!!!

1 Answer

6 years, 6 months ago.

Hi

Did you use the mbed IDE or the CLI command to generate your project ?

I used the CLI command "mbed export -i sw4stm32 -m NUCLEO_F746ZG" and the compilation is OK.

I used mbed IDE.

I used -specs=nosys.specs in the linker command and then it started working.

posted by Chamika Mihiran 30 Oct 2017