Jakis byk w chroocie builidera ?

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


> 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'
/usr/lib/librpm.so: undefined reference to `Readlink'
/usr/lib/librpm.so: undefined reference to `Glob'
/usr/lib/librpm.so: undefined reference to `Ferror'
/usr/lib/librpm.so: undefined reference to `rpmDumpMacroTable'
/usr/lib/librpm.so: undefined reference to `Chdir'
/usr/lib/librpm.so: undefined reference to `rpmExpand'
/usr/lib/librpm.so: undefined reference to `urlGetFile'
[...]
collect2: ld returned 1 exit status

Czy ten stan rzeczy jest moze celowy ???

-- 
=======================================================================
  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