[GRASS5] FreeBSD compile problems
Markus Neteler
neteler at geog.uni-hannover.de
Wed May 17 11:29:41 EDT 2000
Hi Eduardo,
On Wed, May 17, 2000 at 11:30:39AM -0300, Eduardo B. Fonseca wrote:
> Hello Guys,
>
> I'm trying to compile Grass5 on a FreeBSD-3.4 system... Markus already
> pointed me to the libncurses problem, but I'm still getting some compile
> errors... check it out:
>
> GISGEN: src/mapdev/v.autocorr - Wed May 17 11:25:26 EST 2000
I fear you do not have the latest version... :-)
> #################################################################
> /3/gis/grass5.0beta/src/mapdev/v.autocorr
> mkdir OBJ.i386-unknown-freebsd3.4
> make -f OBJ.i386-unknown-freebsd3.4/make.rules
>
> rm -f OBJ.i386-unknown-freebsd3.4/main.o
> gcc -g -O2 -I/3/gis/grass5.0beta/src/libes/vect32/Vlib -I/3/gis/grass5.0beta/src /libes/vect32/diglib -I/3/gis/grass5.0beta/src/include -c main.c
> main.c: In function `main':
> main.c:156: too many arguments to function `c_matrix'
> *** Error code 1
Edit line 156 (?)
src/mapdev/v.autocorr/main.c:
from
n = c_matrix (&Map, &Plus, c);
to
n = c_matrix (&Map, &Plus);
Then it compiles. Note that the GRASS/CVS version contains further
fixes from David Gray.
Cheers
Markus
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list