Re: Libtool exports xmalloc symbol

2005-06-25 Thread Nickolay V. Shmyrev
В Птн, 24/06/2005 в 08:51 +0200, Ralf Wildenhues пишет:
> Hi Nickolay,
> 
> * Nickolay V. Shmyrev wrote on Thu, Jun 23, 2005 at 11:15:03PM CEST:
> > On fedora core 4 I can link my library with application using libtool
> > 1.5.16 because I get error about duplication of xmalloc symbol. My
> > library do has xmalloc, and libtool too. 
> 
> Are you talking about libltdl perchance?
> Do you also use dmalloc perchance?
> 
> > I think the function used by libtool internally should be underscored
> > somehow to avoid conflicts with library names.
> 
> I'm sorry, but you need to be more specific about your setup.  Libtool
> does not link in any object which defines xmalloc, unless I'm mistaken.
> 
> Regards,
> Ralf

Sorry, that was my fault. Actually I was linking in two static libraries
and both had xmalloc defined. Second library was external, that is why
occurrence of xmalloc in libtool script had confused me. I have no idea
why there was no exception before.

Thanks for so quick response and sorry once again for taking your time.



___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: Libtool exports xmalloc symbol

2005-06-24 Thread Ralf Wildenhues
Hi Nickolay,

* Nickolay V. Shmyrev wrote on Thu, Jun 23, 2005 at 11:15:03PM CEST:
> On fedora core 4 I can link my library with application using libtool
> 1.5.16 because I get error about duplication of xmalloc symbol. My
> library do has xmalloc, and libtool too. 

Are you talking about libltdl perchance?
Do you also use dmalloc perchance?

> I think the function used by libtool internally should be underscored
> somehow to avoid conflicts with library names.

I'm sorry, but you need to be more specific about your setup.  Libtool
does not link in any object which defines xmalloc, unless I'm mistaken.

Regards,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool