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.
Hi,
I am using the CCS V6.1 and TI compiler C7414 to build my firmware.
until yesterday building my projects works without any problem. Yesterday I hit mistakenly the short key to build all projects in CCS. then I brook this action manually.
After that I was not able to build all my projects which are using the math function fabsf, because the linker response with above error
here is the linker command and error
"Building target: NGI_FW2.out'
'Invoking: C6000 Linker'
"C:/TICCSV6/ccsv6/tools/compiler/c6000_7.4.14/bin/cl6x" -mv6700 --abi=coffabi -O2 -ms0 -g --define=c6713 --define=DFREQ=35 --define=SFREQ=5000 --define=CHIP_6713 --display_error_number --diag_warning=225 --diag_wrap=off --mem_model:data=far -z --stack_size=0x4000 -m"NGI_FW2.map" --heap_size=0x400 -i"C:/TICCSV6/ccsv6/tools/compiler/c6000_7.4.14/lib" -i"C:/TICCSV6/ccsv6/tools/compiler/c6000_7.4.14/include" -i"C:/ti/C6xCSL/lib_3x" -i"D:/projects/CCS6 Projects/NGI_LIB/Source" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="NGI_FW2_linkInfo.xml" --rom_model -o "NGI_FW2.out" "./Source/Ff.obj" "./Source/Main.obj" "./Source/PFF.obj" "./Source/Rcp.obj" "./Source/Rmtp.obj" "./Source/boot_loader.obj" "./Source/startup.obj" "./Source/vectors.obj" "../C6713.cmd" -l"libc.a" -l"C:\ti\C6xCSL\lib_3x\csl6713.lib" -l"D:\projects\CCS6 Projects\NGI_LIB\Release7414\NGI_LIB202_C7414.lib"
<Linking>
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl_irq.obj>": compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl.obj>": compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl_cache.obj>": compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl_edma.obj>": compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl_mcbsp.obj>": compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "C:\ti\C6xCSL\lib_3x\csl6713.lib<csl_timer.obj>": compatibility cannot be determined
undefined first referenced
symbol in file
--------- ----------------
_fasbf ./Source/Main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "NGI_FW2.out" not built"
I tried to link directly to the rts6700.lib but without success.
Then I tried to use older compiler but without success.
using the CCS V5 I am able to build my projects which is using the math function fabsf.
I will appreciate any suggestion to solve this problem, It is urgent.
thank you in advance
Moneer
moneer Shatat-Herres said:undefined first referenced
symbol in file
--------- ----------------
_fasbf ./Source/Main.obj
If this is a copy and paste of the error message, then you have a typo in main.c: you are calling fasbf instead of fabsf.
Could you check if that is the case here?
Hi AartiG,
Thank you many times, you are right, it is my mistake.
The problem is solved.
Many thanks again
Moneer