Looks like d.grid has been changed so it uses PROJ but the Makefile not
totally updated accordingly. Could you try adding the line
EXTRA_INC = $(PROJINC)
to display/d.grid/Makefile and see if that makes any difference?
Paul
/wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:67: error: syntax error before '*' token /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:68: warning: data definition has no type or storage class /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:72: error: syntax error before "OGRSpatialReferenceH"
Looks like d.grid has been changed so it uses PROJ but the Makefile
not totally updated accordingly. Could you try adding the line
EXTRA_INC = $(PROJINC)
to display/d.grid/Makefile and see if that makes any difference?
Paul
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:67:
> error: syntax error before '*' token
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:68:
> warning: data definition has no type or storage class
> /wall/grass-6.1.cvs_src_snapshot_2005_10_15/include/gprojects.h:72:
> error: syntax error before "OGRSpatialReferenceH"
I tried compiling d.grid yesterday with an older version of gcc and got
a different error. (all sorts of undefined pj_ functions). Adding
$(GPROJLIB) to the LIBES line fixed that. d.where's Makefile uses the
following:
I tried compiling d.grid yesterday with an older version of gcc and got
a different error. (all sorts of undefined pj_ functions). Adding
$(GPROJLIB) to the LIBES line fixed that.