You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Massimo Bertacchini <ma...@ecompoint.com> on 2008/08/27 14:52:43 UTC

static link LNK4099

Hi,
I'm linking statically to xerces c++ in debug in Visual Studio 2005 but 
I get a bunch of these warnings:

xerces-c_static_2D.lib(Base64.obj) : warning LNK4099: PDB 'vc80.pdb' was 
not found with 'xerces-c_static_2D.lib' or at '...\debug\vc80.pdb'; 
linking object as if no debug info

I know they are harmless but I really like 0-warning projects because 
new warning and possible problems stand out immediately.
How could I solve them, or perhaps hide them ? The switch /disable:4099 
won't work anymore.

Massimo

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: static link LNK4099

Posted by Massimo Bertacchini <ma...@ecompoint.com>.
Yeah, I'm using the binary distribution. Ok, I suppose the only solution 
is to recompile xerces. Thanks.

Alberto Massari ha scritto:
> Uhm, the folder name lets me believe that you are using the binary 
> distribution, and that you made the change in your project; you 
> should  make the change in the project found in the Xerces source 
> distribution, then recompile Xerces and use the newly built binaries.
>
> Alberto
>
> Massimo Bertacchini wrote:
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: static link LNK4099

Posted by Alberto Massari <am...@datadirect.com>.
Uhm, the folder name lets me believe that you are using the binary 
distribution, and that you made the change in your project; you should  
make the change in the project found in the Xerces source distribution, 
then recompile Xerces and use the newly built binaries.

Alberto

Massimo Bertacchini wrote:
> I changed to "..\xerces-c_2_8_0-x86-windows-vc_8_0\lib\my.pdb" in 
> "C/C++\Output file" and "Linker\Debug" but nothing changed: the 
> warning is exactly the same. Any other idea?
>
> Alberto Massari ha scritto:
>> Usually you can remove them by changing the project to generate the 
>> pdb with a specific name, instead of the default vc80.pdb, and 
>> placing it in the same folder where the lib file is located.
>>
>> Alberto
>>
>> Massimo Bertacchini wrote:
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
>> For additional commands, e-mail: c-dev-help@xerces.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: static link LNK4099

Posted by Massimo Bertacchini <ma...@ecompoint.com>.
I changed to "..\xerces-c_2_8_0-x86-windows-vc_8_0\lib\my.pdb" in 
"C/C++\Output file" and "Linker\Debug" but nothing changed: the warning 
is exactly the same. Any other idea?

Alberto Massari ha scritto:
> Usually you can remove them by changing the project to generate the 
> pdb with a specific name, instead of the default vc80.pdb, and placing 
> it in the same folder where the lib file is located.
>
> Alberto
>
> Massimo Bertacchini wrote:
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: static link LNK4099

Posted by Alberto Massari <am...@datadirect.com>.
Usually you can remove them by changing the project to generate the pdb 
with a specific name, instead of the default vc80.pdb, and placing it in 
the same folder where the lib file is located.

Alberto

Massimo Bertacchini wrote:
> Hi,
> I'm linking statically to xerces c++ in debug in Visual Studio 2005 
> but I get a bunch of these warnings:
>
> xerces-c_static_2D.lib(Base64.obj) : warning LNK4099: PDB 'vc80.pdb' 
> was not found with 'xerces-c_static_2D.lib' or at 
> '...\debug\vc80.pdb'; linking object as if no debug info
>
> I know they are harmless but I really like 0-warning projects because 
> new warning and possible problems stand out immediately.
> How could I solve them, or perhaps hide them ? The switch 
> /disable:4099 won't work anymore.
>
> Massimo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Linking options for creating a dynamic library.

Posted by Paparayudu Pasumarthi <Pa...@aricent.com>.
Hi,

I am not able to build a dynamic library for xerces vxworks-port.
I have object files, and trying to build a library from those obj files.
Could you please help me on this

I have used "ldppc -r" , -share -o, g++ppc -o...etc options.
Not working.

It could be great help if you give your valuable inputs.


Regards

Rayudu Pasumarthi


"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility forloss or damage arising from the use of the information transmitted by this email including damage from virus."

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org