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

Grace无法正常build

我用一个grace的例子build之后出现以下错误:

**** Build of configuration Debug for project Gracetest2 ****

D:\ti\CCS4\ccsv4\utils\gmake\gmake -k all

'Building file: ../main.cfg'

'Invoking: XDCtools'

"D:/ti/CCS4/xdctools_3_22_01_21/xs" –xdcpath="D:/ti/CCS4/grace_1_00_01_83/packages;" xdc.tools.configuro -o configPkg -t ti.targets.msp430.MSP430 -p ti.platforms.msp430:MSP430G2231 -r debug -c "D:/ti/CCS4/ccsv4/tools/compiler/msp430" -v "../main.cfg"

#

# making package.mak (because of package.bld) …

D:/ti/CCS4/xdctools_3_22_01_21/xs  -Dxdc.path="D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;.." -Dxdc.root=D:/ti/CCS4/xdctools_3_22_01_21 -Dxdc.hostOS=Windows -Dconfig.importPath=".;D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;..;D:/ti/CCS4/xdctools_3_22_01_21;D:/ti/CCS4/xdctools_3_22_01_21/etc" -Dxdc.bld.targets="" -DTOOLS=   -f D:/ti/CCS4/xdctools_3_22_01_21/packages/xdc/bld/bld.js ./config.bld package.bld package.mak

#

# generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …

D:/ti/CCS4/xdctools_3_22_01_21/xs -Dxdc.path="D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;.." -Dxdc.root=D:/ti/CCS4/xdctools_3_22_01_21 -Dxdc.hostOS=Windows -Dconfig.importPath=".;D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;..;D:/ti/CCS4/xdctools_3_22_01_21;D:/ti/CCS4/xdctools_3_22_01_21/etc" -Dxdc.bld.targets="" -DTOOLS=  -f xdc/services/intern/cmd/build.xs  -m package/package.xdc.dep -i package/package.xdc.inc package.xdc

#

# configuring main.p430 from package/cfg/main_p430.cfg …

D:/ti/CCS4/xdctools_3_22_01_21/xs -Dxdc.path="D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;.." -Dxdc.root=D:/ti/CCS4/xdctools_3_22_01_21 -Dxdc.hostOS=Windows -Dconfig.importPath=".;D:/ti/CCS4/grace_1_00_01_83/packages;D:/ti/CCS4/xdctools_3_22_01_21/packages;..;D:/ti/CCS4/xdctools_3_22_01_21;D:/ti/CCS4/xdctools_3_22_01_21/etc" -Dxdc.bld.targets="" -DTOOLS=   xdc.cfg main.p430 package/cfg/main_p430.cfg package/cfg/main_p430

D:/ti/CCS4/xdctools_3_22_01_21/bin/sed 's"^\"\(package/cfg/main_p430cfg.cmd\)\""\"D:/ti/Workspace/Gracetest2/Debug/configPkg/\1\""' package/cfg/main_p430.xdl > linker.cmd

D:/ti/CCS4/xdctools_3_22_01_21/bin/rm -f package/cfg/main_p430.o430

#

# cl430 package/cfg/main_p430.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c  -qq -pdsw225  -vmsp -eo.o430 -ea.s430  –embed_inline_assembly -D_DEBUG_=1  -Dxdc_cfg__header__='configPkg/package/cfg/main_p430.h'  -Dxdc_target_name__=MSP430 -Dxdc_target_types__=ti/targets/msp430/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_3_3_3 -g  -I. -ID:/ti/CCS4/grace_1_00_01_83/packages -ID:/ti/CCS4/xdctools_3_22_01_21/packages -I.. -ID:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -fs=./package/cfg -fr=./package/cfg -fc package/cfg/main_p430.c

D:/ti/CCS4/xdctools_3_22_01_21/bin/mkdep -a package/cfg/main_p430.o430.dep -p package/cfg -s o430 package/cfg/main_p430.c -C   -qq -pdsw225  -vmsp -eo.o430 -ea.s430  –embed_inline_assembly -D_DEBUG_=1  -Dxdc_cfg__header__='configPkg/package/cfg/main_p430.h'  -Dxdc_target_name__=MSP430 -Dxdc_target_types__=ti/targets/msp430/std.h -Dxdc_bld__profile_debug -Dxdc_bld__vers_1_0_3_3_3 -g  -I. -ID:/ti/CCS4/grace_1_00_01_83/packages -ID:/ti/CCS4/xdctools_3_22_01_21/packages -I.. -ID:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -fs=./package/cfg -fr=./package/cfg

'Finished building: ../main.cfg'

' '

已复制         1 个文件。

making ../src/csl/csl.lib …

mkdir: cannot create directory `objs ': File exists

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 CSL_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" CSL_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\2752410", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/CSL_init.obj" for writing

"C:\Users\Anderson\AppData\Local\Temp\2752410", ERROR!  : [E1000]

        Failed to write object file : objs/CSL_init.obj

>> Compilation failure

gmake[1]: *** [objs\CSL_init.obj] Error 1

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 WDTplus_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" WDTplus_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\0380810", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/WDTplus_init.obj" for

          writing

"C:\Users\Anderson\AppData\Local\Temp\0380810", ERROR!  : [E1000]

        Failed to write object file : objs/WDTplus_init.obj

>> Compilation failure

gmake[1]: *** [objs\WDTplus_init.obj] Error 1

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 GPIO_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" GPIO_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\2639210", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/GPIO_init.obj" for writing

"C:\Users\Anderson\AppData\Local\Temp\2639210", ERROR!  : [E1000]

        Failed to write object file : objs/GPIO_init.obj

>> Compilation failure

gmake[1]: *** [objs\GPIO_init.obj] Error 1

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 BCSplus_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" BCSplus_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\0975210", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/BCSplus_init.obj" for

          writing

"C:\Users\Anderson\AppData\Local\Temp\0975210", ERROR!  : [E1000]

        Failed to write object file : objs/BCSplus_init.obj

>> Compilation failure

gmake[1]: *** [objs\BCSplus_init.obj] Error 1

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 Timer_A2_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" Timer_A2_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\0649610", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/Timer_A2_init.obj" for

          writing

"C:\Users\Anderson\AppData\Local\Temp\0649610", ERROR!  : [E1000]

        Failed to write object file : objs/Timer_A2_init.obj

>> Compilation failure

gmake[1]: *** [objs\Timer_A2_init.obj] Error 1

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

cl430 System_init.c …

D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430 -c –obj_directory=objs/ -D__MSP430G2231__  -vmsp -I D:/ti/CCS4/ccsv4/tools/compiler/msp430/include  -g -qq -pdsw225  -I "D:\ti\CCS4\grace_1_00_01_83\packages" -I "D:\ti\CCS4\xdctools_3_22_01_21\packages" System_init.c

cygwin warning:

 MS-DOS style path detected: D:\ti\Workspace\Gracetest2\Debug

 Preferred POSIX equivalent is: /cygdrive/d/ti/Workspace/Gracetest2/Debug

 CYGWIN environment variable option "nodosfilewarning" turns off this warning.

 Consult the user's guide for more details about POSIX paths:

   cygwin.com/…/using.html

"C:\Users\Anderson\AppData\Local\Temp\2458810", ERROR!   at EOF: [E1500]

        file access error:  failed to open "objs/System_init.obj" for writing

"C:\Users\Anderson\AppData\Local\Temp\2458810", ERROR!  : [E1000]

        Failed to write object file : objs/System_init.obj

>> Compilation failure

gmake[1]: *** [objs\System_init.obj] Error 1

gmake[1]: Target `all' not remade because of errors.

gmake: *** [../src/csl/csl.lib] Error 2

'Building file: ../main.c'

'Invoking: Compiler'

"D:/ti/CCS4/ccsv4/tools/compiler/msp430/bin/cl430" -vmsp -g -O0 –define=__MSP430G2231__ –include_path="D:/ti/CCS4/ccsv4/msp430/include" –include_path="D:/ti/CCS4/ccsv4/tools/compiler/msp430/include" –diag_warning=225 –printf_support=minimal –preproc_with_compile –preproc_dependency="main.pp" –cmd_file="./configPkg/compiler.opt"  "../main.c"

'Finished building: ../main.c'

' '

gmake: Target `all' not remade because of errors.

Build complete for project Gracetest2

在英文论坛上查找说可能是环境变量中cygwin的问题,但是我把环境变量中cygwin相关的变量都删掉依然出现这个问题,请问还有可能什么原因造成的?

Renton:

这个建议转送到MSP430的论坛吧。

赞(0)
未经允许不得转载:TI中文支持网 » Grace无法正常build
分享到: 更多 (0)