Subject: Re: ghostscript-6.53 compiled error
To: Rui-Xiang Guo <rxg@ms25.url.com.tw>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: tech-pkg
Date: 03/14/2002 12:14:55
On Wed, 27 Feb 2002, Rui-Xiang Guo wrote:
> 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':
> ...
>
What port are you running? Did you try cvs updating your pkgsrc to
current then make clean && make update?
send-pr if you're sure the problem is the package.,
-lava
> Any idea?
> The ghostscript-nox11 with 6.53 is fine.
>
later - | _BonaFide[] = { coder, author, | /~\ The ASCII Ribbon
Brian A. Seklecki | problem solver, scholar, BOFH, | \ / Campaign Against
| vegetarian, runner, NetBSD | X Exchange, Outlook
| advocate, spiritual machine }; | / \ & HTML Email
"There are only two things infinite: The universe, and human stupidity. And I'm not to sure about the first one." -Albert Einstein