[GRASS5] [bug #942] (grass) prequisites for compiling

Glynn Clements glynn.clements at virgin.net
Mon Mar 4 15:05:44 EST 2002


Request Tracker wrote:

> After installing mesa-devel.rpm to obtain the header /GL/gl.h the
> compiling process continues much further, but reports lots of
> undefined references like about MESA funktions, although i have
> installed mesadev-3.4-19:
> 
> During make 
> the compiler exits with following message.
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `get_rgb_colormap':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:492: undefined reference to `glXQueryServerString'
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `Togl_MakeCurrent':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:871: undefined reference to `glXMakeCurrent'
> 
> OBJ.i686-pc-linux-gnu/togl.o: In function `RenderOverlay':
> /home/dietrich/GRASS/sources/grass51/visualization/nviz/src/togl.c:911: undefined reference to `glXMakeCurrent'
> 
> and many more undefined references.
> 
> What went wrong? I couldn't find the missing funktions, which packets
> i have to install? Is it a bug or my installtation problem?

Those functions should be declared in the file GL/glx.h.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-dev mailing list