Subject: Re: Problem building graphics/gle
To: Marc Baudoin <babafou@babafou.eu.org>
From: Adam Ciarcinski <adam@albedo.art.pl>
List: tech-pkg
Date: 10/28/2004 16:05:21
Marc,

I have just commit a quick fix for that.  :)

Kind regards,
Adam



On Thu, 28 Oct 2004, Marc Baudoin wrote:

> Date: Thu, 28 Oct 2004 14:11:59 +0200
> From: Marc Baudoin <babafou@babafou.eu.org>
> To: tech-pkg@netbsd.org
> Subject: Problem building graphics/gle
> 
> Hi,
>
> /usr/src/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference t
> o `XShmDetach'
> /usr/src/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference t
> o `XShmCreateImage'
> /usr/src/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference t
> o `XShmPutImage'
> /usr/src/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference t
> o `XShmAttach'
> /usr/src/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined reference t
> o `XShmQueryVersion'
>
> Those XShm functions are in libXext and, obviously, the test
> program isn't linked with it.
>
> Is it a MesaLib or a gle problem?
>
> I manually added
>
> X_EXTRA_LIBS="$X_EXTRA_LIBS -lXext"
>
> to the configure script just before the -lGL test (and now it
> builds OK) but that's probably not the right solution...
>