Unrecognized debug symbols in external lib.

Started by frankie, April 29, 2014, 05:31:44 PM

Previous topic - Next topic

frankie

Pelle,
is it possible to change the linker behaviour to treat unknown debug symbols in external libs as warnings instead of errors?
This allows the use of libraries from thirt parties without any correction.
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Pelle

I don't remember the details right now, but I think there may be references by index. If something is removed/ignored, the indexing will off.
At least generally speaking there are warnings when it's possible to recover, but errors when it's not.
/Pelle

frankie

Thanks Pelle,
I'll take a look in 'uuid.lib' from MS known to have such a problem. I would investigate if this comes from specifying a pdb file.
In this case, if could be possible to detect such situation, maybe you can simply skip debug section for that library or object (behave as if no debug was present).
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Pelle

Maybe I can research and add something POLINK, but then I need to know where to look and what to look for. Apparently 'uuid.lib' (any specific version?) - are there others?
/Pelle

frankie

The 'uuid.lib' is the one in the SDK-V7.1.
Linking an exe with debug options give:
Writing debug information
POLINK: fatal error: Unknown kind (0x0) of CodeView symbol in object 'Uuid.Lib(unknwn_i.obj)'.
*** Error code: 1 ***

I was just looking for the member 'unknwn_i.obj', still not find it. Let me a while.
Anyway there are a lot of references to specific pdb files for the other objects in the debug$ section...
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

Vortex

Hi Frankie,

For your information, here you can find Japheth's uuid.lib :

http://japheth.de/WinInc.html

Downloading WinInc, the library can be found in the lib and lib64 folders.
Code it... That's all...

TimoVJL

POLINK: fatal error: Unknown kind (0x1510) of CodeView symbol in object 'windowscodecs.lib(guids.obj)'.
May the source be with you

Pelle

Quote from: frankie on May 03, 2014, 12:35:12 PM
The 'uuid.lib' is the one in the SDK-V7.1.
Linking an exe with debug options give: ...
OK, I will look at it...
/Pelle

Pelle

Quote from: TimoVJL on May 03, 2014, 01:06:21 PM
POLINK: fatal error: Unknown kind (0x1510) of CodeView symbol in object 'windowscodecs.lib(guids.obj)'.
This kind is known to be unknown (i.e. I have seen it before but not understood, so nothing more I can do).
/Pelle