My attempts to build a shared library on Solaris 8 box provided by SourceForge failed. bash-2.03$ ./configure .... bash-2.03$ make so make LDFLAGS=' -fPIC -shared -Wl,-soname,libgs.so.8' GS_XE=./bin/../sobin/libgs.so.8.0 STDIO_IMPLEMENTATION=c DISPLAY_DE V=./obj/../soobj/display.dev BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj PSGENDIR=./obj/../soo bj PSOBJDIR=./obj/../soobj CFLAGS='-O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcas t-qual -Wwrite-strings -fno-builtin -fno-common -DGX_COLOR_INDEX_TYPE="unsigned long long" ' prefix=/home/users/a/al/ale xcher/ghostscript-8.00 ./bin/../sobin/gsc ./bin/../sobin/gsx make: Fatal error: Don't know how to make target `bin/../sobin/gsc' Current working directory /home/users/a/al/alexcher/ghostscript-8.00 *** Error code 1 make: Fatal error: Command failed for target `so'
I tried to bypass the erroneous targets gsc and gsx by removing them from make file, and received the following error (two -o options encountered): <<beginning cut because it's too long...>> builtin -fno-common -DGX_COLOR_INDEX_TYPE="unsigned long long" -DGX_COLOR_INDE TYPE='unsigned long long' -I./obj/../soobj -I./src -o ./obj/../soobj/gconfig. - c ./obj/../soobj/gconfig.c rm -f ./obj/../soobj/gscdefs.c rm - f ./obj/../soobj/gconfig.h cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h cp ./src/gscdef.c ./obj/../soobj/gscdefs.c gcc `cat ./obj/../soobj/cc.tr` - DHAVE_MKSTEMP -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations - Wmissing-prototypes -Wcast-qual -Wwrite-strings -fn builtin -fno-common - DGX_COLOR_INDEX_TYPE="unsigned long long" -DGX_COLOR_INDEX_TYPE='unsigned long long' -I./obj/../soobj -I./src -o ./obj/../soobj/gscdefs. - c ./obj/../soobj/gscdefs.c rm -f ./obj/../soobj/iconfig.c cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h cp ./src/iconf.c ./obj/../soobj/iconfig.c gcc `cat ./obj/../soobj/cc.tr` - DHAVE_MKSTEMP -O2 -fPIC -Wall -Wstrict-prototypes -Wmissing-declarations - Wmissing-prototypes -Wcast-qual -Wwrite-strings -fn builtin -fno-common - DGX_COLOR_INDEX_TYPE="unsigned long long" -DGX_COLOR_INDEX_TYPE='unsigned long long' -I./src -I./obj/../soobj -I./obj/../soobj -I./src - o ./obj/../soobj/iconfig.o -c ./obj/../soobj/iconfig.c ./obj/../soobj/echogs - w ./obj/../soobj/ldt.tr -n - gcc -fPIC -shared -Wl,-sone,libgs.so.8 - o ./bin/../sobin/libgs.so.8.0 ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr - n -s ./obj/../soobj/gs.o -s cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr ./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - - 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= \ /bin/sh <./obj/../soobj/ldt.tr ld: warning: option -o appears more than once, first setting taken ld: fatal: file libgs.so.8: open failed: No such file or directory ld: fatal: File processing errors. No output written to ./bin/../sobin/libgs.s 8.0 collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `sobin/libgs.so.8.0' Current working directory /imdeapi/gssrc/ghostscript-8.00 *** Error code 1 make: Fatal error: Command failed for target `so'
*** This bug has been marked as a duplicate of 686865 ***