[GRASS-user] Getting error to compile source code of r.watershed using osgeo4w

Markus Metz markus.metz.giswork at googlemail.com
Thu Dec 8 05:00:33 EST 2011


On Wed, Dec 7, 2011 at 8:21 AM, Sandip Maity <sandip.stesalit at gmail.com> wrote:
> Dear Grass user,
>
> I am getting this error at the time of compilation the source code of
> r.watershed.

You should first follow the compile instructions on the wiki [1] and
compile all of GRASS before you compile a single module (which is in
this case not necessary because it is compiled with the rest of
GRASS). Compilation of GRASS must finish successfully without errors.
You should definitively not touch the make system or change some
crucial variables by hand.

Markus M

[1] https://trac.osgeo.org/grass/wiki/CompileOnWindows

>
> Please see the error report.
>
> Administrator at SOFT10
> /c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed
> $ make
> make -C ram || echo
> /c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/ram
>>> /c/OSGeo4W/apps/grass/grass-6.5.svn/error.log
> make[1]: Entering directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/ram'
> ../../../include/Make/Module.make:25: warning: overriding commands for
> target `install'
> ../../../include/Make/Rules.make:90: warning: ignoring old commands
> for target `install'
> makefile:13: warning: overriding commands for target `htmletc'
> ../../../include/Make/Html.make:53: warning: ignoring old commands for
> target `htmletc'
> test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/close_maps.o -c close_maps.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/close_maps2.o -c close_maps2.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/def_basin.o -c def_basin.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/do_astar.o -c do_astar.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/do_cum.o -c do_cum.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/find_pour.o -c find_pour.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_clr_all.o -c flag_clr_all.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_create.o -c flag_create.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_destroy.o -c flag_destroy.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_get.o -c flag_get.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_set.o -c flag_set.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/flag_unset.o -c flag_unset.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/haf_side.o -c haf_side.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/init_vars.o -c init_vars.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/main.o -c main.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/no_stream.o -c no_stream.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/over_cells.o -c over_cells.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/ramseg.o -c ramseg.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sg_factor.o -c sg_factor.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/slope_len.o -c slope_len.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/split_str.o -c split_str.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/usage.o -c usage.c
> gcc -L/c/OSGeo4W/apps/grass/grass-6.5.svn/lib
> -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/lib
> -L/osgeo4w/usr/src/grass6_devel/mswindows/osgeo4w/lib     -o
> /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/r.watershed.ram.exe
> OBJ.i686-pc-mingw32/close_maps.o OBJ.i686-pc-mingw32/close_maps2.o
> OBJ.i686-pc-mingw32/def_basin.o OBJ.i686-pc-mingw32/do_astar.o
> OBJ.i686-pc-mingw32/do_cum.o OBJ.i686-pc-mingw32/find_pour.o
> OBJ.i686-pc-mingw32/flag_clr_all.o OBJ.i686-pc-mingw32/flag_create.o
> OBJ.i686-pc-mingw32/flag_destroy.o OBJ.i686-pc-mingw32/flag_get.o
> OBJ.i686-pc-mingw32/flag_set.o OBJ.i686-pc-mingw32/flag_unset.o
> OBJ.i686-pc-mingw32/haf_side.o OBJ.i686-pc-mingw32/init_vars.o
> OBJ.i686-pc-mingw32/main.o OBJ.i686-pc-mingw32/no_stream.o
> OBJ.i686-pc-mingw32/over_cells.o OBJ.i686-pc-mingw32/ramseg.o
> OBJ.i686-pc-mingw32/sg_factor.o OBJ.i686-pc-mingw32/slope_len.o
> OBJ.i686-pc-mingw32/split_str.o OBJ.i686-pc-mingw32/usage.o
> ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_gis.6.5.svn
> -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32    -lz   -lintl
> -lxdr -liberty -lws2_32    -lz
> gcc.exe: ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o: No such file or directory
> make[1]: *** [/c/OSGeo4W/apps/grass/grass-6.5.svn/etc/r.watershed.ram.exe]
> Error 1
> make[1]: Leaving directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/ram'
> make -C seg || echo
> /c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/seg
>>> /c/OSGeo4W/apps/grass/grass-6.5.svn/error.log
> make[1]: Entering directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/seg'
> ../../../include/Make/Module.make:25: warning: overriding commands for
> target `install'
> ../../../include/Make/Rules.make:90: warning: ignoring old commands
> for target `install'
> makefile:13: warning: overriding commands for target `htmletc'
> ../../../include/Make/Html.make:53: warning: ignoring old commands for
> target `htmletc'
> test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_close.o -c bseg_close.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_get.o -c bseg_get.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_open.o -c bseg_open.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_put.o -c bseg_put.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_read.o -c bseg_read.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/bseg_write.o -c bseg_write.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/close_maps.o -c close_maps.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/close_maps2.o -c close_maps2.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_close.o -c cseg_close.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_get.o -c cseg_get.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_open.o -c cseg_open.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_put.o -c cseg_put.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_read.o -c cseg_read.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/cseg_write.o -c cseg_write.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/def_basin.o -c def_basin.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/do_astar.o -c do_astar.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/do_cum.o -c do_cum.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_close.o -c dseg_close.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_get.o -c dseg_get.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_open.o -c dseg_open.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_put.o -c dseg_put.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_read.o -c dseg_read.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/dseg_write.o -c dseg_write.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/find_pour.o -c find_pour.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/haf_side.o -c haf_side.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/init_vars.o -c init_vars.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/main.o -c main.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/no_stream.o -c no_stream.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/over_cells.o -c over_cells.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sg_factor.o -c sg_factor.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/slope_len.o -c slope_len.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/split_str.o -c split_str.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sseg_close.o -c sseg_close.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sseg_get.o -c sseg_get.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sseg_open.o -c sseg_open.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/sseg_put.o -c sseg_put.c
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/usage.o -c usage.c
> gcc -L/c/OSGeo4W/apps/grass/grass-6.5.svn/lib
> -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/lib
> -L/osgeo4w/usr/src/grass6_devel/mswindows/osgeo4w/lib     -o
> /c/OSGeo4W/apps/grass/grass-6.5.svn/etc/r.watershed.seg.exe
> OBJ.i686-pc-mingw32/bseg_close.o OBJ.i686-pc-mingw32/bseg_get.o
> OBJ.i686-pc-mingw32/bseg_open.o OBJ.i686-pc-mingw32/bseg_put.o
> OBJ.i686-pc-mingw32/bseg_read.o OBJ.i686-pc-mingw32/bseg_write.o
> OBJ.i686-pc-mingw32/close_maps.o OBJ.i686-pc-mingw32/close_maps2.o
> OBJ.i686-pc-mingw32/cseg_close.o OBJ.i686-pc-mingw32/cseg_get.o
> OBJ.i686-pc-mingw32/cseg_open.o OBJ.i686-pc-mingw32/cseg_put.o
> OBJ.i686-pc-mingw32/cseg_read.o OBJ.i686-pc-mingw32/cseg_write.o
> OBJ.i686-pc-mingw32/def_basin.o OBJ.i686-pc-mingw32/do_astar.o
> OBJ.i686-pc-mingw32/do_cum.o OBJ.i686-pc-mingw32/dseg_close.o
> OBJ.i686-pc-mingw32/dseg_get.o OBJ.i686-pc-mingw32/dseg_open.o
> OBJ.i686-pc-mingw32/dseg_put.o OBJ.i686-pc-mingw32/dseg_read.o
> OBJ.i686-pc-mingw32/dseg_write.o OBJ.i686-pc-mingw32/find_pour.o
> OBJ.i686-pc-mingw32/haf_side.o OBJ.i686-pc-mingw32/init_vars.o
> OBJ.i686-pc-mingw32/main.o OBJ.i686-pc-mingw32/no_stream.o
> OBJ.i686-pc-mingw32/over_cells.o OBJ.i686-pc-mingw32/sg_factor.o
> OBJ.i686-pc-mingw32/slope_len.o OBJ.i686-pc-mingw32/split_str.o
> OBJ.i686-pc-mingw32/sseg_close.o OBJ.i686-pc-mingw32/sseg_get.o
> OBJ.i686-pc-mingw32/sseg_open.o OBJ.i686-pc-mingw32/sseg_put.o
> OBJ.i686-pc-mingw32/usage.o
> ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_gis.6.5.svn
> -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32    -lz   -lintl
> -lgrass_segment.6.5.svn -lgrass_gis.6.5.svn -lgrass_datetime.6.5.svn
> -lxdr -liberty -lws2_32    -lz   -lintl    -lxdr -liberty -lws2_32
> -lz
> gcc.exe: ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o: No such file or directory
> make[1]: *** [/c/OSGeo4W/apps/grass/grass-6.5.svn/etc/r.watershed.seg.exe]
> Error 1
> make[1]: Leaving directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/seg'
> make -C front || echo
> /c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/front
>>> /c/OSGeo4W/apps/grass/grass-6.5.svn/error.log
> make[1]: Entering directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/front'
> ../../../include/Make/Module.make:25: warning: overriding commands for
> target `install'
> ../../../include/Make/Rules.make:90: warning: ignoring old commands
> for target `install'
> test -d OBJ.i686-pc-mingw32 || mkdir -p OBJ.i686-pc-mingw32
> gcc -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -I/c/OSGeo4W/include
> -g -O2  -I/c/OSGeo4W/include     -DPACKAGE=\""grassmods"\"
> -I/c/OSGeo4W/apps/grass/grass-6.5.svn/include -o
> OBJ.i686-pc-mingw32/main.o -c main.c
> gcc -L/c/OSGeo4W/apps/grass/grass-6.5.svn/lib
> -Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/c/OSGeo4W/lib
> -L/osgeo4w/usr/src/grass6_devel/mswindows/osgeo4w/lib     -o
> /c/OSGeo4W/apps/grass/grass-6.5.svn/bin/r.watershed.exe
> OBJ.i686-pc-mingw32/main.o
> ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o -lgrass_gis.6.5.svn
> -lgrass_datetime.6.5.svn -lxdr -liberty -lws2_32    -lz   -lintl
> -lxdr -liberty -lws2_32    -lz
> gcc.exe: ../../../lib/gis/OBJ.i686-pc-mingw32/fmode.o: No such file or directory
> make[1]: *** [/c/OSGeo4W/apps/grass/grass-6.5.svn/bin/r.watershed.exe] Error 1
> make[1]: Leaving directory
> `/c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed/front'
>
> Administrator at SOFT10
> /c/osgeo4w/usr/src/grass-6.5.svn_src_snapshot_2011_12_03/raster/r.watershed
> $
>
> I cant resolve the issues and also not understanding the error also.
>
> please help me to solve this.
>
> regards.
>
> Sandip
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list