TI中文支持网
TI专业的中文技术问题搜集分享网站

CCS下编译出问题

**** Build of configuration am437x_debug for project AM437xMpe ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building file: ../app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_31_02_38_core/xs" –xdcpath="C:/ti/bios_6_41_04_54/packages;C:/ti/xdctools_3_31_02_38_core/packages/xdc;C:/ti/xdctools_3_31_02_38_core/packages;C:/ti/uia_2_00_03_43/packages;C:/ti/edma3_lld_2_12_02_26/packages;C:/ti/MSP430Ware_3_50_00_04/driverlib/packages;C:/ti/ndk_2_25_00_09/packages;C:/ti/pdk_am437x_1_0_5/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r release -c "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3" "../app.cfg"
configuring app.xa9fg from package/cfg/app_pa9fg.cfg …
generating custom ti.sysbios library makefile …Starting build of library sources …
making D:/Users/Administrator/workspace_v6_1/AM437xMpe/src/sysbios/sysbios.aa9fg …
gmake[1]: Entering directory `D:/Users/Administrator/workspace_v6_1/AM437xMpe/src/sysbios'
cla9fg C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/CoreNull.c …
In file included from C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/CoreNull.c:40:0:
C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/package/internal/CoreNull.xdc.h:34:38: error: conflicting types for 'ti_sysbios_hal_CoreNull_lock__E'
#define ti_sysbios_hal_CoreNull_lock ti_sysbios_hal_CoreNull_lock__E
^
C:/ti/xdctools_3_31_02_38_core/packages/ti/sysbios/hal/CoreNull.h:326:23: note: in expansion of macro 'ti_sysbios_hal_CoreNull_lock'
#define CoreNull_lock ti_sysbios_hal_CoreNull_lock
^
C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/CoreNull.c:45:6: note: in expansion of macro 'CoreNull_lock'
Void CoreNull_lock()
^
In file included from C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/package/internal/CoreNull.xdc.h:15:0,
from C:/ti/bios_6_41_04_54/packages/ti/sysbios/hal/CoreNull.c:40:
C:/ti/xdctools_3_31_02_38_core/packages/ti/sysbios/hal/CoreNull.h:212:19: note: previous declaration of 'ti_sysbios_hal_CoreNull_lock__E' was here
__extern xdc_IArg ti_sysbios_hal_CoreNull_lock__E( void );
^
gmake[1]: Leaving directory `D:/Users/Administrator/workspace_v6_1/AM437xMpe/src/sysbios'
gmake[1]: *** [hal_CoreNull.o] Error 1
gmake: *** [D:/Users/Administrator/workspace_v6_1/AM437xMpe/src/sysbios/sysbios.aa9fg] Error 2
Build of libraries failed.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_02_38_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_31_02_38_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_31_02_38_core\gmake.exe: *** [package/cfg/app_pa9fg.xdl] Error 1
xdctools_3_31_02_38_core\gmake.exe: *** Deleting file `package/cfg/app_pa9fg.xdl'
xdctools_3_31_02_38_core\gmake.exe: *** [package/cfg/app_pa9fg.xdl] Deleting file `package/cfg/app_pa9fg.h'
xdctools_3_31_02_38_core\gmake.exe: *** [package/cfg/app_pa9fg.xdl] Deleting file `package/cfg/app_pa9fg.c'
js: "C:/ti/xdctools_3_31_02_38_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

系统版本信息如上图所示。在windows环境下编译程序时,出现问题。这该如何解决

Denny%20Yang99373:

确保你安装的软件包版本和DEMO要求是一致的

bo LIU19:

回复 Denny%20Yang99373:

我安装的确实是一致的,现在出现这个问题?这个问题我没有看懂。是因为软件包不对吗?

Denny%20Yang99373:

回复 bo LIU19:

如果DEMO没有修改的话  编译出错

一般来说  软件包版本   编译器版本  CCS版本  环境变量等  出问题概率大

Denny%20Yang99373:

回复 Denny%20Yang99373:

xdctools_3_31_02_38_core

这个好像不对。。。

bo LIU19:

回复 Denny%20Yang99373:

这个软件版本是我在TIDEP0057设计文档里面看到的。因为我用的是里面的程序。如果这个不对的话,我应该用哪个版本啊?

赞(0)
未经允许不得转载:TI中文支持网 » CCS下编译出问题
分享到: 更多 (0)