6 years ago.

Problem while building on eclipse

Hi, I'm following your guide to make eclipse works with my mbed board. I followed your steps but when i get to the first build of the FILE TEST project, the procedure fails and I get this error:

..... Compiling ../../external/mbed/libraries/mbed/common/TimerEvent.cpp Assembling ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/startup_LPC11xx.s Linking debug library Linking LPC11U24/FileTest.elf ../../external/mbed/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U24_401/LPC11U24.ld:50 cannot move location counter backwards (from 00000238 to 00000200) collect2: error: ld returned 1 exit status make: * [LPC11U24/FileTest.elf] Error 1

Any idea?

The sistem runs on debian 32 bit and I'm using Eclipse LUNA

Question relating to:

I found the solution, I selected the wrong toolchain (lunux gcc instead of cross gcc)

posted by Automazione Unife 05 Feb 2015
Be the first to answer this question.