none
How to resolve 'coredll.def ' and 'nmake.exe' errors? RRS feed

  • Question

  • I am new in platform builder and getting following error after building OS image. I am using PB 5.0 Version.

    C:\WINCE500\PBWorkSpaces\Gulfstream\WINCE500\CSB726_703DK_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\coredll_ALL.lib

    coredll.def : error LNK2001: unresolved external symbol CeSafeCopyMemory

    C:\WINCE500\PBWorkSpaces\Gulfstream\WINCE500\CSB726_703DK_ARMV4I\cesysgen\sdk\lib\ARMV4I\retail\coredll.lib : fatal error LNK1120: 1 unresolved externals

    NMAKE : fatal error U1077: 'link' : return code '0x460'

    Stop.

    NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' : return code '0x2'

    Stop.

    NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' : return code '0x2'

    Stop.

    Thanks

    Anil

    Tuesday, December 7, 2010 5:31 AM

Answers

  • I resolved this error by re-installing platform builder 5.0 with following updates in sequence –

    -       Microsoft® Windows® CE 5.0

    -       Windows CE 5.0 Cumulative Product Update Rollup Package (through 12312009) [WinCEPB50-091231-Product-Update-Rollup-Armv4I.msi]

    -       Windows CE 5.0 Monthly Update (February 2010) [WinCEPB50-100228-2010M02-Armv4I.msi]

    -       [WinCEPB50-101031-2010M10-Armv4I.msi]

     

    Now everything is working fine. Thanks for your help and support.

    Thanks

    Anil

    • Marked as answer by Darandale Anil Tuesday, December 14, 2010 5:20 AM
    Tuesday, December 14, 2010 5:20 AM

All replies

  • Hi, Quick Google search gave me the following URL just check if it could helps you... http://www.eggheadcafe.com/software/aspnet/33873191/error-cant-find-import-2508-in-coredlldll.aspx You can check whether CeSafeCopyMemory is present or not in the coredll library itself by using the following command dumpbin /EXPORTS coredll.dll, also you can open .def file and search for that function. Thank You & Regards, GSR
    Tuesday, December 7, 2010 6:16 AM
  • Have you tried a Clean Sysgen - i.e., make sure "Clean Before Building" is checked and then select Sysgen (or, from command line, "blddemo clean -q")?
    Tom Gensel PTG Systems, LLC
    http://www.ptgsystems.com
    Tuesday, December 7, 2010 7:41 AM
  • Hi GSR & Tom,

    Thanks for reply.  

    GSSR, I have gone through that link and checked the respective file too. CeSafeCopyMemory function there in the file.  

    Tom, I tired "Clean before Building" and "blddemo clean -q" options, but result the same errors. 

    I found that this problem is related to PB update and to resolve this I am searching Platform Builder 5.0 1008 Rollup QFE,s. Please help to find this update.

     Thanks & Regards,

    Anil

    Tuesday, December 7, 2010 9:45 AM
  • You can't find the QFEs for CE5? 

    www.microsoft.com/downloads

    Search on "qfe windows ce 5.0" and that should give you a list.  As of today, the yearly rollup through 12/31/2009 is there, one for each processor type you are using, and monthly updates for February 2010, March 2010, July 2010, September 2010, and October 2010.  You have to install them all, in order by date.

    Paul T.

    Tuesday, December 7, 2010 3:45 PM
  • Here's a link directly to the 2009 Rollup download page - http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5ae5ff14-4d40-4e39-a245-0e94b9debcb7

     


    Tom Gensel PTG Systems, LLC
    http://www.ptgsystems.com
    Tuesday, December 7, 2010 4:54 PM
  • Hi Paul & Tom,

    I have already tried this 2009 and later update but after installing,  I start getting following errors-

                  - coredll.def : error LNK2001: unresolved external symbol CeSafeCopyMemory

                  - NMAKE : fatal error U1077: 'C:\WINCE500\sdk\bin\i386\nmake.exe' : return code '0x2'

    To resolve these errors, I am searching following url 2008 rollup update which is presently not available.

    URL : http://www.microsoft.com/downloads/details.aspx?FamilyID=6dccd9fc-a7ac-4fa3-a9bd-fcc7a83f5311&DisplayLang=en

    Thanks &Regards,

    Anil

    Wednesday, December 8, 2010 6:23 AM
  • The 2009 roll up includes *ALL PREVIOUS* updates.  That is, everything that was released in 2008 as a QFE for CE5 is in that 2009 roll up, too.  You don't and shouldn't try to get individual updates and install them as you're sure to do it in the wrong order.

    As for the source of your problem, the best guess I can make is that you've damaged something in the install.  CeSafeCopyMemory, as you can see by searching for it in the PRIVATE section of the tree, if you have the source installed, is defined in the same file as things like IsAPIReady(), GetVersionEx(), and others that are not, apparently, having link problems.

    Paul T.

    Thursday, December 9, 2010 3:21 PM
  • I resolved this error by re-installing platform builder 5.0 with following updates in sequence –

    -       Microsoft® Windows® CE 5.0

    -       Windows CE 5.0 Cumulative Product Update Rollup Package (through 12312009) [WinCEPB50-091231-Product-Update-Rollup-Armv4I.msi]

    -       Windows CE 5.0 Monthly Update (February 2010) [WinCEPB50-100228-2010M02-Armv4I.msi]

    -       [WinCEPB50-101031-2010M10-Armv4I.msi]

     

    Now everything is working fine. Thanks for your help and support.

    Thanks

    Anil

    • Marked as answer by Darandale Anil Tuesday, December 14, 2010 5:20 AM
    Tuesday, December 14, 2010 5:20 AM