Subject: Re: gle 3.0.3 fail to compile under current pkgsrc
To: None <current-users@NetBSD.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: current-users
Date: 01/11/2004 10:24:36
--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mark Kirby <mark@coris.org.uk> wrote:

> The relevent part of config .log says:-
>=20
> configure:3075: checking for glGetError in -lGL
> configure:3094: cc -o conftest -O2 -DGLX_GLXEXT_LEGACY
> -I/usr/pkg/include -I/usr/X11R6/include -Wall  -DGLX_GLXEXT_LEGACY
> -I/usr/pkg/include -I/usr/X11R6/include  -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c
> -lGL  -lSM -lICE -lXmu  -L/usr/X11R6/lib -lX11   -lm 1>&5
> /usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so: undefined
> reference to `XShmDetach'
=20
> so i'm guessing the undefined references need to be dealt with?

Exactly.  My guess is that
/usr/pkgsrc/graphics/gle/work/.buildlink/lib/libGL.so doesn't point to
the right libGL.  That is, it probably points to /usr/X11R6/lib/libGL.so
instead of /usr/pkg/lib/libGL.so.  I wouldn't know why that happened,
though.  Are you sure that pkgsrc/graphics/gl* and pkgsrc/graphics/Mesa*
are all up to date?

-Jan

--=20
chown -R us:enemy your_base

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQFAAWq0fFtkr68iakwRAln7AKDM49u/TQgiqK1ueb0ogZ9I8KicIQCeOBab
zOJrOijB8okbc0/83bQUITQ=
=ZDyo
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--