This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PDK setup under WSL2 Ubuntu, build error with linking issue



Hallo,

i have similar issue. but little difference.

To build in ../pdk_jacinto_08_01_00_36/packages/ti/build symbol can not be linked.

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking;
   "../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm
   _mcu_sw/bin/j721e_evm/board_vcm_mcu_sw_mcu1_0_debug.xer5f" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)

../pdk_jacinto_08_01_00_36/packages/ti/build$ make board_vcm_mcu_sw CORE=mcu1_0 BOARD=j721e_evm SOC=j721e BUILD_OS_TYPE=freertos PROFILE=debug  -sj
# Linking into ../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm_mcu_sw/bin/j721e_evm/board_vcm_mcu_sw_mcu1_0_debug.xer5f...
#
error #10008-D: cannot find file
   "../pdk_jacinto_08_01_00_36/packages/ti/drv/sciclient/li
   b/j721e/mcu1_0/debug/sciserver_tirtos.aer5f"

 undefined            first referenced                                                                                  
  symbol                  in file                                                                                       
 ---------            ----------------                                                                                  
 Sciserver_tirtosInit ../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm_mcu_sw/obj/j721e_evm/mcu1_0/debug/mcu_sw_init.oer5f

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking;
   "../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm
   _mcu_sw/bin/j721e_evm/board_vcm_mcu_sw_mcu1_0_debug.xer5f" not built
tiarmclang: error: tiarmlnk command failed with exit code 1 (use -v to see invocation)
../pdk_jacinto_08_01_00_36/packages/ti/build/makerules/rules_ti_cgt_arm.mk:344: recipe for target '../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm_mcu_sw/bin/j721e_evm/board_vcm_mcu_sw_mcu1_0_debug.xer5f' failed
make[2]: *** [../pdk_jacinto_08_01_00_36/packages/ti/binary/board_vcm_mcu_sw/bin/j721e_evm/board_vcm_mcu_sw_mcu1_0_debug.xer5f] Error 1
../pdk_jacinto_08_01_00_36/packages/ti/build/makerules/common.mk:410: recipe for target 'mcu1_0' failed
make[1]: *** [mcu1_0] Error 2
makefile:360: recipe for target 'board_vcm_mcu_sw' failed
make: *** [board_vcm_mcu_sw] Error 2

  • build with release option works fine

    make board_vcm_mcu_sw CORE=mcu1_0 BOARD=j721e_evm SOC=j721e BUILD_OS_TYPE=freertos PROFILE=release  -sj

    but debug not

  • Hi,

    This is because "../pdk_jacinto_08_01_00_36/packages/ti/drv/sciclient/lib/j721e/mcu1_0/debug/sciserver_tirtos.aer5f" this does not exist. For some reason, it's not building sciserver_tirtos library in debug mode. Did you make any changes in PDK build?

    Also, can you try building it separately using the command:

    make sciserver_tirtos CORE=mcu1_0 BOARD=j721e_evm BUILD_PROFILE=debug -sj