[GRASS5] Problem compiling Grass51

Markus Neteler neteler at itc.it
Tue Apr 29 04:34:19 EDT 2003


On Tue, Apr 29, 2003 at 09:49:24AM +0200, maurosw at jumpy.it wrote:
> After "make copymix" (Grass50 cvs updated and Grass51 cvs updated)
> I have this problem:
> 
> gcc -I/home/rpms/GRASS/gdal-1.1.8/ogr/ -g -O2  -Wall  -I/home/rpms/GRASS/gdal-1.1.8/ogr/
> -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/include
>   -I/home/rpms/GRASS/gdal-1.1.8/port -I/home/rpms/GRASS/gdal-1.1.8/core
> -I/home/rpms/GRASS/gdal-1.1.8/ogr -I/home/rpms/GRASS/gdal-1.1.8/ogr/ogrsf_frmts
> -DUSE_GDAL_H  -I/usr/local/pgsql/include/ -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include
> -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/dist.i686-pc-linux-gnu/include
> \
>         -o OBJ.i686-pc-linux-gnu/input2d.o -c input2d.c
> input2d.c:194: conflicting types for `IL_create_bitmask'
> interpf.h:70: previous declaration of `IL_create_bitmask'
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/include/gis.h:36: warning:
> `GRASS_copyright' defined but not used
> make[3]: *** [OBJ.i686-pc-linux-gnu/input2d.o] Error 1
> make[3]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/rst/interp_float'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib/rst'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/rpms/GRASS/Sept2002/grass51_exp_2003_04_26/lib'
> make: *** [default] Error 1

To compile GRASS 5.1 you have to update GRASS 5.0 CVS HEAD as well. We try
to keep 5.1 in sync with the latest 5.0 changes.

Simply run
cvs up -dP
in both source code trees.

 Markus




More information about the grass-dev mailing list