2009/9/6 Nathan Coulson <[email protected]>: > I received the following error when I was trying to compile GPL > Ghostscripts on my multilib LFS system > > if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ > XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ > FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ > DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ > DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ > DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ > DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ > DEVICE_DEVS_EXTRA= \ > /bin/sh <./obj/../soobj/ldt.tr > /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../x86_64-unknown-linux-gnu/bin/ld: > ./obj/../soobj/gp_unix.o: relocation R_X86_64_32 against `a local > symbol' can not be used when making a shared object; recompile with > -fPIC >
Yeah, I've been using the following sed before I run configure, for my pure64 system: sed -i "s/CFLAGS='/&-fPIC /g" base/unix-dll.mak Originally from cblfs, but altered when the file structure changed in 8.64. ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
