pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ghostscript doesn't build on Solaris 10



On Thu, 25 Sep 2008, Ignatios Souvatzis wrote:

./obj/echogs -a ./obj/ldt.tr -n -s ./obj/gs.o -s
cat ./obj/ld.tr >>./obj/ldt.tr
./obj/echogs -a ./obj/ldt.tr -s - -ldl -lm  -lstdc++   -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/ldt.tr
Undefined                       first referenced
symbol                             in file
bmp_map_16m_color_rgb               ./obj/gomni.o
libiconv_close                      ./obj/gdevopvp.o
bmp_map_16m_rgb_color               ./obj/gomni.o
libiconv_open                       ./obj/gdevopvp.o
libiconv                            ./obj/gdevopvp.o
ld: fatal: Symbol referencing errors. No output written to ./bin/gs
collect2: ld returned 1 exit status
gmake: *** [bin/gs] Error 1
*** Error code 2

Stop.
bmake: stopped in /opt/pkgsrc/pkgsrc/print/ghostscript
*** Error code 1

I use the following lines in /etc/mk.conf and can compile ghostscript using Sun Studio 12 for sparc.

# iconv is a system lib on Solaris10
BUILDLINK_RPATHDIRS.iconv= #empty
BUILDLINK_LIBDIRS.iconv= #empty
IS_BUILTIN.iconv=       yes
USE_BUILTIN.iconv=      yes
ICONV_TYPE=             native

Regards,
Uwe


Home | Main Index | Thread Index | Old Index