This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: Unable to generate static binaries
- To: Pablo Bianucci <pbian at pccp dot com dot ar>
- Subject: Re: Unable to generate static binaries
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Fri, 23 Jun 2000 22:16:58 +0100 (BST)
- CC: gsl-discuss at sourceware dot cygnus dot com
- References: <20000619170826.A21402@pccp.com.ar><14671.46807.186749.344136@localhost><20000620221659.A29124@pccp.com.ar><14673.7521.936001.650492@localhost><20000622005017.A383@pccp.com.ar>
You are right that the some functions are missing from the library
libgsl.a when you build it.
According to the nm output, when you make a library on your system
which includes files with the same name in different directories you
get multiple copies of one .lo file, while I get each .lo file
separately. E.g. for the files block/init.lo, vector/init.lo,
matrix/init.lo you only get the contents of vector/init.lo, repeated
for each occurrence.
I'm cc'ing this to the list in case anyone is familiar with this
behavior of libtool/ar. If that is the correct behavior then we are
going to have a problem with the same filenames occurring in different
directories.
On my system,
bjg|debian> ar --version
GNU ar 2.9.1
Pablo Bianucci writes:
> Hi Brian!
>
> On Wed, Jun 21, 2000 at 08:54:09PM +0100, Brian Gough wrote:
>
> > Can you send me the output of "nm /usr/local/lib/libgsl.a". I will see
> > if it is different from mine here. Thanks.
>
> I am attaching it to this message.
>
> Bye & Good Luck!
>
> Pablo B.
>