António Rocha wrote:

> I'm having a few difficulties in compiling modules (e.g. r.example).
> *make -C r.example MODULE_TOPDIR=/usr/local/grass-6.4.0svn/*

> /home/anrr/Desktop/GRASS_dvp/r.example/main.c:108: undefined reference to 
> `Rast_map_type'

You're trying to compile an example written for 7.0 against 6.4.

A lot has changed between 7.0 and 6.x. E.g. all of the raster-specific
functions have been removed from lib/gis and moved to lib/raster, and
renamed from G_* to Rast_*.

The r.example source code is included in the GRASS source tree, in
doc/raster/r.example. The version in the 6.4 source tree should
compile against 6.4.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to