[GRASS-dev] compiling grass 7.0 fails

Paulo van Breugel p.vanbreugel at gmail.com
Wed Mar 20 00:35:41 PDT 2013


Hi, I am trying to compile grass 7.0 (revision 55463). I am getting a lot
of errors, with the first folder with error the 'lib/raster3d'

Going there and running make gives me the following:

gcc  -g -O2  -fPIC
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-D_FILE_OFFSET_BITS=64  -DPACKAGE=\""grasslibs"\"
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-I/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include
-o OBJ.x86_64-unknown-linux-gnu/changeprecision.o -c changeprecision.c
changeprecision.c: In function ‘Rast3d_change_precision’:
changeprecision.c:35:5: error: too few arguments to function
‘Rast3d_get_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
                 from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:82:6:
note: declared here
changeprecision.c:36:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
                 from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
changeprecision.c:50:5: error: too few arguments to function
‘Rast3d_set_compression_mode’
In file included from
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/raster3d.h:261:0,
                 from changeprecision.c:5:
/home/paulo/Software/spatial/grass7_trunk/dist.x86_64-unknown-linux-gnu/include/grass/defs/raster3d.h:81:6:
note: declared here
make: *** [OBJ.x86_64-unknown-linux-gnu/changeprecision.o] Error 1

Any ideas?

Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130320/217b8343/attachment.html>


More information about the grass-dev mailing list