[GRASS-dev] grass7 compilation error

Markus Metz markus.metz.giswork at googlemail.com
Mon Aug 16 04:52:48 EDT 2010


Markus Metz wrote:
> Martin Landa wrote:
>> 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?
>
> Yes. I'll fix it.
>
fixed in r43137

Markus M


More information about the grass-dev mailing list