[GRASS-user] stream network extraction

landa.martin landa.martin at gmail.com
Thu Sep 24 11:47:04 EDT 2009


Hi,

2009/9/24 annagrass6 <annagrass6 at gmail.com>:
> Hi Markus, hi all,
> I'm trying to compilate the code of r.stream.extract (from addOns) but when
> I run "make" command it gives me this error:
>
> annalisa at annalisa-laptop:~/grass_dev64/raster/r.stream.extract$ sudo make
> test -d OBJ.i686-pc-linux-gnu || mkdir -p OBJ.i686-pc-linux-gnu
> gcc -I/home/annalisa/grass_dev64/dist.i686-pc-linux-gnu/include  -g -Wall
> -I/usr/local/include    -DPACKAGE=\""grassmods"\"
> -I/home/annalisa/grass_dev64/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/close.o -c close.c
> close.c: In function ‘close_streamvect’:
> close.c:33: warning: format not a string literal and no format arguments
> close.c:152: warning: format not a string literal and no format arguments
> close.c:184: warning: format not a string literal and no format arguments
> close.c:210: warning: format not a string literal and no format arguments
> close.c:218: warning: format not a string literal and no format arguments
> close.c:221: error: too few arguments to function ‘Vect_build’
> close.c: In function ‘close_maps’:
> close.c:242: warning: format not a string literal and no format arguments
> make: *** [OBJ.i686-pc-linux-gnu/close.o] Error 1
>
> "close.c:221: error: too few arguments to function ‘Vect_build’"
> Where am I going wrong?

update your GRASS. In r34288 was eliminate non-standard logging
mechanism, currently Vect_build() takes only one argument - pointer to
Map_info structure.

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-user mailing list