cancel
Showing results for 
Search instead for 
Did you mean: 

hello sir, am porting some libraries done in stm32l4 board to stm32wb board and linked some provided libraries to stm32 wb board but in the end it shows some error 1 message without any clue.Please, Can you help me out in this ?

Pratyush
Associate II

arm-none-eabi-gcc -o "P2P_Server.elf" @"objects.list" -lbep_diag_hf -lbep -lbep_diag -lbep_hf -mcpu=cortex-m4 -T"D:\kiran\new1\p2p\P2P_Server\P2P_Server\STM32CubeIDE\STM32WB55RGVX_FLASH.ld" --specs=nosys.specs -Wl,-Map="P2P_Server.map" -Wl,--gc-sections -static -L"D:\kiran\new1\p2p\P2P_Server\P2P_Server\STM32CubeIDE\temp\cortex_m4" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

D:\kiran\new1\p2p\P2P_Server\P2P_Server\STM32CubeIDE\temp\cortex_m4\libbep_diag_hf.a(fpc_bep_trace.o): In function `fpc_bep_trace':

(.text.fpc_bep_trace+0x24): undefined reference to `fpc_log_diag'

D:\kiran\new1\p2p\P2P_Server\P2P_Server\STM32CubeIDE\temp\cortex_m4\libbep_diag_hf.a(fpc_bep_trace.o): In function `fpc_bep_trace_var':

(.text.fpc_bep_trace_var+0x2e): undefined reference to `fpc_log_diag'

(.text.fpc_bep_trace_var+0x62): undefined reference to `fpc_log_diag'

D:\kiran\new1\p2p\P2P_Server\P2P_Server\STM32CubeIDE\temp\cortex_m4\libbep_diag_hf.a(fpc_measurement.o): In function `fpc_bep_measure_stop_impl':

(.text.fpc_bep_measure_stop_impl+0x5e): undefined reference to `fpc_log_diag'

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:56: P2P_Server.elf] Error 1

1 REPLY 1

Start by determining where fpc_log_diag() comes from in your working ​configuration. Grep source, libraries etc. Check command line defines.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..