4 years, 8 months ago.

build error after importing an exported project to simplicity IDE

hello i have a silicon labs EFM32TG210F32 and a LS013B7DH03 sharp memory lcd i want to use the memLCD-demo in order to drive the lcd however i can only choose a GIANT GECKO or ZERO GECKO platforms in the online compiler. (the project builds successfully) so when i export the project and import it to the simplicity IDE,i try to build and get this error

arm-none-eabi-g++.exe: fatal error: c:/siliconlabs/simplicitystudio/v4/developer/toolchains/gnu_arm/4.9_2015q3/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/lib/nano.specs: attempt to rename spec 'link' to already defined spec 'nano_link' compilation terminated. make: * [memLCD-Demo.axf] Error 1

i saw that the includes are as shown in the pic attached (they are all designated to the directories ...TARGET_EFM32ZG_STK3200....... " /media/uploads/roinovi/capture.jpg

what is the reason for the build error?

does the includes paths has anything to do with it?

No answer, the problem still is there .. No one in the development team care about this problem. You cannot use mbed with eclipse and arm gnu compiler.

posted by Mariwan J. 27 Feb 2017

I used the latest compiler from gcc-arm-embedded, aka. arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q1-update) 6.3.1 20170215 (release) [ARM/embedded-6-branch revision 245512]. I got the same fatal error of linking.

link: Nucleo_LoRaPHY.elf
arm-none-eabi-gcc: fatal error: /usr/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/nano.specs: attempt to rename spec 'link' to already defined spec 'nano_link'
compilation terminated.
make[1]: *** [Nucleo_LoRaPHY.elf] Error 1
make: *** [all] Error 2

Actually I can use same toolchain to build mbed 2 project in Windows10/Ubuntu subsystem, but it throws error while building mbed 5 project.

posted by Kai Liu 11 Mar 2017

1 Answer

4 years ago.

Hi,

I have managed to go around compiling error by changing the linker settings in project properties -> C/C++ Build -> Tool Settings ->GNU ARM C++ Linker -> General .There change C Library from Nano Clibrary to Base C Library in the drop down menu

After doing this it compiled

Hope this helps