Subject: ghostscript-6.53 compiled error
To: None <tech-pkg@netbsd.org>
From: Rui-Xiang Guo <rxg@ms25.url.com.tw>
List: tech-pkg
Date: 02/27/2002 12:58:13
Hi, all
when I try to compile ghostscript-6.53 with X support,
I get these error:
===> Building for ghostscript-6.53
./object/echogs -w ./object/ldt.tr -n - gcc -L/home/rxg/mypkgsrc/mypkg/ghostscript/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -o ./bin/gs
./object/echogs -a ./object/ldt.tr -n -s ./object/gs.o -s
cat ./object/ld.tr >>./object/ldt.tr
./object/echogs -a ./object/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 <./object/ldt.tr
./object/gdevx.o: In function `x_sync':
./object/gdevx.o(.text+0xbb): undefined reference to `XSync'
./object/gdevx.o: In function `gdev_x_send_event':
./object/gdevx.o(.text+0x118): undefined reference to `XSendEvent'
./object/gdevx.o: In function `x_output_page':
./object/gdevx.o(.text+0x161): undefined reference to `XNextEvent'
./object/gdevx.o(.text+0x177): undefined reference to `XNextEvent'
./object/gdevx.o: In function `x_fill_rectangle':
...

Any idea?
The ghostscript-nox11 with 6.53 is fine.