[GRASS5] Problem compiling Grass5.1 (15/02/2003)

Radim Blazek blazek at itc.it
Wed Feb 19 04:33:32 EST 2003


On Tuesday 18 February 2003 06:27 pm, maurosw at jumpy.it wrote:
> Hi to all,
> I have a problem trying to compile last version of Grass51
> (15/02/2003)... today updated with cvs
> I use this configure parameters:
> gcc 
> -L/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/l
>ib -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include
> -I/home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/dist.i686-pc-linux-gnu/i
>nclude -I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include
> -I/usr/include -I/usr/local/pgsql/include -o
> OBJ.i686-pc-linux-gnu/port_test port_test.c cc1: warning: changing search
> order for system directory "/usr/local/include" cc1: warning:   as it has
> already been specified as a non-system directory cc1: warning: changing
> search order for system directory "/usr/include" cc1: warning:   as it has
> already been specified as a non-system directory In file included from
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/digit.h:3,
> from /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/Vect.h:4,
> from port_test.c:21:
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h
>:180: parse error before "OGRDataSourceH"
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h
>:180: warning: no semicolon at end of struct or union
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h
>:181: warning: data definition has no type or storage class
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h
>:185: parse error before '}' token
> /home/rpms/GRASS/Sept2002/grass51_exp_2003_02_15/include/vect/dig_structs.h
>:194: field `ogr' has incomplete type
> make[3]: ***

I don't know, $(GDALCFLAGS) was missing in compile rules, but it should 
complain: 
   from port_test.c:21:
/amd/ssi0/ssi/blazek/grass51/include/vect/dig_structs.h:25:21: ogr_api.h: No 
such file or directory

You can try to update include/Make/Rules.make and lib/vector/diglib/Makefile
from CVS, but I cannot say if it help.

Radim




More information about the grass-dev mailing list