This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS下编译出问题

Other Parts Discussed in Thread: SYSBIOS, TIDEP0057

**** 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环境下编译程序时,出现问题。这该如何解决