Re: problem linking with shared library

2005-10-12 Thread Albert Chin
From: Albert Chin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 12, 2005 2:19 PM > To: Nitesh Soni (NC/TNT) > Cc: 'libtool@gnu.org' > Subject: Re: problem linking with shared library > > > On Wed, Oct 12, 2005 at 01:03:12PM -0500, Nitesh Soni (NC/TNT) wrote: >

RE: problem linking with shared library

2005-10-12 Thread Nitesh Soni (NC/TNT)
rg' Subject: Re: problem linking with shared library On Wed, Oct 12, 2005 at 01:03:12PM -0500, Nitesh Soni (NC/TNT) wrote: > The error linker is giving is: ... libY.so: undefined reference to > 'Z' > > Also, this symbol is not used anywhere in any source code required >

Re: problem linking with shared library

2005-10-12 Thread Albert Chin
om libY.a to determine which one has Z undefined. As you have the source to libY, you can find out why the symbol is undefined. > -Original Message- > From: Albert Chin [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 12, 2005 1:25 PM > To: Nitesh Soni (NC/TNT) > Cc:

RE: problem linking with shared library

2005-10-12 Thread Nitesh Soni (NC/TNT)
c use this symbol) I am using gcc version 3.3.1 ( MontaVista ) building for x86. Thanks -Original Message- From: Albert Chin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 1:25 PM To: Nitesh Soni (NC/TNT) Cc: libtool@gnu.org Subject: Re: problem linking with shared library O

Re: problem linking with shared library

2005-10-12 Thread Albert Chin
On Wed, Oct 12, 2005 at 11:22:42AM -0500, Nitesh Soni (NC/TNT) wrote: > I am trying to build an executable "X" which links with libY. > > I am using libtool to build this library libY; so I have a static > version libY.a and libY.so > > When I link the static version libY.a, i am able to build th

problem linking with shared library

2005-10-12 Thread Nitesh Soni (NC/TNT)
Title: problem linking with shared library Hello all, I am trying to build an executable "X" which links with libY. I am using libtool to build this library libY; so I have a static version libY.a and libY.so When I link the static version libY.a, i am able to build the app