[GRASS5] Problem compiling Grass51

Paul Kelly paul-grass at stjohnspoint.co.uk
Tue Apr 29 04:20:42 EDT 2003


On Tue, 29 Apr 2003 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
>

You must be using a GRASS 5 CVS version later than Sunday night but
GRASS5.1 earlier than Monday lunchtime---that was when these changes were
made---if you use the latest versions of both it should be fine.

You can always check the grass-commit mailing list at
http://grass.itc.it/pipermail/grass-commit/ to see if recent changes were
made to the 5.0 tree which cause problems for 5.1 when it is copied over
in the 'make mix' stage.

Paul




More information about the grass-dev mailing list