Part Number: PROCESSOR-SDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138
Tool/software: Code Composer Studio
hi,
i am using ccs 1 st time got an unresolved symbol error
description as follows how to solve this i am using staterware gpioCardetect example i add and link include files.
**** Build of configuration Debug for project test ****
"C:\\ti\\ccs1010\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
Building file: "../main.c"
Invoking: ARM Compiler
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv5e --code_state=32 -me --include_path="C:/Users/OWNER/workspace_v10/test" --include_path="C:/ti/OMAPL138_StarterWare_1_10_04_01/include" --include_path="C:/ti/OMAPL138_StarterWare_1_10_04_01/include/hw" --include_path="C:/ti/OMAPL138_StarterWare_1_10_04_01/include/c674x/omapl138" --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --define=omapl138 -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c"
Finished building: "../main.c"
Building target: "test.out"
Invoking: ARM Linker
"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/bin/armcl" -mv5e --code_state=32 -me --define=omapl138 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"test.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/lib" -i"C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="test_linkInfo.xml" --rom_model -o "test.out" "./main.obj" "../OMAPL138.cmd" -llibc.a
<Linking>
undefined first referenced
symbol in file
--------- ----------------
GPIOBank6Pin12PinMuxSetup ./main.obj
GPIODirModeSet ./main.obj
GPIOPinWrite ./main.obj
PSCModuleControl ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "test.out" not built
>> Compilation failure
makefile:141: recipe for target 'test.out' failed
gmake[1]: *** [test.out] Error 1
makefile:137: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Description Resource Path Location Type
#10010 errors encountered during linking; "test.out" not built test C/C++ Problem
<a href="file:/C:/ti/ccs1010/ccs/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain test C/C++ Problem
gmake: *** [all] Error 2 test C/C++ Problem
gmake[1]: *** [test.out] Error 1 test C/C++ Problem
unresolved symbol GPIOBank6Pin12PinMuxSetup, first referenced in ./main.obj test C/C++ Problem
unresolved symbol GPIODirModeSet, first referenced in ./main.obj test C/C++ Problem
unresolved symbol GPIOPinWrite, first referenced in ./main.obj test C/C++ Problem
unresolved symbol PSCModuleControl, first referenced in ./main.obj test C/C++ Problem