您好: 我用的板子是TMDXEVM6678L,新建一个工程,拷贝了helloworld例程中
的".c"和".cfg"文件,"Build Project"出错,输出如下:
**** Build of configuration Debug for project InternetPingPong ****
C:\ti\ccsv5\utils\bin\gmake -k all 'Building target: InternetPingPong.out' 'Invoking: C6000 Linker' "C:/ti/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g —
display_error_number –diag_warning=225 –abi=eabi -z –
m"InternetPingPong.map" –warn_sections –
i"C:/ti/ccsv5/tools/compiler/c6000/lib" –
i"C:/ti/ccsv5/tools/compiler/c6000/include" –reread_libs –rom_model -o
"InternetPingPong.out" -l"./configPkg/linker.cmd" "./resourcemgr.obj"
"./platform_osal.obj" "./NetThread.obj" "./MainThread.obj" -l"libc.a" <Linking> warning #10247-D: creating output section ".myDDRsect" without a
SECTIONS specification
undefined first referenced symbol in file ——— —————- Osal_paMtCsEnter C:\ti\pdk_C6678_1_0_0_20\packages\ti\drv\pa\lib
\ti.drv.pa.ae66<pa.oe66> Osal_paMtCsExit C:\ti\pdk_C6678_1_0_0_20\packages\ti\drv\pa\lib
\ti.drv.pa.ae66<pa.oe66>
error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "InternetPingPong.out" not built
尝试改正方法: Include Options—>"${TI_PDK_C6678_INSTALL_DIR}/packages/ti/drv/pa" File Search Path—>"${TI_PDK_C6678_INSTALL_DIR}/packages/ti/drv/pa/lib
\ti.drv.pa.ae66" 但是错误还在,是加入文件路径的方法不对吗? 先谢过各位了!
King Wang1:
试下在File Search Path中直接加入ti.drv.pa.ae66文件,而不仅仅是${TI_PDK_C6678_INSTALL_DIR}/packages/ti/drv/pa/lib这个路径,比如:${TI_PDK_C6678_INSTALL_DIR}/packages/ti/drv/pa/lib/ti.drv.pa.ae66
jun xu7:
你好,我现在也碰到你的这个问题,你是怎么解决的?