Hi all:
Trying to build ghostscript8-8.63 and i get this build error.
===> Building for ghostscript8-8.63
/bin/ln -s -f
/usr/ports/print/ghostscript8/work/ghostscript-8.63/epag-3.09/gdevepag.c
/usr/ports/print/ghostscript8/work/ghostscript-8.63/src
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.63/obj
/bin/mkdir -p /usr/ports/print/ghostscript8/work/ghostscript-8.63/bin
gmake LDFLAGS='-L/usr/local/lib -L/usr/local/lib -shared
-Wl,-soname=libgs.so.8' GS_XE=./bin/../sobin/libgs.so.8.63
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
-fno-strict-aliasing -pipe -fPIC -DUPD_SIGNAL=0 -I.
-I/usr/ports/print/ghostscript8/work/ghostscript-8.63/jasper/src/libjasper/include
-I/usr/local/include/libpng -I/usr/local/include -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 long" -O2 -fno-strict-aliasing -pipe
-DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/local/lib/ghostscript/8.63\"'
prefix=/usr/local ./bin/../sobin/gsc ./bin/../sobin/gsx
gmake[1]: Entering directory
`/usr/ports/print/ghostscript8/work/ghostscript-8.63'
./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -L/usr/local/lib
-L/usr/local/lib -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.63
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs0.o
./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -lm -liconv -lstdc++
-L/usr/local/lib -lfontconfig -Wl,-export-dynamic -lpthread -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
./obj/../soobj/gdevl256.o(.text+0x7b0): In function `gs_shared_init':
: multiple definition of `gs_shared_init'
./obj/../soobj/gdevxalt.o(.text+0x1830): first defined here
/usr/bin/ld: Warning: size of symbol `gs_shared_init' changed from 150 in
./obj/../soobj/gdevxalt.o to 38 in ./obj/../soobj/gdevl256.o
./obj/../soobj/gdevvglb.o(.text+0xa10): In function `gs_shared_init':
: multiple definition of `gs_shared_init'
./obj/../soobj/gdevxalt.o(.text+0x1830): first defined here
gmake[1]: *** [bin/../sobin/libgs.so.8.63] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/ghostscript8/work/ghostscript-8.63'
gmake: *** [so] Error 2
*** Error code 2
Stop in /usr/ports/print/ghostscript8.
*** Error code 1
Stop in /usr/ports/print/ghostscript8.
----
Any suggestions on how to solve this ? Is there any known work
around ?
thanks
Saifi.