[GRASS5] FreeBSD compile problems

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

#################################################################
/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

Stop.
GISGEN failure at STEP: src/mapdev/v.autocorr
*** Error code 1

Stop.
[root@aline grass5.0beta]#

Any ideas?

Thanks!

Eduardo.

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

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... :slight_smile:

#################################################################
/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@geog.uni-hannover.de with
subject 'unsubscribe grass5'

oooopppsss....

I will download the CVS version...

thanks..

Eduardo.

On Wed, 17 May 2000, Markus Neteler wrote:

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... :slight_smile:

> #################################################################
> /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@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'