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

Bug#323688: gs-esp: FTBFS: Not using -fPIC to build shared lib.



Package: gs-esp
Version: 8+8.15rc4.dfsg.1-1
Severity: serious

Hi,

Your package is failing to build on atleast amd64 because you
didn't build your library using -fPIC.  I get the following
error:
x86_64-linux-gnu-gcc -shared -Wl,'-soX11.so' ./obj/gdevxalt.o ./obj/gdevx.o ./obj/gdevxcmp.o ./obj/gdevxini.o ./obj/gdevxres.o ./obj/gdevxxf.o ./obj/gdevemap.o ./obj/gsparamx.o -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lX11 -L/usr/X11R6/lib
/usr/bin/ld: ./obj/gdevxcmp.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./obj/gdevxcmp.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [obj/X11.so] Error 1


Kurt





Reply to: