Ti工程师:
你们好!
我使用CCS5.5编译IPC例程时报如下错误,使用的代码在附件中,麻烦帮忙看一下是什么问题引起的。这个例程是参考IPC3.42.0.2提供的一个例程进行修改的,因为原来的例程是在Linux下编译的,没有CCS工程,我是自建的CCS工程,将原来例程的源文件和cfg引用过来的。
**** Build of configuration Debug for project CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0 ****
"C:\\CCSV55\\ccsv5\\utils\\bin\\gmake" -k all'Building file: ../CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0.cfg'
'Invoking: XDCtools'
"C:/CCSV55/xdctools_3_25_03_72/xs" –xdcpath="C:/CCSV55/ipc_3_42_00_02/packages;C:/CCSV55/uia_1_03_01_08/packages;C:/CCSV55/bios_6_35_04_50/packages;X:/0_DSP_Platform/Code/Platform/Export/packages;C:/CCSV55/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p TCI6638_HRST -r debug -c "C:/CCSV55/ccsv5/tools/compiler/c6000_7.4.19" "../CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0.cfg"
making package.mak (because of package.bld) …
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …
configuring CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0.xe66 from package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.cfg …
generating custom ti.sdo.ipc library makefile …
Starting build of library sources …
making X:/7_IPC/MessageQ/CcsProject/Core0/src/ipc.ae66 …
cle66 C:/CCSV55/ipc_3_42_00_02/packages/ti/sdo/utils/NameServer.c …
are66 Ipc.obj …
Build of libraries done.
cle66 package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c …
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 25570: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 25627: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 25678: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 25729: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29543: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29545: error: identifier "ti_sdo_ipc_GateMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29555: error: identifier "ti_sdo_ipc_GateMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29561: error: identifier "ti_sdo_ipc_GateMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29859: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29861: error: identifier "ti_sdo_ipc_MessageQ_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29871: error: identifier "ti_sdo_ipc_MessageQ_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 29877: error: identifier "ti_sdo_ipc_MessageQ_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30021: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30023: error: identifier "ti_sdo_ipc_Notify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30033: error: identifier "ti_sdo_ipc_Notify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30039: error: identifier "ti_sdo_ipc_Notify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30282: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30424: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30567: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30569: error: identifier "ti_sdo_ipc_gates_GatePeterson_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30579: error: identifier "ti_sdo_ipc_gates_GatePeterson_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30585: error: identifier "ti_sdo_ipc_gates_GatePeterson_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30714: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30716: error: identifier "ti_sdo_ipc_heaps_HeapMemMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30726: error: identifier "ti_sdo_ipc_heaps_HeapMemMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30732: error: identifier "ti_sdo_ipc_heaps_HeapMemMP_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30860: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30867: error: identifier "ti_sdo_ipc_notifyDrivers_NotifyDriverCirc_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 30873: error: identifier "ti_sdo_ipc_notifyDrivers_NotifyDriverCirc_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31017: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31019: error: identifier "ti_sdo_ipc_nsremote_NameServerRemoteNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31029: error: identifier "ti_sdo_ipc_nsremote_NameServerRemoteNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31035: error: identifier "ti_sdo_ipc_nsremote_NameServerRemoteNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31165: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31167: error: identifier "ti_sdo_ipc_transports_TransportShmNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31177: error: identifier "ti_sdo_ipc_transports_TransportShmNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31183: error: identifier "ti_sdo_ipc_transports_TransportShmNotify_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31323: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31478: warning: function declared implicitly
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31480: error: identifier "ti_sdo_utils_NameServer_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0Core0_pe66.c", line 31490: error: identifier "ti_sdo_utils_NameServer_Instance_finalize__F" is undefined
"package/cfg/CZ_MT_6338_MessageQ_SingleDsp_Dsp0
在看到这些报错后,检查过cfg、RTSC和头文件的配置,截图如下:
Thomas Yang1:
这种问题一般都是版本匹配问题,建议仔细阅读组件中的release note查看配套软件版本要求