Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 May 2006 01:44 PM by  casner
WinCE50 and EVC++ compiling debug version of application
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
casner
New Member
New Member
Posts:


--
26 Aug 2005 09:25 AM
    I'm trying to make a debug version of my application. When I compile I get the following warnings:

    Linking...
    corelibc.lib(pegdmain.obj) : warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info
    corelibc.lib(dllmain.obj) : warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info
    corelibc.lib(crt0dat.obj) : warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info
    corelibc.lib(crt0init.obj) : warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info
    Creating browse info file...


    How can the debugging information in the Microsoft installed libraries become corrupt? How can I fix this?
    casner
    New Member
    New Member
    Posts:


    --
    26 Aug 2005 10:03 AM
    Also, when I compile even the non-debug version of the OS, I get errors like:

    BUILD: [01:0000000342:WARNN ] kitl_stub.obj : warning LNK4204: 'c:\wince500\platform\loce\target\armv4i\retail\kern.pdb' is missing debugging information for referencing module; linking object as if no debug info
    BUILD: [01:0000000445:WARNN ] ceddk.obj : warning LNK4204: 'c:\wince500\platform\loce\target\armv4i\retail\ceddk.pdb' is missing debugging information for referencing module; linking object as if no debug info


    Where has all of this debugging information disappeared to?
    Anonymous
    Posts:


    --
    26 Aug 2005 11:18 AM
    Hi Bruce,

    This is from the release notes for Service Pack 4 for eVC++:

    5.14 Warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info" when build project for Windows CE 5.0


    Install the Windows CE 5.0 Universal SDK and create a Windows CE Applications using eVC 4.0 SP4. The following warning is displayed

    "warning LNK4209: debugging information corrupt; recompile module; linking object as if no debug info"

    This is a known issue and no workaround is available at the time of releasing SP4.

    This is from "Help" in eVC++:

    LNK4204

    "filename" is missing debugging information for referencing module;
    linking object as if no debug info

    The .pdb file has an erroneous signature. The linker will continue to link the object without debug information. You may want to recompile the object file using the /Zi option.

    Under Platform | Settings are you linking to the correct libraries?

    Thanks,
    casner
    New Member
    New Member
    Posts:


    --
    26 Aug 2005 02:05 PM
    The LNK4204 error I was receiving in Platform Builder. You asked:

    Under Platform | Settings are you linking to the correct libraries?

    I looked under Platform | Settings, and I didn't see libraries to link to - is there something I didn't see?
    Anonymous
    Posts:


    --
    26 Aug 2005 02:27 PM
    Bruce,

    From the subject I was under the impression that you were seeing LNK 4204 in eVC++, however the definition for the error is the same in Platform Builder as well.
    casner
    New Member
    New Member
    Posts:


    --
    25 May 2006 12:51 PM
    It appears that some of the .obj files in the BSP from Logic don't have debug options compiled in. For example, ceddk has this problem. Most of the OAL does seem to have debug information; just a few modules don't. Any chance of the non-debug compiled versions having debug versions available?
    Anonymous
    Posts:


    --
    25 May 2006 12:53 PM
    Can you be more specific about which areas you're looking at?
    casner
    New Member
    New Member
    Posts:


    --
    25 May 2006 01:44 PM
    Trying to create a debug version of the 404 in platform builder. It compiles, but gives warnings that some of the BSP provided object modules are not compiled for debug. For example, ceddk.obj is one.

    This is a pretty deep module, and maybe shouldn't be created with debug information. But if so, I wonder if there is a way to create a version with no debug functions internally but that at least is compiled for debug so the linking function works without warnings.

    BUILD: [00:0000000626:PROGC ] Linking \WINCE500\PLATFORM\LoCE\src\kernel\kernkitl\ directory.
    BUILD: [01:0000000634:PROGC ] Linking C:\WINCE500\platform\LoCE\target\ARMV4I\debug\kernkitl.exe
    BUILD: [00:0000000654:PROGC ] Linking \WINCE500\PLATFORM\LoCE\src\kernel\kernkitlprof\ directory.
    BUILD: [01:0000000662:PROGC ] Linking C:\WINCE500\platform\LoCE\target\ARMV4I\debug\kernkitlprof.exe
    BUILD: [00:0000000682:PROGC ] Linking \WINCE500\PLATFORM\LoCE\src\drivers\ceddk\dll\ directory.
    BUILD: [01:0000000690:PROGC ] Linking C:\WINCE500\platform\LoCE\target\ARMV4I\debug\ceddk.dll
    BUILD: [01:0000000709:WARNN ] ceddk.obj : warning LNK4204: 'c:\wince500\platform\loce\target\armv4i\debug\ceddk.pdb' is missing debugging information for referencing module; linking object as if no debug info
    You are not authorized to post a reply.