Tool/software: Code Composer Studio
Hi xWR team,
My customer is trying to re-create the contents of the C:\ti\mmwave_sdk_01_02_00_05\packages\ti\drivers\can\lib directory, specifically the .aer4f files. For internal reasons he needs to re-structure the mmwSDK, and is attempting to do so using CCS to build the .aer4f file, however he is getting the following error:
'Building target: "can-MSS.aer4f"'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_18.1.1.LTS/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --define=SOC_XWR16XX --define=SUBSYS_MSS -g --diag_warning=225 --diag_wrap=off --display_error_number --enum_type=packed --abi=eabi -z -m"can-MSS.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_18.1.1.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_18.1.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="can-MSS_linkInfo.xml" --rom_model --be32 -o "can-MSS.aer4f" "./can.obj" "./can_xwr16xx.obj" "./dcan.obj" "../xwr1642_r4f.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
main C:\ti\ccsv7\tools\compiler\ti-cgt-arm_18.1.1.LTS\lib\rtsv7R4_A_be_v3D16_eabi.lib<args_main.c.obj>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "can-MSS.aer4f" not built
>> Compilation failure
makefile:143: recipe for target 'can-MSS.aer4f' failed
gmake[1]: *** [can-MSS.aer4f] Error 1
makefile:139: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Errors:
Description Resource Path Location Type
#10010 null: errors encountered during linking; "can-MSS.aer4f" not built can-MSS C/C++ Problem
#10234-D null: unresolved symbols remain can-MSS C/C++ Problem
gmake: *** [all] Error 2 can-MSS C/C++ Problem
gmake[1]: *** [can-MSS.aer4f] Error 1 can-MSS C/C++ Problem
unresolved symbol main, first referenced in C:\ti\ccsv7\tools\compiler\ti-cgt-arm_18.1.1.LTS\lib\rtsv7R4_A_be_v3D16_eabi.lib<args_main.c.obj> can-MSS C/C++ Problem
Do you recommend building/setting up the project in a different way? Maybe a guide to building .aer4f files from a new project would be better here, so we can skip the debug and start off on the right foot.
Thanks,
Barend