本帖最后由 一只耳朵怪 于 2018-6-25 14:43 编辑
朋友们,我今天遇见了一个问题,希望大侠们能指点一二
开发环境:CCS3.3.82+xds560plus;芯片使用OMAPL138,目前只使用C6748单核,采用BIOS系统;采用CCS开发,完全不牵涉
ARM部分;
BIOS系统版本:bios_5.41.02.14,编译器V6.1.11,build顺利通过,linking过程程序报错如下:
--------------------------------------------------------------------------------------------------------------------------------------------------------------
[Linking...] "C:Program FilesTexas InstrumentsC6000 Code Genera
tion Tools 6.1.11bincl6x" -@"Debug.lkf"
error: symbol "__stack" redefined: first defined in "C:/Program Files/Texas
Instruments/C6000 Code Generation Tools 6.1.11/lib/rts67plus.lib";
redefined in
"C:/CCStudio_v3.3/bios_5_41_02_14/packages/ti/bios/lib/bios.a674"
error: symbol "_c_int00" redefined: first defined in "C:/Program Files/Texas
Instruments/C6000 Code Generation Tools 6.1.11/lib/rts67plus.lib";
redefined in
"C:/CCStudio_v3.3/bios_5_41_02_14/packages/ti/bios/lib/bios.a674"
undefined first referenced
symbol in file
--------- ----------------
__STACK_SIZE C:/Program Files/Texas Instruments/C6000 Code Generation Tools 6.1.11/lib/rts67plus.lib
error: unresolved symbols remain
error: errors encountered during linking; "./Debug/138_dm9000RJ45.out" not
built
>> Compilation failure
Build Complete,
1 Errors, 11 Warnings, 0 Remarks.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
在dsplinker.cmd文件中的stack定义如下:—stack 0x00000800
在BIOS的TCF文件中对stack size定义 0x0400
以上部分如信息不够,还请指出。折腾了三天木有结果,诚盼指点,谢谢!