[GRASS-dev] GRASS 7 compile error

Markus Neteler neteler at osgeo.org
Sat Jan 16 18:11:37 EST 2010


Hi,

I can no longer compile GRASS 7:

[neteler at north gis]$ make
gcc -I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include  -g
-Wall  -fno-common -mtune=nocona -m64 -minline-all-stringops   -fPIC
-D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grasslibs"\"
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include
-I/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/include -o
OBJ.x86_64-unknown-linux-gnu/spawn.o -c spawn.c
spawn.c: In function ‘parse_argvec’:
spawn.c:719: warning: cast from pointer to integer of different size
spawn.c:722: warning: cast from pointer to integer of different size
spawn.c:728: warning: cast from pointer to integer of different size
spawn.c:729: warning: cast from pointer to integer of different size
spawn.c:735: warning: cast from pointer to integer of different size
spawn.c:742: warning: cast from pointer to integer of different size
spawn.c:743: warning: cast from pointer to integer of different size
spawn.c:744: warning: cast from pointer to integer of different size
spawn.c:772: error: cast specifies array type
spawn.c: In function ‘parse_arglist’:
spawn.c:842: error: invalid use of non-lvalue array
make: *** [OBJ.x86_64-unknown-linux-gnu/spawn.o] Error 1

gcc version 4.4.1 (GCC)

No idea how to fix this... ideas?

Markus


More information about the grass-dev mailing list