Summary: | Cannot build shared library on Solaris | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Alex Cherepanov <alex> |
Component: | Build Process | Assignee: | Jack Moffitt <jack> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.00 | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Customer: | Word Size: | --- |
Description
Alex Cherepanov
2003-04-28 18:19:17 UTC
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'
|