[GRASS-dev] Compilation error on grass7-svn
Pierre Roudier
pierre.roudier at gmail.com
Mon Mar 21 01:13:15 EDT 2011
Hi list,
I got the following error when compiling against the last update of
the grass7 trunk:
gcc -g -fPIC
-I/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include
-I/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grasslibs"\"
-I/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include
-I/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include -o
OBJ.x86_64-unknown-linux-gnu/strings.o -c strings.c
strings.c:136: error: conflicting types for ‘G_str_replace’
/usr/local/src/grass_trunk/dist.x86_64-unknown-linux-gnu/include/grass/gisdefs.h:580:
note: previous declaration of ‘G_str_replace’ was here
strings.c: In function ‘G_str_replace’:
strings.c:160: warning: assignment discards qualifiers from pointer target type
strings.c:182: warning: assignment discards qualifiers from pointer target type
make: *** [OBJ.x86_64-unknown-linux-gnu/strings.o] Error 1
Any suggestions?
Cheers,
Pierre
--
Scientist
Landcare Research, New Zealand
More information about the grass-dev
mailing list