我使用的是CCS5.3 WIN7 64位操作系统 TMS320C6678
我自己建立了CCS的带sys/bios系统,加入NDK库。编译没有问题,
但是,我在.cfg文件里面的NDK Core Stack-->Global里面选择了 Add SYS/BIOS to my configuration这个选项。出现如下错误:
<Linking>
"./configPkg/linker.cmd", line 138: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".text" size 0x3f097 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x24 max hole: 0x18
"./configPkg/linker.cmd", line 150: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".const" size 0x3931 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 152: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".fardata" size 0x1301 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 153: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".switch" size 0x29c . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
>> Compilation failure
"./configPkg/linker.cmd", line 140: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".stack" size 0x2000 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 159: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".vecs" size 0x5ff . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 141: error #10099-D: program will not fit into available memory. run placement with alignment fails for section "GROUP_1" size 0x1a8 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 157: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".cio" size 0x123 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x14 max hole: 0x8
"./configPkg/linker.cmd", line 147: error #10099-D: program will not fit into available memory. placement with alignment fails for section ".cinit" size 0x8d5 . Available memory ranges:
L2SRAM size: 0x80000 unused: 0x8 max hole: 0x8
undefined first referenced
symbol in file
--------- ----------------
NIMUDeviceTable C:\ti\ndk_2_21_01_38\packages\ti\ndk\stack\lib\stk6.ae66<nimu.oe66>
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "NDK.out" not built
gmake: *** [NDK.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
弄了一晚上,也没有解决这个问题,请工程师多多指教。谢谢。
