Jakis byk w chroocie builidera ?

Andrzej Krzysztofowicz ankry w green.mif.pg.gda.pl
Wto, 15 Paź 2002, 15:48:05 CEST


> 
> On Tue, Oct 15, 2002 at 03:27:08PM +0200, Andrzej Krzysztofowicz wrote:
> > 
> > > Linkowanie libbind.so i tak jest do poprawki.
> > 
> > I pewnie setki innych bibliotek tez ... 
> > Np. 
> > 
> > $ cat >test.c <<EOF
> > > int main() {return 0;}
> > > EOF
> > $ gcc -lrpm test.c
> > /usr/lib/librpm.so: undefined reference to `Fdopen'
> > /usr/lib/librpm.so: undefined reference to `rpmDigestInit'
> > /usr/lib/librpm.so: undefined reference to `Unlink'
> > /usr/lib/librpm.so: undefined reference to `Fopen'
> > /usr/lib/librpm.so: undefined reference to `urlIsURL'
> > /usr/lib/librpm.so: undefined reference to `rpmlogSetMask'
> > /usr/lib/librpm.so: undefined reference to `rpmlog'
> > /usr/lib/librpm.so: undefined reference to `unameToUid'
> > /usr/lib/librpm.so: undefined reference to `Pread'
> > /usr/lib/librpm.so: undefined reference to `Fcntl'
> > /usr/lib/librpm.so: undefined reference to `fdio'
> > /usr/lib/librpm.so: undefined reference to `poptParseArgvString'
                                               ^^^^^^^^^^^^^
> > [...]
> > collect2: ld returned 1 exit status
> > 
> > Czy ten stan rzeczy jest moze celowy ???
> 
> Z -lrpm nie jest tak źle, bo to zawsze się z -lrpmio linkuje i czymś tam
> jeszcze. Ale taki libbind.so pewnie może być zlinkowany z -lpthread lub
> nie. Ogólnie miałoby to sens jeśli dostarczalibyśmy więcej niż jednej
> (binarnie kompatybilnej) wersji pthread. Ale na to się chyba nie
> zanosi...

ciagle jeszcze zostaje popt ...

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry w mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Gdansk University of Technology



Więcej informacji o liście dyskusyjnej pld-devel-pl