[GRASS-user] r.streams not compiling for GRASS 70
Markus Neteler
neteler at osgeo.org
Fri Feb 25 17:09:36 EST 2011
On Fri, Feb 25, 2011 at 9:41 PM, Stephen Sefick <ssefick at gmail.com> wrote:
>
> 1. file from add-ons moved over to grass70 source tree in raster folder
Not needed, you can compile directly from grass-addons/:
cd grass-addons/grass7/raster/r.stream/r.stream.snap/
make MODULE_TOPDIR=$HOME/grass70/
if needed:
make MODULE_TOPDIR=$HOME/grass70/ install
to clean:
make MODULE_TOPDIR=$HOME/grass70/ clean
...
> Assembler messages:
> Fatal error: can't create OBJ.x86_64-unknown-linux-gnu/io.o: No such
> file or directory
> make[1]: *** [OBJ.x86_64-unknown-linux-gnu/io.o] Error 1
> make[1]: Leaving directory
> `/home/ssefick/source/grass/trunk/raster/r.stream/r.stream.snap'
This error I don't get. I am using
gcc version 4.4.3 (GCC)
But there are a series of compiler warnings like
main.c:126: warning: implicit declaration of function ‘create_distance_mask’
main.c:127: warning: implicit declaration of function ‘read_points’
main.c:130: warning: implicit declaration of function ‘snap_point’
main.c:132: warning: implicit declaration of function ‘write_points’
which should be fixed.
Markus
More information about the grass-user
mailing list