[GRASS-dev] grass7 compilation error

Martin Landa landa.martin at gmail.com
Mon Aug 16 03:15:43 EDT 2010


Hi,

there is new problem with compiling grass7 on Windows

landa at GEO1 /osgeo4w/usr/src/grass_trunk/raster3d/r3.in.v5d
$ make
gcc -I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include -g -O2
-I/c/OSGeo4W/apps/gdal-16/include -I/c/OSGeo4W/include
-I/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include
-I/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include
-D_FILE_OFFSET_BITS=64 -DLITTLE -DPACKAGE=\""grassmods"\"
-I/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include
-I/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include -o
OBJ.i686-pc-mingw32/v5d.o -c v5d.c
v5d.c: In function `v5dCreateFile':
v5d.c:2342: error: `mode_t' undeclared (first use in this function)
v5d.c:2342: error: (Each undeclared identifier is reported only once
v5d.c:2342: error: for each function it appears in.)
v5d.c:2342: error: syntax error before "mask"
v5d.c:2345: error: `mask' undeclared (first use in this function)
make: *** [OBJ.i686-pc-mingw32/v5d.o] Error 1

Could be related to LFS issue?

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list