编译工程时提示prelink.bat failed - rc = 1, 在网上也搜不到解决办法...后来发现文件是0KB, 想想是不是这个原因, 于是在prelink.bat和postlink.bat中加如下:
@echo on
便可, 其实随便一些合适的BAT信息哪怕是注释应该都可以解决!
- Change "DIRS=*" in \WINCE700\PLATFORM\common\src\SOC\dirs. to "OPTIONAL_DIRS=*"
- Add "set BUILD_OPTIONS=socdir1 socdir2" to your BSP batch file in \WINCE700\PLATFORM\YourBSP\YourBSP.bat (and set the socdir's to the correct foldernames you want to build separated by a space if you want to build more than 1, eg. "set BUILD_OPTIONS=ATMEL")
BSCMAKE Error BK1506
BSCMAKE cannot open the file.
To fix by checking the following possible causes
-
File locked by another process. If reason says Permission denied, the browser may be using the file. Close the Browse window and retry the build.
-
A full disk.
-
A hardware error.
-
The specified output file has the same name as an existing subdirectory.
BUILD: [02:0000001697:ERRORE] Error(s) in directory "E:\WINCE700\platform\AT91SAM9G10EK\SRC\BOOTLOADER\EBOOT\". {log="E:\WINCE700\build.log(99163)"}
BUILD: [02:0000001698:ERRORE] fulllibc.lib(fpraise.obj) : error LNK2019: unresolved external symbol _set_fsr referenced in function FPE_Check {log="E:\WINCE700\build.log(99164)"}
BUILD: [02:0000001699:ERRORE] fulllibc.lib(fpraise.obj) : error LNK2019: unresolved external symbol _get_fsr referenced in function FPE_Check {log="E:\WINCE700\build.log(99165)"}
BUILD: [02:0000001700:ERRORE] fulllibc.lib(double_normalize.obj) : error LNK2001: unresolved external symbol _get_fsr {log="E:\WINCE700\build.log(99166)"}
BUILD: [02:0000001701:ERRORE] E:\WINCE700\OSDesigns\smdk9g10\smdk9g10\Wince700\AT91SAM9G10EK_ARMV5_Retail\cesysgen\platform\AT91SAM9G10EK\target\ARMV5\retail\eboot.exe : fatal error LNK1120: 2 unresolved externals {log="E:\WINCE700\build.log(99167)"}
BUILD: [02:0000001702:ERRORE] NMAKE : fatal error U1077: 'E:\WINCE700\sdk\bin\i386\ARM\link.EXE' : return code '0x460' {log="E:\WINCE700\build.log(99168)"}
BUILD: [02:0000001704:ERRORE] TargetExeFiles -nologo BUILDMSG=Stop. BUILDROOT=E:\WINCE700\platform\AT91SAM9G10EK CLEANBUILD=1 LINKONLY=1 NOPASS0=1 failed - rc = 2. {log="E:\WINCE700\build.log(99170)"}
BLDDEMO: ERROR: There were errors building CEBASE. {log="E:\WINCE700\build.log(99270)"}