none
WinCE60R3 - Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup. RRS feed

  • Question

  • I have installed WinCE60R3 + all QFE's.

    I use the BSP from Board Supplier.

    The first build (build <project name>) worked fine. Then i added some features from catalog (WLAN, SW Input Panel)

    And now, i must always clean the project before doing a new build (the warnings count is <= 1000 (file *.lib not found)), otherwise i get the error:

    Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup.  Valid .rel file is required for kernel fixups.

    What can i do ?

    Tuesday, December 7, 2010 10:53 AM

All replies

  • Is there something corrupt ?
    Monday, December 13, 2010 9:02 AM
  • That's not an error message, it's a warning. You need to (re)build the
    component in question to update the .rel file for it to be fixed up
    properly to kernel space. It's no problem if you don't have the updated
    rel file; in that case the module will be relocated at runtime.
     
    If the BSP you are using contains binary components than you won't be
    able to update the rel file.
     

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Monday, December 13, 2010 7:04 PM
    Moderator
  • Ok but on the first build i get about 75 warnings.

    Then i added some items from catalog view and i get the error above (Mismatched time stamp on .rel file ...).

    After a Clean i can build the image, but with about 1000 warnings.

    Now i do always must perform a Clean before building an image... (Does there exists a Switch like in Platform Builder 5 : 'Clean before build' ?)

    Wednesday, December 15, 2010 8:52 AM
  • I tried with a fresh install of WinCE60R3 + QFE's:

    1) sysgen <project> works fine.

    2) Add some items from WinCe catalog (eg WLAN, MediaPlayer)

    3) Error: Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup

    4) Clean <project>

    5) sysgen <project> : Works but with about 900 warnings like:

    BUILD: [00:0000000240:WARNN ] File: C:\WINCE600\platform\common\lib\ARMV4I\retail\<xxx>.lib does not exist (2).

    6) sysgen <project> : Again Error: Mismatched time stamp on .rel file for module nk.exe requesting kernel fixup

    7) Clean <project>

    8) sysgen <project> : Works but with about 1000 warnings like in 5)

     

    I never seen this before on Platform Builder 5.

    Why i always must perform a 'Clean <project>'?

    Monday, December 20, 2010 1:50 PM
  • any hints ?
    Monday, January 10, 2011 2:10 PM
  • Well, I'm working with CE 6.0 R3 daily, and I have never seen this behavior. Are you by any chance using a binary BSP?
    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Monday, January 10, 2011 10:23 PM
    Moderator
  • Yes this is a binary BSP (i do not have sources) - but the first time i do a sysgen, everthing worked fine.
    Tuesday, January 11, 2011 1:15 PM
  • Have you contacted the people who you got the BSP from? I think it is a problem with the way they put together the binary BSP. Maybe you can try and see if you have the same problem with our Topaz binary BSP (download from http://guruce.com/topaz/release/latest). If you do have the same problem then there's something wrong elsewhere.

     

    Are you using a 64 bit OS?

    Are you using Windows 7?

    Are you using UAC?

    Is your tree really in C:\WINCE600 (or in some other location)?

    Do you use any anti virus software?


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Tuesday, January 11, 2011 9:28 PM
    Moderator
  • It seems to work fine with Topaz binary BSP:

    1) sysgen <project> works fine.

    2) Add some items from WinCe catalog (eg WLAN)

    3) sysgen <project> works fine.

     

    >>> Are you using a 64 bit OS?

    No

    >>> Are you using Windows 7?

    No (WinXP)

    >>> Are you using UAC?

    No

    >>> Is your tree really in C:\WINCE600 (or in some other location)?

    Yes

    >>> Do you use any anti virus software?

    No

     

    So i have to do a Clean before Sysgen. Can i automate this (There was a option box in PB5 'Clean before build') ?

     

    Wednesday, January 12, 2011 8:38 AM
  • Yes, the command is blddemo -q clean (you can check this in the build output (first line) as well.

     

    Looks like the Binary BSP you are using is shipped with out of date rel files, or something other is going on. I'd go back to the board manufacturer and get them to fix it if it is a real problem for you.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Thursday, January 13, 2011 10:56 PM
    Moderator
  • Where i can find the .bat used by sysgen for inserting the command (blddemo -q clean) ?

    Friday, January 14, 2011 7:49 AM
  • Why do you want to find a batch file? The command is under the Build
    Menu -> Advanced Build Commands -> Clean Sysgen. By customizing the
    toolbar or the menu (go to Tools -> Customize...) you can drag that
    command (under the "Build" category) to your toolbar or menu. That's the
    way to do it...
     
    In CE7 you can also customize what the actual commands do, but
    unfortunately not in CE6.
     

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Wednesday, January 19, 2011 7:04 AM
    Moderator