cannot find -lpower_hardabi

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

cannot find -lpower_hardabi

1,030 Views
chiel_timmerman
Contributor I

Hi all,

When i try to build my project i get the message that my linker cannot find -lpower_hardabi. I pullt the project through SVN and it is working on a different machine. 

Machine:
Ubuntu

Processor:

LPC5528

Console:

12:07:04 **** Incremental Build of configuration Debug for project TT0105_Application ****
make -r -j6 all
Building target: TT0105_Application.axf
Invoking: MCU C++ Linker


arm-none-eabi-c++ -nostdlib -L"/home/timmer/Documents/MCUXpresso_11.1.1_3241/TT0105/TT0105_Application/libs" -Xlinker -Map="TT0105_Application.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T TT0105_Application_Debug.ld -o "TT0105_Application.axf" ./startup/startup_lpc5528.o ./source/TT0105_Application.o ./source/TT0105_temp.o ./source/cpp_config.o ./source/ctimer.o ./source/sctimer.o ./source/semihost_hardfault.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_ctimer.o ./drivers/fsl_flexcomm.o ./drivers/fsl_gpio.o ./drivers/fsl_i2c.o ./drivers/fsl_inputmux.o ./drivers/fsl_lpadc.o ./drivers/fsl_pint.o ./drivers/fsl_power.o ./drivers/fsl_reset.o ./drivers/fsl_sctimer.o ./drivers/fsl_usart.o ./device/system_LPC5528.o ./board/board.o ./board/clock_config.o ./board/peripherals.o ./board/pin_mux.o -lpower_hardabi


/usr/local/mcuxpressoide-11.1.1_3241/ide/plugins/com.nxp.mcuxpresso.tools.linux_11.1.0.202001081728/tools/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: cannot find -lpower_hardabi


collect2: error: ld returned 1 exit status
makefile:54: recipe for target 'TT0105_Application.axf' failed
make: *** [TT0105_Application.axf] Error 1
"make -r -j6 all" terminated with exit code 2. Build might be incomplete.

12:07:04 Build Failed. 3 errors, 0 warnings. (took 74ms)

Labels (1)
Tags (1)
0 Kudos
1 Reply

963 Views
Sabina_Bruce
NXP Employee
NXP Employee

Hello Chiel,

Hope you are doing well.

Could you please check in your project's properties -> C/C++ Build -> Settings -> MCU Linker-> Libraries, that the hardabi power library is added and the correct path is shown?

pastedImage_1.png

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 Kudos