CCS error: symbol trace buf is defined multiple times

来源:互联网 发布:网络摄影机三星 编辑:程序博客网 时间:2024/06/08 03:32

DSP-BIOS和XDC工程建立过程中出现以下链接错误,导致编译失败。

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"<Linking>>>   error: symbol trace$buf is defined multiple times:            C:\dvsdk_1_01_00_15\examples\led\evmDM6437\xdcconfig\package\cfg\led_x64Pcfg.o64P and C:\\dvsdk_1_01_00_15\\examples\\led\\evmDM6437\\Debug\\ledcfg.obj>>   error: symbol _BIOS_init is defined multiple times:            C:\dvsdk_1_01_00_15\examples\led\evmDM6437\xdcconfig\package\cfg\led_x64Pcfg.o64P and C:\\dvsdk_1_01_00_15\\examples\\led\\evmDM6437\\Debug\\ledcfg.obj>>   error: symbol DDR2 is defined multiple times:            C:\dvsdk_1_01_00_15\examples\led\evmDM6437\xdcconfig\package\cfg\led_x64Pcfg.o64P and C:\\dvsdk_1_01_00_15\\examples\\led\\evmDM6437\\Debug\\ledcfg.obj>>   error: symbol LOG_system$buf is defined multiple times:            C:\dvsdk_1_01_00_15\examples\led\evmDM6437\xdcconfig\package\cfg\led_x64Pcfg.o64P and C:\\dvsdk_1_01_00_15\\examples\\led\\evmDM6437\\Debug\\ledcfg.obj>>   error: symbol RTA_toHost$pipe$dtab is defined multiple times:            C:\dvsdk_1_01_00_15\examples\led\evmDM6437\xdcconfig\package\cfg\led_x64Pcfg.o64P and C:\\dvsdk_1_01_00_15\\examples\\led\\evmDM6437\\Debug\\ledcfg.obj

解决办法:

右击DSP/BIOS Config 文件夹下的Myproject.tcf 选择 File Specific Options…

选择Exclude file from build,确定。

重新make:

原创粉丝点击