"cannot find -llpc_board_lpcxpresso_54102" and "cannot find -llpc_chip_5410x" error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"cannot find -llpc_board_lpcxpresso_54102" and "cannot find -llpc_chip_5410x" error

281 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rob.mitrunen@avnet.com on Tue May 05 15:15:15 MST 2015
My customer asks:

We successfully programmed the LPC54102 to blink the LED but when we try to build a new code, it is gives us the error that " cannot find -llpc_board_lpcxpresso_54102" and "cannot find -llpc_chip_5410x" .

In the device manager, the LPC54102 Sensor Processing/Motion Solution (P/N OM13078) is listed under COM ports i.e. it is getting recognized and I have also updated the drivers.
I restarted my laptop and built it again , still getting the errors below:



Building target: pressuresensor.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"C:\Users\aban02\Documents\LPCXpresso_7.7.2_379\workspace\lpc_chip_5410x\libs" -L"C:\Users\aban02\Documents\LPCXpresso_7.7.2_379\workspace\CMSIS_DSPLIB_CM4\lib" -Xlinker -Map="pressuresensor.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "pressuresensor_Release.ld" -o "pressuresensor.axf"  ./src/bmp280_support.o ./src/boot_multicore_slave.o ./src/cr_startup_lpc5410x.o ./src/crp.o ./src/pressuresensor.o ./src/sysinit.o   -llpc_board_lpcxpresso_54102 -llpc_chip_5410x -lpower -lCMSIS_DSPLIB_CM4
c:/nxp/lpcxpresso_7.7.2_379/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -llpc_board_lpcxpresso_54102
c:/nxp/lpcxpresso_7.7.2_379/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -llpc_chip_5410x
collect2.exe: error: ld returned 1 exit status
make: *** [pressuresensor.axf] Error 1



Suggestions?
0 Kudos
Reply
2 Replies

246 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rob.mitrunen@avnet.com on Tue May 05 15:59:28 MST 2015
That worked - thanks!
0 Kudos
Reply

246 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue May 05 15:25:51 MST 2015

Quote: rob.mitrunen@avnet.com
Suggestions?



http://www.lpcware.com/content/faq/lpcxpresso/linker-cannot-find-library
0 Kudos
Reply