Other Parts Discussed in Thread: OMAPL138, SYSBIOS
Tool/software: TI C/C++ Compiler
Hi
For OMAPL138 platform, for testing purpose, I have created a small RTSC CCS project and in which I am referring to a CSL EDMA3 library function (CSL_edma3Init). I am using the ti.csl.ae674 library
Upon building the project, I am seeing the following linking errorsmaking ../src/sysbios/sysbios.ae674 ...
gmake[1]: Nothing to be done for 'all'.
Building file: "../main.c"
Invoking: C6000 Compiler
"C:/ti_omapl138/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6740 --include_path="C:/ti_omapl138/dsplib_c64Px_3_4_0_0/packages" --include_path="C:/ti_omapl138/pdk_omapl138_1_0_6/packages" --include_path="C:/Rao/Projects/Tungsten/1stGen-FullMaxPhy/DSP_BS214d_1_MS214c/OMAP_L138_C674x/TmpApp" --include_path="C:/ti_omapl138/bios_6_73_00_12/packages/ti/posix/ccs" --include_path="C:/ti_omapl138/ti-cgt-c6000_8.2.2/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d_raw" --cmd_file="configPkg/compiler.opt" "../main.c"
"../main.c", line 54: warning #145-D: a value of type "unsigned int" cannot be used to initialize an entity of type "Uint8 *"
"../main.c", line 54: warning #154-D: conversion of nonzero integer to pointer
"../main.c", line 55: warning #145-D: a value of type "unsigned int" cannot be used to initialize an entity of type "Uint8 *"
"../main.c", line 55: warning #154-D: conversion of nonzero integer to pointer
"../main.c", line 44: warning #552-D: variable "modStatus" was set but never used
Finished building: "../main.c"
making ../src/sysbios/sysbios.ae674 ...
gmake[2]: Nothing to be done for 'all'.
Building target: "TmpAppProj.out"
Invoking: C6000 Linker
"C:/ti_omapl138/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6740 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"TmpAppProj.map" -i"C:/ti_omapl138/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti_omapl138/pdk_omapl138_1_0_6/packages/ti/csl/lib/omapl138/c674/release" -i"C:/ti_omapl138/ti-cgt-c6000_8.2.2/lib" -i"C:/ti_omapl138/ti-cgt-c6000_8.2.2/include" -i"C:/Rao/Projects/Tungsten/1stGen-FullMaxPhy/DSP_BS214d_1_MS214c/OMAP_L138_C674x/osServices/Debug" -i"C:/Rao/Projects/Tungsten/1stGen-FullMaxPhy/DSP_BS214d_1_MS214c/OMAP_L138_C674x/infrastructure/Debug" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="TmpAppProj_linkInfo.xml" --rom_model -o "TmpAppProj.out" "./main.obj" -l"configPkg/linker.cmd" -llibc.a -ldsplib.ae64P -lti.csl.ae674
<Linking>
undefined first referenced
symbol in file
--------- ----------------
CSL_edma3Init ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "TmpAppProj.out" not built
gmake[1]: *** [TmpAppProj.out] Error 1
>> Compilation failure
makefile:142: recipe for target 'TmpAppProj.out' failed
makefile:138: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****
Here I am attaching the project. I would appreciate if you could help me overcoming this issue.
DSPLIB 3.4.0.1
SYSBIOS 6.73.0.12
PDK 1.0.6
CCS 8.3.0.9
target: ti.targets.elf.C674
platform: ti.platforms.evmOMAPL138
Best Regards
Rao