以前用的编译工具是c5400,现在使用的编译工具是ti_cgt_c6000_7.3.3_x86,工程项目是用codelite集合的,请问在项目下的.xml文件中的选项我该如何更改才能make成功呢?一直在报错,小弟总感觉是路径有问题,如何设置路径呢,如图所示:
改成后不正确:
在Linux下编译时候报错如下:
[root@linuxserver MS]# make
dos2unix: converting file ./package/res/text/chinese_text to Unix format ...
dos2unix: converting file ./package/res/text/english_text to Unix format ...
dos2unix: converting file ./package/res/text/english_textbk to Unix format ...
dos2unix: converting file ./package/res/MiniGUI.cfg to Unix format ...
currect hardware platform is arm
[External Libraries]
[-]
[dsp]
Linking dsp
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: "/tmp/24922gZpLd9", line 9: error: cannot find file
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: "/root/kongweiyu/MS/obj/Debug/dsp/Boot.o"
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: "/tmp/24922gZpLd9", line 24: error: cannot find file
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: "/root/kongweiyu/MS/scale_cp_canmake/dsp.cmd"
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".DARamData" without a SECTIONS specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStable" without a SECTIONS specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStable1" without a SECTIONS
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStable2" without a SECTIONS
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStable3" without a SECTIONS
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStable4" without a SECTIONS
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section ".MIPStext" without a SECTIONS specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section "IRAM_MEM" without a SECTIONS specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating output section "LINK_MEM" without a SECTIONS specification
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: warning: creating ".stack" section with default size of 0x400; use the -stack
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: option to change the default size
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0:
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: undefined first referenced
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: symbol in file
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: --------- ----------------
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _BCACHE_inv /root/kongweiyu/MS/obj/Debug/dsp/tsk_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _BCACHE_invL1pAll /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _BCACHE_wb /root/kongweiyu/MS/obj/Debug/dsp/tsk_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _BCACHE_wbInv /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _BCACHE_wbInvAll /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _C64_disableIER /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _C64_enableIER /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _CLK_reconfig /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _DDR /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<ips.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _FXN_F_nop /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkpool.lib<sma_pool.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _GBL_freq /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _GBL_procId /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _HWI_D_inhwi /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _HWI_disable /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _HWI_dispatchPlug /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _HWI_eventMap /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _HWI_restore /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<hal_interrupt.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _KNL_curtask /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _KNL_dummy /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _LCK_create /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<_mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _LCK_pend /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _LCK_post /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _MBX_pend /root/kongweiyu/MS/obj/Debug/dsp/tsk_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _MBX_post /root/kongweiyu/MS/obj/Debug/dsp/tsk_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _MEM_free /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<ips.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _MEM_valloc /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<ips.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _POOL /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SEM_pend /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SEM_post /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkringio.lib<_ringio.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI0 /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI1_TX_Notify /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI_D_inswi /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI_RxRfOn /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI_Tone /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI_TxRfOn /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SWI_post /root/kongweiyu/MS/obj/Debug/dsp/mcbsp_config.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _SYS_error /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplink.lib<dsplink.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _TSK_timerSem /root/kongweiyu/MS/scale_cp_canmake/Lib/dsplinkmpcs.lib<mpcs.obj>
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _mbx_music_proc /root/kongweiyu/MS/obj/Debug/dsp/tsk_music_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: _mbx_proc /root/kongweiyu/MS/obj/Debug/dsp/tsk_process.o
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0:
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: error: unresolved symbols remain
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: error: errors encountered during linking;
ERROR:/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out:0: "/root/kongweiyu/MS/bin/Debug/lib/firmware/Dsp.out" not built
Build time: 00:00:00
make: *** [all] 错误 1
.project工程文件里面修改有没有需要特别注意的地方呢?
<?xml version="1.0" encoding="utf-8"?>
<CodeLite_Project Name="dsp" InternalType="Console">
<Plugins>
<Plugin Name="qmake">
<![CDATA[00010001N0007Release000000000000]]>
</Plugin>
</Plugins>
<Description/>
<Dependencies/>
<Settings Type="Executable">
<GlobalSettings>
<Compiler Options="" C_Options="">
<IncludePath Value="./"/>
<IncludePath Value="../../bios_setuplinux_5_41_10_36/bios_5_41_10_36/packages/ti/bios/include"/>
<IncludePath Value="../dsplink/dsp/inc/"/>
<IncludePath Value="../dsplink/dsp/src/base/hal/"/>
<IncludePath Value="../dsplink/dsp/export/INCLUDE/DspBios/OMAPL138/internal/"/>
<IncludePath Value="../dsplink/dsp/inc/DspBios/5.XX/OMAPL138GEM/"/>
<IncludePath Value="../dsplink/dsp/inc/C64XX/"/>
<IncludePath Value="../../ti_cgt_c6000_7.3.3_x86/include/"/>
<!-- <IncludePath Value="../dsplink/dsp/export/INCLUDE/DspBios/OMAPL138/"/>
MS/dsplink/dsp/inc/DspBios/5.XX/OMAPL138GEM/
<IncludePath Value="../../ti_cgt_c6000_7.3.3_x86/include/"/> -->
</Compiler>
<Linker Options="">
<LibraryPath Value="Lib"/>
<Library Value="dsplink.lib"/>
<Library Value="dsplinkdata.lib"/>
<Library Value="dsplinkmpcs.lib"/>
<Library Value="dsplinkmplist.lib"/>
<Library Value="dsplinkmsg.lib"/>
<Library Value="dsplinknotify.lib"/>
<Library Value="dsplinkpool.lib"/>
<Library Value="dsplinkringio.lib"/>
<Library Value="evmomapl138_bsl.lib"/>
</Linker>
<ResourceCompiler Options=""/>
</GlobalSettings>
<Configuration Name="Release" CompilerType="gnu g++" DebuggerType="GNU gdb debugger" Type="Executable" BuildCmpWithGlobalSettings="append" BuildLnkWithGlobalSettings="append" BuildResWithGlobalSettings="append">
<Compiler Options="" C_Options="" Required="yes" PreCompiledHeader="" PCHInCommandLine="no" UseDifferentPCHFlags="no" PCHFlags=""/>
<Linker Options="" Required="yes"/>
<ResourceCompiler Options="" Required="no"/>
<General OutputFile="Dsp.out" IntermediateDirectory="obj/$(ConfigurationName)" Command="./$(ProjectName)" CommandArguments="" UseSeparateDebugArgs="no" DebugArguments="" WorkingDirectory="$(IntermediateDirectory)" PauseExecWhenProcTerminates="yes"/>
<Environment EnvVarSetName="<Use Defaults>" DbgSetName="<Use Defaults>">
<![CDATA[]]>
</Environment>
<Debugger IsRemote="no" RemoteHostName="" RemoteHostPort="" DebuggerPath=""/>
<PreBuild/>
<PostBuild/>
<CustomBuild Enabled="yes">
<RebuildCommand/>
<CleanCommand>Builder -w $(WorkspacePath)$(WorkspaceName).xml -p $(ProjectName) -t $(ConfigurationName) --clean</CleanCommand>
<BuildCommand>Builder -w $(WorkspacePath)$(WorkspaceName).xml -p $(ProjectName) -t $(ConfigurationName) --no-colors</BuildCommand>
<PreprocessFileCommand/>
<SingleFileCommand>Builder -w $(WorkspacePath)$(WorkspaceName).xml -p $(ProjectName) -t $(ConfigurationName) -f $(CurrentFileFullPath) --no-colors</SingleFileCommand>
<MakefileGenerationCommand/>
<ThirdPartyToolName/>
<WorkingDirectory/>
</CustomBuild>
<AdditionalRules>
<CustomPostBuild/>
<CustomPreBuild/>
</AdditionalRules>
</Configuration>
</Settings>
<VirtualDirectory Name="cmd_tcf">
<File Name="DspBios/5.XX/OMAPL138GEM/edma_test.cmd"/>
<File Name="DspBios/5.XX/OMAPL138GEM/nvoc.cmd"/>
<File Name="DspBios/5.XX/OMAPL138GEM/pdt_ms.tcf"/>
</VirtualDirectory>
<VirtualDirectory Name="_h">
<File Name="pdt_mscfg.h"/>
<File Name="tx_queue.h"/>
<File Name="tsk_cfg.h"/>
(PS:省略)
</VirtualDirectory>
<VirtualDirectory Name="_c">
<File Name="main.c"/>
(PS:省略)
</VirtualDirectory>
<Dependencies Name="Release"/>
</CodeLite_Project>
小弟刚刚接触这方面,希望大神能给点意见,十分感谢。

