[GRASS-dev] WinGrass70 compiling error

Helmut Kudrnovsky hellik at web.de
Sat Aug 14 07:38:27 EDT 2010


Hi,

I've tried to compile grass_trunk (r43092) in the osgeo4w-stack on my WinVista32.

There are a lot of compiling errors:

-------------------------Started compilation: Sat Aug 14 10:47:00 GMT 2010--Errors in:/c/osgeo4w/usr/src/grass_trunk/lib/raster/c/osgeo4w/usr/src/grass_trunk/lib/display/c/osgeo4w/usr/src/grass_trunk/lib/cluster/c/osgeo4w/usr/src/grass_trunk/lib/proj[...]
-------------------------
doing make in the first folder:

[syringia at NADA] /c/osgeo4w/usr/src/grass_trunk/lib/raster$ makegcc -I/c/OSGeo4W/apps/gdal-17/include -I/c/OSGeo4W/include -g -O2 -I/c/OSGeo4W/apps/gdal-17/include -I/c/OSGeo4W/include -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1 -DGDAL_DYNAMIC=1 -DPACKAGE=\""grasslibs"\" -I/c/OSGeo4W/include -I/c/OSGeo4W/include -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include -I/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include -o OBJ.i686-pc-mingw32/auto_mask.o -c auto_mask.cIn file included from R.h:3,from auto_mask.c:23:c:/OSGeo4W/include/rpc/types.h:49:1: warning: "FALSE" redefinedIn file included from auto_mask.c:19:c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include/grass/gis.h:53:1: warning: this is the location of the previous definitionIn file included from R.h:3,from auto_mask.c:23:c:/OSGeo4W/include/rpc/types.h:50:1: warning: "TRUE" redefinedIn file included from auto_mask.c:19:c:/osgeo4w/usr/src/grass_trunk/dist.i686-pc-mingw32/include/grass/gis.h:49:1: warning: this is the location of the previous definitionIn file included from R.h:3,from auto_mask.c:23:c:/OSGeo4W/include/rpc/types.h:62:21: warning: extra tokens at end of #ifdef directiveIn file included from c:/OSGeo4W/include/direct.h:22,from c:/OSGeo4W/apps/gdal-17/include/cpl_port.h:133,from c:/OSGeo4W/apps/gdal-17/include/gdal.h:41,from R.h:6,from auto_mask.c:23:c:/OSGeo4W/include/io.h:41: error: redefinition of typedef 'intptr_t'c:/OSGeo4W/apps/gdal-17/include/cpl_config.h:113: error: previous declaration of 'intptr_t' was heremake: *** [OBJ.i686-pc-mingw32/auto_mask.o] Error 1

-------------------------

in r43035 ([http://lists.osgeo.org/pipermail/grass-commit/2010-August/013982.html])
there was a change from using osgeo4w/gdal16 to osgeo4w/gdal17 for grass_trunk compiling in the osgeo4w-stack:

- --with-libs="$OSGEO4W_ROOT_MSYS/apps/gdal-16/lib $OSGEO4W_ROOT_MSYS/lib" \ - --with-includes="$OSGEO4W_ROOT_MSYS/apps/gdal-16/include $OSGEO4W_ROOT_MSYS/include" \ + --with-libs="$OSGEO4W_ROOT_MSYS/apps/gdal-17/lib $OSGEO4W_ROOT_MSYS/lib" \ + --with-includes="$OSGEO4W_ROOT_MSYS/apps/gdal-17/include $OSGEO4W_ROOT_MSYS/include" \ 
maybe the compiling error is related to this change?

AFAIK osgeo4w/gdal17 is in very preliminiary status.

best regards
Helmut
___________________________________________________________
WEB.DE DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für 
nur 19,99 ¿/mtl.!* http://web.de/DSL-Doppel-Flatrate/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1747 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20100814/4311d86d/smime-0001.bin


More information about the grass-dev mailing list