[GRASS-dev] 7.svn fails to build from source
Hamish
hamish_b at yahoo.com
Sun Jul 19 21:36:34 EDT 2009
Hi,
currently I can't compile GRASS 7.svn on two different machines, fails
in two different ways:
Debian/Lenny on 64bit:
----------------------
many/most modules fail to build with:
[...]
main.c:45: undefined reference to `G_add_keyword'
it seems to be there in gisdefs.h ..... ??
Debian/Etch on 32bit:
---------------------
lib/vector/diglib fails with:
gcc -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include -ggdb -march=pentium4 -Wall -Werror-implicit-function-declaration -fPIC -I/usr/include/gdal -I/usr/include -DPACKAGE=\""grasslibs"\" -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include -I/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-gnu/allocation.o -c allocation.c
In file included from allocation.c:21:
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:474: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:475: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:476: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/local/src/grass/svn/trunk/dist.i686-pc-linux-gnu/include/grass/vector.h:478: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [OBJ.i686-pc-linux-gnu/allocation.o] Error 1
?
thanks,
Hamish
More information about the grass-dev
mailing list