compilation problem

David D Gray ddgray at armadce.demon.co.uk
Sun Apr 30 15:22:20 EDT 2000


Moritz Lennert wrote:
> 
> Hello !
> 
> Trying to compile grass5.0b7 on SuSE 6.3, I got the following error
> message and the compiling stopped. Can anyone help me with this ?
> 
> GISGEN: src/mapdev/v.autocorr - Sun Apr 30 16:33:41 MEST 2000
> #################################################################
> /opt/grasssrc/grass5.0beta/src/mapdev/v.autocorr
>   mkdir OBJ.i586-linux-elf
>   make -f OBJ.i586-linux-elf/make.rules make[1]: Entering directory
> `/opt/grasssrc/grass5.0beta/src/mapdev/v.autocorr' rm -f
> OBJ.i586-linux-elf/main.o gcc -g -O2
> -I/opt/grasssrc/grass5.0beta/src/libes/vect32/Vlib -I/opt/grasssrc/$
> main.c: In function `main': main.c:156: too many arguments to function
> `c_matrix' make[1]: *** [OBJ.i586-linux-elf/main.o] Error 1 make[1]:
> Leaving directory `/opt/grasssrc/grass5.0beta/src/mapdev/v.autocorr'
> GISGEN failure at STEP: src/mapdev/v.autocorr
> make: *** [do-install] Error 1

Hi

This is an error that comes up on most systems with v.autocorr. You
can get it to compile by changeing main.c at line 156 as the error
message says and remmoving the third argument ('c') which is no
longer needed. This will get it to compile at least, but there are
other problems and the module segfaults when run. Hopefully we'll
have a fix in the next few days.

David



More information about the grass-user mailing list