[GRASS-dev] grass7 not compiling

Hi,

I can't compile grass7, r49838

Anna

Errors in:
/usr/local/src/trunk/vector/v.rectify

anna@dell-desktop:/usr/local/src/trunk/vector/v.rectify$ make

gcc -g -Wall -Werror-implicit-function-declaration -fno-common
-Wextra -Wunused
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\"
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/main.o -c main.c
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
                 from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
                 from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:30:21:
error: ogr_api.h: No such file or directory
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
                 from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
                 from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:417:
error: expected specifier-qualifier-list before ‘OGRSFDriverH’
main.c: In function ‘main’:
main.c:121: warning: format not a string literal and no format arguments
main.c:123: warning: format not a string literal and no format arguments
main.c:137: warning: format not a string literal and no format arguments
main.c:182: warning: format not a string literal and no format arguments
main.c:208: warning: format not a string literal and no format arguments
main.c:246: warning: format not a string literal and no format arguments
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1

2011/12/19 Anna Kratochvílová <kratochanna@gmail.com>:

Hi,

I can't compile grass7, r49838

Anna

Errors in:
/usr/local/src/trunk/vector/v.rectify

Please try r49839

Markus M

anna@dell-desktop:/usr/local/src/trunk/vector/v.rectify$ make

gcc -g -Wall -Werror-implicit-function-declaration -fno-common
-Wextra -Wunused
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\"
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/main.o -c main.c
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:30:21:
error: ogr_api.h: No such file or directory
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:417:
error: expected specifier-qualifier-list before ‘OGRSFDriverH’
main.c: In function ‘main’:
main.c:121: warning: format not a string literal and no format arguments
main.c:123: warning: format not a string literal and no format arguments
main.c:137: warning: format not a string literal and no format arguments
main.c:182: warning: format not a string literal and no format arguments
main.c:208: warning: format not a string literal and no format arguments
main.c:246: warning: format not a string literal and no format arguments
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

2011/12/19 Markus Metz <markus.metz.giswork@googlemail.com>:

2011/12/19 Anna Kratochvílová <kratochanna@gmail.com>:

Hi,

I can't compile grass7, r49838

Anna

Errors in:
/usr/local/src/trunk/vector/v.rectify

Please try r49839

It works now, thanks

Anna

Markus M

anna@dell-desktop:/usr/local/src/trunk/vector/v.rectify$ make

gcc -g -Wall -Werror-implicit-function-declaration -fno-common
-Wextra -Wunused
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\"
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include
-I/usr/local/src/trunk/dist.i686-pc-linux-gnu/include -o
OBJ.i686-pc-linux-gnu/main.o -c main.c
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:30:21:
error: ogr_api.h: No such file or directory
In file included from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/digit.h:3,
from
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:4,
from main.c:23:
/usr/local/src/trunk/dist.i686-pc-linux-gnu/include/grass/vect/dig_structs.h:417:
error: expected specifier-qualifier-list before ‘OGRSFDriverH’
main.c: In function ‘main’:
main.c:121: warning: format not a string literal and no format arguments
main.c:123: warning: format not a string literal and no format arguments
main.c:137: warning: format not a string literal and no format arguments
main.c:182: warning: format not a string literal and no format arguments
main.c:208: warning: format not a string literal and no format arguments
main.c:246: warning: format not a string literal and no format arguments
make: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev