Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO
Hi,
I tried to modify a multi-processor MessageQ example on C6A8168 DSP into something I might use in my project. But i have had the following linking errors. Can someone please help me identifying these errors? I have looked all over the SysBios Users Guide and IPC Users Guide but could not find any clues.
I have the error messages in the following and I have also attached the zip file of the project. Your help is very much appreciated!
Zhao
<Linking>
error: symbol "_ti_sysbios_knl_Queue_head__E" redefined: first defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Queue.o674>"
error: symbol "_ti_sysbios_knl_Queue_empty__E" redefined: first defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Queue.o674>"
error: symbol "_ti_sysbios_knl_Semaphore_pendTimeout__I" redefined: first
defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Semaphore.o674>"
error: symbol "_ti_sysbios_knl_Semaphore_post__E" redefined: first defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Semaphore.o674>"
error: symbol "_ti_sysbios_knl_Semaphore_Instance_finalize__F" redefined: first
defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Semaphore.o674>"
error: symbol "_ti_sysbios_knl_Semaphore_pend__E" redefined: first defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Semaphore.o674>"
error: symbol "_ti_sysbios_knl_Clock_workFunc__E" redefined: first defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Clock.o674>"
error: symbol "_ti_sysbios_knl_Clock_Instance_finalize__F" redefined: first
defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_pr
ogram_debug\ti.sysbios.knl.a674<Clock.o674>"
error: symbol "_ti_sysbios_hal_Timer_Instance_finalize__F" redefined: first
defined in
"C:/tmp_C6A8168/DspApp/Debug/configPkg/package/cfg/message_dsp.p674.obj";
redefined in
"C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\hal\lib\whole_pr
ogram_debug\ti.sysbios.hal.a674<Timer.o674>"
undefined first referenced
symbol in file
--------- ----------------
_ti_sysbios_knl_Mailbox_Instance_State_dataQue__O C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
_ti_sysbios_knl_Mailbox_Instance_State_dataSem__O C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
_ti_sysbios_knl_Mailbox_Instance_State_freeQue__O C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
_ti_sysbios_knl_Mailbox_Instance_State_freeSem__O C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
_ti_sysbios_knl_Mailbox_Object__create__S ./DspApp.obj
_ti_sysbios_knl_Mailbox_Params__init__S ./DspApp.obj
_xdc_runtime_Gate_enterSystem__E C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
_xdc_runtime_Gate_leaveSystem__E C:\CCStudio_v5.1\ccsv5\bios_6_31_04_27\packages\ti\sysbios\knl\lib\whole_program_debug\ti.sysbios.knl.a674<Mailbox.o674>
error: unresolved symbols remain
error: errors encountered during linking; "DspApp.out" not built
>> Compilation failure
gmake: *** [DspApp.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****