[GRASS5] [bug #752] (grass) configure: doesn't add -lGL -lGLw
-lGLUT entries in head file (Solaris)
Glynn Clements
glynn.clements at virgin.net
Fri Jun 22 02:02:40 EDT 2001
Markus Neteler wrote:
> > Markus Neteler wrote:
> >
> > > even if the cache is disabled, the libraries won't be added.
> > > Seems to be a coding problem in configure.
> >
> > Yes, but if the caching is disabled, config.log will include the error
> > message(s) from the attempt to compile the test program.
>
> Well, here we are:
> configure:4219: checking for glBegin in -lGL
> configure:4238: gcc -o conftest -g -O2 -lm -L/usr/lib conftest.c -lGL
> 1>&5
> Undefined first referenced
> symbol in file
> XSynchronize /usr/lib/libGL.so
> XShmPutImage /usr/lib/libGL.so
> XDrawPoint /usr/lib/libGL.so
Try adding $X_LIBS to the LDFLAGS setting for GL and GLU (as is
already done for GLw). Around line 880 in configure.in.
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list