DSP/BIOS中测试log程序,一个简单的LOG_printf()函数输出程序,BIOS配置没有问题,并且将一系列源文件和头文件已添加,编译通过,连接时出现以下错误:
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_CLK_start C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
SWI_D_rdytab C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IRAM$B C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_GBL_procId C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
__HOOK_knlId C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_KNL_exit C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IRAM$L C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
TSK_VCREATEFXN C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_UTL_doError C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
PIP_F_start C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
GBL_boot C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
TSK_VDELETEFXN C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
KNL_glue C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_UTL_doAbort C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IDL_F_loop C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_CLK_DFLTMICROSECS C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_CLK_htimePerLtime C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
GBL_stackbeg C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_UTL_doPutc C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_MEM C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
PRD_F_tick C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
__HOOK_NUMHOOKS C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_CLK_D_microseconds C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_GBL_cslCacheInit64 C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
RTA_F_or C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
TRC_R_mask C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
GBL_stackend C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK_config C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_OBJ_table C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
HWI_A_VECS C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_FXN_F_nop C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
__MPC_init C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IDL_D_calibrate C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_KNL_run C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
LNK_dspFrameRequestMask C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
CLK_F_isr C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
PIP_D_tabbeg C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
TRC_cinit C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_UTL_halt C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_MEM_init C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
RTA_F_dispatch C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK_startup C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK_setup C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_KNL_queues C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
CLK_A_TABBEG C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
LNK_F_dataPump C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
TSK_VEXITFXN C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
HWI_D_ccmask C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
HWI_F_dispatch C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_RTDX_Poll C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK_init C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IDL_D_busyObj C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_TSK_exit C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
SWI_F_enable C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
FXN_F_run C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_GBL_getVersion C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
GBL_initdone C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_CLK_stop C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_HWI_dispatchTab C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
LNK_dspFrameReadyMask C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
IDL_F_busy C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\hellowordcfg.obj
_LOG_printf C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\helloworld1.obj
_trace C:\\CCStudio_v3.3\\MyProjects\\Experiments\\hello\\Debug\\helloworld1.obj
>> error: symbol referencing errors - './Debug/HelloWorld.out' not built
>> Compilation failure
Build Complete,
2 Errors, 0 Warnings, 0 Remarks.
一直搞不明白出错的原因,求各位大神指导! |