[GRASSLIST:4532] Re: compiling GRASS 5.7.0

Ulrich Leopold uleopold at science.uva.nl
Thu Oct 14 05:09:42 EDT 2004


On Wed, 2004-10-13 at 20:13, Glynn Clements wrote:
> Ulrich Leopold wrote:
> 
> > Ok, actually the compilation did not finish fine. Here is the output:
> > What went really wrong? And how can I solve this? I would like to
> > compile and install as a user as I do not have any root access.
> 
> > 
> > -----------------------------------------------------------------------
> > 
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/version.h:1:
> > warning: `VERSION_STRING' defined but not used
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/version.h:2:
> > warning: `VERSION_MAJOR' defined but not used
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/version.h:3:
> > warning: `VERSION_MINOR' defined but not used
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/version.h:4:
> > warning: `VERSION_RELEASE' defined but not used
> > null_val.c:341: conflicting types for `G_is_null_value'
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/gisdefs.h:787: previous declaration of `G_is_null_value'
> > null_val.c:367: conflicting types for `G_is_c_null_value'
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/gisdefs.h:788: previous declaration of `G_is_c_null_value'
> > null_val.c:397: conflicting types for `G_is_f_null_value'
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/gisdefs.h:789: previous declaration of `G_is_f_null_value'
> > null_val.c:427: conflicting types for `G_is_d_null_value'
> > /scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/gisdefs.h:790: previous declaration of `G_is_d_null_value'
> > make[2]: *** [OBJ.i686-pc-linux-gnu/null_val.o] Error 1
> 
> Do you have a gisdefs.h file from an older version of GRASS in one of
> the system include directories?

I have gisdefs.h in other places but I excluded them from my PATH. Can
they causing problems? I get the same problems again when compiling.

--------------------------------------------------------------
uleopold at snowdon:~> find / -name gisdefs.h 2> /dev/null
/scratch/usr/local/grass53/include/gisdefs.h
/scratch/usr/local/grass-5.7.cvs/include/gisdefs.h
/scratch/software/GIS/GRASS/grass-5.7.0/include/gisdefs.h
/scratch/software/GIS/GRASS/grass-5.7.0/dist.i686-pc-linux-gnu/include/gisdefs.h
/scratch/software/GIS/GRASS/grass-5.3.0/src/include/gisdefs.h
/scratch/software/GIS/GRASS/grass-5.3.0/src.contrib/SDTS/mapdev/v.in.sdts/gisdef
s.h
/scratch/software/GIS/GRASS/grass57_exp_2004_10_09/include/gisdefs.h
/scratch/software/GIS/GRASS/grass57_exp_2004_10_09/dist.i686-pc-linux-gnu/includ
e/gisdefs.h
/scratch/software/GIS/GRASS/grass53_exp_2004_10_09/src/include/gisdefs.h
/scratch/software/GIS/GRASS/grass53_exp_2004_10_09/src.contrib/SDTS/mapdev/v.in.
sdts/gisdefs.h
/opt/arch/grass5.0.2/grass5/include/gisdefs.h
/opt/arch/grass-5.0.3/grass5/include/gisdefs.h
/opt/linux/grass/grass5/include/gisdefs.h
/opt/linux/grass5.0.2/grass5/include/gisdefs.h
/opt/linux9/grass5.0.2/grass5/include/gisdefs.h
/opt/linux9/grass-5.0.3/grass5/include/gisdefs.h






More information about the grass-user mailing list