[GRASS-dev] 7.svn fails to build from source
Glynn Clements
glynn at gclements.plus.com
Sun Jul 19 23:57:45 EDT 2009
Hamish wrote:
> 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 ..... ??
Defined in lib/gis/parser.c. This suggests that it's linking against
an old version of the library.
> 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
Don't use --with-geos.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list