各位专家:
我在自己的workspace里新建了一个project,将client的源文件copy过去,但是只保留了基本配置和UDP这一块的代码。
然后cfg文件我是按照client的cfg写的,在file search path里我也添加了路径和库函数。
但是在linking的时候就报错,而且也没有error的细节。。
下面的console
我的工程文件在附件里
**** Build of configuration Debug for project udp ****
C:\Program Files\Texas Instruments\ccsv5\utils\gmake\gmake -k all'Building target: udp.out'
'Invoking: C6000 Linker'
"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/bin/cl6x" -mv6600 -g –diag_warning=225 –abi=eabi -z -m"udp.map" –warn_sections -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/lib" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\csl\lib" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\drv\qmss\lib" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\drv\pa\lib" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\drv\cppi\lib" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\transport\ndk\nimu\lib\debug" -i"C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_9_beta2\packages\ti\platform\evmc6678l\platform_lib\lib\debug" -i"C:/Program Files/Texas Instruments/ccsv5/tools/compiler/c6000/include" –reread_libs –rom_model -o "udp.out" -l"./configPkg/linker.cmd" "./hello.obj" -l"libc.a" -lti.csl.ae66 -lti.drv.cppi.ae66 -lti.drv.qmss.ae66 -lti.drv.pa.ae66 -lti.platform.evm6678l.ae66 -lti.transport.ndk.nimu.ae66<Linking>
warning: creating output section ".cppi" without a SECTIONS specification
warning: creating output section ".nimu_eth_ll2" without a SECTIONS
specification
warning: creating output section ".qmss" without a SECTIONS specification
warning: creating output section "platform_lib" without a SECTIONS
specification
warning: creating output section "systemHeap" without a SECTIONS specification
"C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 147: error: placement fails for object ".text", size 0x57e75 (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x34 max hole: 0x1c "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 160: error: placement fails for object ".const", size 0x8a3e (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 159: error: run placement fails for object ".fardata", size 0x155d (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 155: error: placement fails for object ".switch", size 0x461 (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 149: error: run placement fails for object ".taskStackSection", size 0x3c07 (page 0).
Available ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 157: error: run placement fails for object ".stack", size 0x1000 (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 158: error: placement fails for object ".vecs", size 0x5ff (page 0). Available ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 139: error: run placement fails for object "GROUP_1", size 0x26f (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 138: error: run placement fails for object ".cio", size 0x123 (page 0). Available
ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0xc "C:/Documents and Settings/Administrator/workspace/udp/Debug/configPkg/package/cfg/hello_pe66_x.xdl", line 151: error: placement fails for object ".cinit", size 0xc25 (page 0). Available ranges:
L2SRAM size: 0x80000 unused: 0x1c max hole: 0xc error: errors encountered during linking; "udp.out" not built
>> Compilation failure
gmake: *** [udp.out] Error 1
gmake: Target `all' not remade because of errors.
Andy Yin1:
您好,
是L2 memory空间不够了,可以将部分数据移到片外。