Good day I'm having trouble getting Ghostscript to compile the shared libraries using X86_64 multilib system.
the BUILD32 works but when I try to compile Ghostscript on BUILD64, the shared library make. I get the following error contrib/contrib.mak:265: warning: overriding commands for target `obj/hl1250.dev' src/contrib.mak:875: warning: ignoring old commands for target `obj/hl1250.dev' contrib/contrib.mak:268: warning: overriding commands for target `obj/hl1240.dev' src/contrib.mak:878: warning: ignoring old commands for target `obj/hl1240.dev' contrib/contrib.mak:273: warning: overriding commands for target `obj/gdevhl12.o' src/contrib.mak:883: warning: ignoring old commands for target `obj/gdevhl12.o' make LDFLAGS='-L/usr/lib64 -L/usr/X11R7/lib64 -shared -Wl,-soname=libgs.so.8' GS_XE=./bin/../sobin/libgs.so.8.62 STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" ' prefix=/usr ./bin/../sobin/gsc ./bin/../sobin/gsx make[1]: Entering directory `/usr/sources/gnu-ghostscript-8.62.0-64' contrib/contrib.mak:265: warning: overriding commands for target `obj/../soobj/hl1250.dev' src/contrib.mak:875: warning: ignoring old commands for target `obj/../soobj/hl1250.dev' contrib/contrib.mak:268: warning: overriding commands for target `obj/../soobj/hl1240.dev' src/contrib.mak:878: warning: ignoring old commands for target `obj/../soobj/hl1240.dev' contrib/contrib.mak:273: warning: overriding commands for target `obj/../soobj/gdevhl12.o' src/contrib.mak:883: warning: ignoring old commands for target `obj/../soobj/gdevhl12.o' ./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - gcc -m64 -L/usr/lib64 -L/usr/X11R7/lib64 -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62 ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o -s cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -ldl -lm -lstdc++ -L/usr/lib64 -lfontconfig -lm 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/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ./obj/../soobj/gs.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [bin/../sobin/libgs.so.8.62] Error 1 make[1]: Leaving directory `/usr/sources/gnu-ghostscript-8.62.0-64' make: *** [so] Error 2 Can anyone shed some light on the problem tks -- Randy Dach Having fun as usual _______________________________________________ Clfs-support mailing list Clfs-support@lists.cross-lfs.org http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org