On Tue, Jan 18, 2005 at 11:48:26PM +0100, Kurt Roeckx wrote: > Package: perdition > Version: 1.15-4 > Severity: serious > > Hi, > > Your package is failing to build because it's contains > non PIC code. Here is an extraction from the log file: > > gcc -shared .libs/perditiondb_daemon.o .libs/unix_socket.o -ldb > -L/build/buil > dd/perdition-1.15/perdition/db/daemon -lperditiondb_daemon_packet -Wl,-soname > -Wl,libperditiondb_daemon.so.0 -o .libs/libperditiondb_daemon.so.0.0.0 -ldb > -L > /build/buildd/perdition-1.15/perdition/db/daemon -lperditiondb_daemon_packet > /usr/bin/ld: > /build/buildd/perdition-1.15/perdition/db/daemon/libperditiondb_da > emon_packet.a(packet.o): relocation R_PARISC_DPREL21L can not be used when > maki > ng a shared object; recompile with -fPIC > /build/buildd/perdition-1.15/perdition/db/daemon/libperditiondb_daemon_packet.a > : could not read symbols: Bad value > collect2: ld returned 1 exit status > make[5]: *** [libperditiondb_daemon.la] Error 1 > > It's saying that packet.o is build without -fPIC. > > > Please note that static libs need to be build without -fPIC and > shared libs with.
Thanks, I will fix this up. -- Horms -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]