This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Build Errors for Win CE ???Cant makeimg.!!!!

Hello

 

Am getting this error when i try to build the win ce image. before that i got the image up and running. i not made any changes i dont ve an idea how to solve this problem. can anybody solve my issue.

 

Error    1    makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).   

 

Regards

vinoth.

  • The MakeImg phase that is failing consists of merging all your configuration files (bib,reg,dat,db), gather all the files that should be added to the NK.bin and generating the final NK. Errors that happen during this phase are generally access errors to some files. Make sure your platform is detached from Platform Builder, which locks access to NK.bin when it's attached.

    If the error comes from a missing file, then it should be mentioned above in your debug log. In a more general way, look at "WINCE600\Build.log" if you get some more information on your issue.

    Finally, if you recently changed your Anti-Virus make sure it does not restrict access to some files, it happens with some of them (McAffee VirusScan for instance).

  • Now am getting these error . pls tel to get my nk.bin.

     

    BLDDEMO: There were errors building FREON_SAMPLE

  • We will need more information on your issue before we can help you out here. Please post a log of your build for use to see where the problem actually occurs.

  • BUILD: [00:0000001215:PROGC ] Building LIB Pass in C:\WINCE600\PLATFORM\AIS_CLONE\SRC\COMMON\NAND\FMD\BOOT\ directory.
    BUILD: [01:0000001225:PROGC ] Linking C:\WINCE600\platform\AIS_CLONE\lib\ARMV4I\retail\NandFlash_Boot.lib
    BUILD: [01:0000001235:ERRORE] obj\ARMV4I\retail\nand_asm.obj : fatal error LNK1136: invalid or corrupt file
    BUILD: [00:0000001236:PROGC ]                        Files  Warnings  Errors
    BUILD: [00:0000001237:PROGC ] Midl                       0         0       0
    BUILD: [00:0000001238:PROGC ] Message                    0         0       0
    BUILD: [00:0000001239:PROGC ] Precomp Header             0         0       0
    BUILD: [00:0000001240:PROGC ] Resource                   0         0       0
    BUILD: [00:0000001241:PROGC ] MASM                       0         0       0
    BUILD: [00:0000001242:PROGC ] SHASM                      0         0       0
    BUILD: [00:0000001243:PROGC ] ARMASM                     6         0       0
    BUILD: [00:0000001244:PROGC ] MIPSASM                    0         0       0
    BUILD: [00:0000001245:PROGC ] C++                       24         0       0
    BUILD: [00:0000001246:PROGC ] C                         77         0       0
    BUILD: [00:0000001247:PROGC ] Static Libraries           3         0       1
    BUILD: [00:0000001248:PROGC ] Exe's                      0         0       0
    BUILD: [00:0000001249:PROGC ] Dll's                      0         0       0
    BUILD: [00:0000001250:PROGC ] Preprocess deffile         0         0       0
    BUILD: [00:0000001251:PROGC ] Resx                       0         0       0
    BUILD: [00:0000001252:PROGC ] CSharp Compile             0         0       0
    BUILD: [00:0000001253:PROGC ] Other                      0         7       1
    BUILD: [00:0000001254:PROGC ]
    BUILD: [00:0000001255:PROGC ] Total                    110         7       2
    BUILD: [00:0000001256:PROGC ]
    BUILD: [00:0000001257:PROGC ] 7 Warnings,  2 Errors
    BUILD: [00:0000001258:PROGC ] GetSystemTimes (seconds): Idle: 106   Kernel: 123   User: 37  
    BUILD: [00:0000001259:PROGC ] Elapsed  time  (seconds): 40  
    Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
    File names: Build.log Build.wrn Build.err Build.dat
    Sysgening platform C:\WINCE600\platform\AIS_CLONE
    \WINCE600\build.err

    BLDDEMO: There were errors building AISL1v1

    AISL1v1 - 2 error(s), 12 warning(s)
    ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
    12.38 started new

  • It seems that the linker cannot access "NandFlash_Boot.lib" for some reason. Try to rebuild "AIS_CLONE\SRC\COMMON\NAND\FMD\BOOT\" manually, or make a clean sysgen to make sure you don't get the same issue on other libs.

  • Ya thanks for the response. and now i can able to make image.

     

    Regards

    Vinoth,