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


     

  • 相关阅读:
    交通运输线(LCA)
    POJ 2186 Popular cows(Kosaraju+强联通分量模板)
    Codeforces 351D Jeff and Removing Periods(莫队+区间等差数列更新)
    Codeforces 375D
    Codeforces 86D
    SPOJ D-query(莫队算法模板)
    Educational Codeforces Round 25 D
    Codeforces Round #423 Div. 2 C-String Reconstruction(思维)
    HDU3974 Assign the task(多叉树转换为线段+线段树区间染色)
    bzoj 2463: [中山市选2009]谁能赢呢?
  • 原文地址:https://www.cnblogs.com/zym0805/p/2185080.html
Copyright © 2011-2022 走看看