Re: error compiling popt in ORBit



On Thu, 16 Dec 1999, Erik Walthinsen wrote:

> On Thu, 16 Dec 1999, Elliot Lee wrote:
> 
> > .al is for libtool convenience libraries. There is nothing wrong with it.
> 
> It is?  Not according to the docs and libtool itself.  Convenience
> libraries end in .la, for Libtool Archive.  .al doesn't show up in
> /usr/bin/libtool at all, nor auto*.  If I'm looking in the wrong place,
> please correct me, but I've never seen .al used anywhere.

Well, for the hell of it, I tried just doing a "make clean" "make" in popt
all by itself:  compiled cleanly, and I'm now I'm 

FWIW, here's the output from that:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -Wall -g -O2 -c test1.c
/bin/sh ./libtool --mode=link gcc  -Wall -g -O2  -o test1 -all-static
test1.o libpopt.la 
gcc -Wall -g -O2 -o test1 -static test1.o .libs/libpopt.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.    -Wall -g -O2 -c test2.c
/bin/sh ./libtool --mode=link gcc  -Wall -g -O2  -o test2 -all-static
test2.o libpopt.la 

This time it's "la", as oppossed to "al", as it was below:

gcc -Wall -g -O2 -o test1 -static test1.o .libs/libpopt.al
.libs/libpopt.al: could not read symbols: Archive has no index; run ranlib
to add one
collect2: ld returned 1 exit status

Something's wrong somewhere.

wfms



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]