Issue when import programme from MBED
Hi Guys,
So I am trying to compile an exported mbed project to a Nucleo STM32L476RG board. Followed the instructions for importing then compiling throws the undefined reference to `_exit' and also _kill and _getpid described above. So I tried adding -specs=nano.specs and also changing the load script, also as recommended above. Neither of these seems to have much effect, with compile giving the same errors as indicated below.
Somewhat stuck now so be grateful for any further suggestions.
Best wishes, Ron
Building target: lorawan-lmic-app.elf
Invoking: MCU G++ Linker
arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -specs=nano.specs -T"/home/ron/ac6workspace/lorawan-lmic-app/STM32L476XX.ld" -Wl,-Map=output.map -Wl, - -gc-sections -fno-exceptions -fno-rtti -lm -o "lorawan-lmic-app.elf" @"objects.list" ----
/home/ron/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.7.0.201602291252/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-abort.o): In function `abort':
abort.c:(.text.abort+0xa): undefined reference to `_exit'
/home/ron/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.7.0.201602291252/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-signalr.o): In function `_kill_r':
signalr.c:(.text._kill_r+0xe): undefined reference to `_kill'
/home/ron/Ac6/SystemWorkbench/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.7.0.201602291252/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/fpu/libc_nano.a(lib_a-signalr.o): In function `_getpid_r':
signalr.c:(.text._getpid_r+0x0): undefined reference to `_getpid'
collect2: error: ld returned 1 exit status
make: *** lorawan-lmic-app.elf Error 1