• Platform builder 编译报错prelink.bat failed rc = 1的解决办法 .


    编译工程时提示prelink.bat failed - rc = 1, 在网上也搜不到解决办法...后来发现文件是0KB, 想想是不是这个原因, 于是在prelink.bat和postlink.bat中加如下:

    @echo on

    便可, 其实随便一些合适的BAT信息哪怕是注释应该都可以解决!

    1. Change "DIRS=*" in \WINCE700\PLATFORM\common\src\SOC\dirs. to "OPTIONAL_DIRS=*"
    2. 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

    Error Message
    cannot open file 'filename' [: reason]

    BSCMAKE cannot open the file.

    To fix by checking the following possible causes

    1. 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.

    2. A full disk.

    3. A hardware error.

    4. 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)"}


     

  • 相关阅读:
    条形码工具类
    带SSL证书的httpclient 远程接口工具类
    微信后台服务器配置 、第三方后台 验证服务器地址的有效性,判断请求来自微信服务器
    java获取当前文件路径 [转]
    python django model filter 条件过滤,及多表连接查询、反向查询,某字段的distinct[转]
    HTTP响应代码集合
    JSON类库Jackson与JSON-lib性能对比[转]
    JSR规范整理
    Oracle 查看执行计划
    java中最常用jar包的用途
  • 原文地址:https://www.cnblogs.com/zym0805/p/2185080.html
Copyright © 2020-2023  润新知