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.
I was trying to run an example ledprd using CCS Ver3.3...This project is given by TI as a part of tutorial....but, when I modified the program as per instructions given in tutorial, I found that there were errors related to include files....I resolved the errors by inserting appropriate build options...but now, it is giving these errors related to dsk6416bsl.lib file...The build log is as below...I searched the forum, but I could not get any answer from that....How to solve this error???
---------------------------- ledprd.pjt - Debug -----------------------------
[ledprd.tcf] "D:\CCStudio_v3.3PLA\bios_5_33_05\xdctools\tconf" -b -Dconfig.importPath="D:/CCStudio_v3.3PLA/bios_5_33_05/packages" ledprd.tcf
[ledprd.c] "D:\CCStudio_v3.3PLA\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug" -i"." -i"D:/CCStudio_v3.3PLA/c6000/dsk6416/include" -i"D:/CCStudio_V3.1/c6000/dsk6416/include" -d"_DEBUG" -d"CHIP_6416" -ml3 -mv6400 -@"Debug.lkf" "ledprd.c"
[ledprdcfg.s62] "D:\CCStudio_v3.3PLA\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug" -i"." -i"D:/CCStudio_v3.3PLA/c6000/dsk6416/include" -i"D:/CCStudio_V3.1/c6000/dsk6416/include" -d"_DEBUG" -d"CHIP_6416" -ml3 -mv6400 -@"Debug.lkf" "ledprdcfg.s62"
[ledprdcfg_c.c] "D:\CCStudio_v3.3PLA\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug" -i"." -i"D:/CCStudio_v3.3PLA/c6000/dsk6416/include" -i"D:/CCStudio_V3.1/c6000/dsk6416/include" -d"_DEBUG" -d"CHIP_6416" -ml3 -mv6400 -@"Debug.lkf" "ledprdcfg_c.c"
[Linking...] "D:\CCStudio_v3.3PLA\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_EMIFA_config D:/CCStudio_V3.1/c6000/dsk6416/lib/dsk6416bsl.lib<dsk6416.obj>
_EMIFB_config D:/CCStudio_V3.1/c6000/dsk6416/lib/dsk6416bsl.lib<dsk6416.obj>
error: unresolved symbols remain
error: errors encountered during linking; "./Debug/ledprd.out" not built
>> Compilation failure
Build Complete,
1 Errors, 0 Warnings, 0 Remarks.
Are you sure you are linking Chip Support Library (csl6416.lib)?
PS. CCSv3 is ancient.
Regards,
Maciej
Thank you very much...Just adding "csl6416.lib" file in the linker option has solved my problem...but i could not understand the necessicity to do this as I have already added "CHIP_6416" in the pre defined symbols in the build options...
I am forced to use CCS v3.3 due to my application which uses some API calls developed around this version only...
Anyways, thanks again
Regards,
Sachin
SACHIN REGUNDWAR said:but i could not understand the necessicity to do this as I have already added "CHIP_6416" in the pre defined symbols in the build options...
Please see this page for more details on why the library is necessary to resolve undefined symbols:
http://processors.wiki.ti.com/index.php/Build_Errors_in_CCS#Error:_unresolved_symbols_remain