[GRASSLIST:2429] Re: grass53 compilation

Wolfgang von Hansen wvhansen at web.de
Sun Feb 1 14:08:47 EST 2004


Glynn Clements <glynn.clements at virgin.net> schrieb am 30.01.04 19:43:55:
> 
> 
> Michele wrote:
> 
> > Hi, trying to compile grass53 i get the following errors:
> > 
> >    GRASS GIS source code compiled.
> > 
> >    Compilation error in module: src/raster/r.in.gdal (ignored)
> >    Compilation error in module: src.contrib/GMSL/g3d (ignored)
> >    Compilation error in module: src.contrib/DUKE/r.terraflow (ignored)
> > 
> > is it due to the compiler version as the problem in grass57?
> > is it possible fom me to fix this changing  few parameters in the sources?
> 
> It's hard to say without seeing the actual error messages from "make".

I also get an error for src.contrib/GMSL/g3d. My system runs SuSE 8.2 with gcc 3.3.

> gmake53 
  SRC     = /usr/local/src/grass/src
  CMD     = /usr/local/src/grass/src/CMD
  UNUSED  = /usr/local/src/grass/unused
  HEADER  = head.i586-pc-linux-gnu
  ARCH    = i586-pc-linux-gnu
  GISBASE = /usr/local/src/grass/dist.i586-pc-linux-gnu
  VERSION = 5.3-cvs 2003 
#################
/usr/local/src/grass/src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL
  make -f OBJ.i586-pc-linux-gnu/make.rules 

gcc -I/usr/local/src/grass/src/include -march=i586 -O2   -I/usr/local/src/grass/src/libes/dspf -I/usr/local/src/grass/src/libes/ogsf   -I/usr/X11R6/include   -c main_ogl.c -o OBJ.i586-pc-linux-gnu/main_ogl.o
In file included from main_ogl.c:20:
kns_defines.h:4: error: parse error before "GLXContext"
kns_defines.h:4: warning: no semicolon at end of struct or union
kns_defines.h:13: error: parse error before '}' token
kns_defines.h:13: warning: data definition has no type or storage class
In file included from main_ogl.c:21:
kns_globals.h:11: error: parse error before "MainOGLWindow"
kns_globals.h:11: warning: data definition has no type or storage class
kns_globals.h:12: error: parse error before "ColormapWindow"
kns_globals.h:12: warning: data definition has no type or storage class
main_ogl.c: In function `main':
main_ogl.c:131: warning: passing arg 1 of `G3d_setErrorFun' from incompatible pointer type
make: *** [OBJ.i586-pc-linux-gnu/main_ogl.o] Error 1


Wolfgang
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php




More information about the grass-user mailing list