[GRASS5] configure-problem on linux and irix

Markus Neteler neteler at geog.uni-hannover.de
Sat Jan 13 04:49:26 EST 2001

Hi again,

On Fri, Jan 12, 2001 at 03:36:32PM -0800, Eric G . Miller wrote:
> On Fri, Jan 12, 2001 at 01:23:38PM +0100, Andreas Lange wrote:
> > Eric G . Miller wrote:
> > > > checking GL/gl.h and GL/GLwMDrawA.h... configure: warning: *** Didn't find GL/GLwMDrawA.h
> > > >  -I/usr/include and
> > > 
> > > See above.
> > > 
> > > > checking for glBegin in -lGL... yes
> > > > checking for gluBeginCurve in -lGLU... yes
> > > > checking for GLwDrawingAreaMakeCurrent in -lGLw... no
> > > > checking for GLwCreateMDrawingArea in -lGLwM... no
> > > 
> As far as the GLw... stuff,  my guess is the LDFLAGS needs $X_PRE_LIBS
> added but I don't know for sure.  It seems most likely that there are
> additional linker flags needed for the library check which are currently
> not being specified.  I just don't know which flags are needed.
Eric, do you have a hit for me on this one
(r.showdspf.opengl compiled fine for the last month, I can't remember that I
changed anything related on my Linux machine):

src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL > gmake5
gcc -s  -o /home/neteler/ggg/dist.i686-pc-linux-gnu/etc/bin/cmd/r3.showdspf
OBJ.i686-pc-linux-gnu/new_init_graphics.o OBJ.i686-pc-linux-gnu/cap_data.o
OBJ.i686-pc-linux-gnu/init_caps.o OBJ.i686-pc-linux-gnu/debugf.o
OBJ.i686-pc-linux-gnu/do_color_ogl.o OBJ.i686-pc-linux-gnu/get_color_ogl.o
OBJ.i686-pc-linux-gnu/draw_cap_ogl.o OBJ.i686-pc-linux-gnu/draw_polys_ogl.o
OBJ.i686-pc-linux-gnu/thresh_array.o OBJ.i686-pc-linux-gnu/make_header.o
OBJ.i686-pc-linux-gnu/r3_data.o OBJ.i686-pc-linux-gnu/r3_find.o
OBJ.i686-pc-linux-gnu/togif.o OBJ.i686-pc-linux-gnu/Ball.o
OBJ.i686-pc-linux-gnu/BallAux.o OBJ.i686-pc-linux-gnu/BallMath.o
OBJ.i686-pc-linux-gnu/main_ogl.o -I/home/neteler/ggg/src/libes/dspf
-I/home/neteler/ggg/src/libes/ogsf -I/usr/include/GL -I/usr/X11R6/include/GL
/home/neteler/ggg/src/libes/LIB.i686-pc-linux-gnu/libgis.a -lGLU -lGL -lGLw
-lXm -lX11 -lXt -lXext  -L/usr/X11R6/lib -L/lib -lm  -lz
OBJ.i686-pc-linux-gnu/new_init_graphics.o: In function 'init_graphics':
undefined reference to 'GLwCreateMDrawingArea'
undefined reference to 'GLwCreateMDrawingArea'

It must have something to do with configure.

(config.cache removed):
checking GL/gl.h and GL/GLwMDrawA.h...  -I/usr/include/GL and -I/usr/X11R6/include/GL
checking for glBegin in -lGL... yes
checking for gluBeginCurve in -lGLU... yes
checking for GLwDrawingAreaMakeCurrent in -lGLw... yes
checking for GLwCreateMDrawingArea in -lGLwM... no

grep GLwCreateMDrawingArea /usr/lib/libGLw.so.3.0 
Übereinstimmungen in Binärdatei /usr/lib/libGLw.so.3.0.
   |-> matches in binary file

So GLwCreateMDrawingArea is there...

Any ideas?


If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'

More information about the grass-dev mailing list