zoukankan      html  css  js  c++  java
  • 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)"}


     

  • 相关阅读:
    Android开发之实现多次点击事件
    Android Studio之导出JavaDoc出现编码GBK的不可映射字符
    java.lang.RuntimeException: Unable to get provider cn.jpush.android.service.DataProvider
    线程池 多线程运行结束后 如何关闭? ExecutorService的正确关闭方法
    Mac 系统安装 oh my zsh
    PHP 批量获取指定目录下的文件列表(递归,穿透所有子目录)
    HP中spl_autoload_register函数的用法
    PHPUnit-附录 C. XML 配置文件
    PHPUnit-附录 B. 标注
    PHPUnit-附录 A. 断言 (assert)
  • 原文地址:https://www.cnblogs.com/zym0805/p/2185080.html
Copyright © 2011-2022 走看看