[GRASS-dev] Re: [GRASS GIS] #197: sfd support for r.terraflow
GRASS GIS
trac at osgeo.org
Thu Jul 10 16:47:49 EDT 2008
#197: sfd support for r.terraflow
----------------------+-----------------------------------------------------
Reporter: adanner | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: terraflow r.terraflow
Platform: All | Cpu: All
----------------------+-----------------------------------------------------
Changes (by neteler):
* platform: Unspecified => All
* cpu: Unspecified => All
* milestone: 7.0.0 => 6.4.0
Comment:
Patch backported to 6.4.svn (code is identical) but it fails there with:
{{{
c++ -DELEV_FLOAT -L/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/lib
-Wl,--export-dynamic -L/usr/lib64 -Wl,-rpath-
link,/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/lib -L/usr/lib64
-o /home/neteler/grass64/dist.x86_64-unknown-linux-gnu/bin/r.terraflow
OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o OBJ.x86_64-unknown-linux-
gnu/FLOAT/common.o OBJ.x86_64-unknown-linux-gnu/FLOAT/stats.o OBJ.
x86_64-unknown-linux-gnu/FLOAT/fill.o OBJ.x86_64-unknown-linux-
gnu/FLOAT/types.o OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o OBJ.
x86_64-unknown-linux-gnu/FLOAT/nodata.o OBJ.x86_64-unknown-linux-
gnu/FLOAT/plateau.o OBJ.x86_64-unknown-linux-gnu/FLOAT/direction.o OBJ.
x86_64-unknown-linux-gnu/FLOAT/water.o OBJ.x86_64-unknown-linux-
gnu/FLOAT/filldepr.o OBJ.x86_64-unknown-linux-gnu/FLOAT/grid.o OBJ.
x86_64-unknown-linux-gnu/FLOAT/genericWindow.o OBJ.x86_64-unknown-linux-
gnu/FLOAT/flow.o OBJ.x86_64-unknown-linux-gnu/FLOAT/sweep.o OBJ.x86_64-
unknown-linux-gnu/FLOAT/weightWindow.o -lgrass_gis -lgrass_datetime -lz
-lm \
-lz -liostream
OBJ.x86_64-unknown-linux-gnu/FLOAT/main.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/fill.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-
gnu/FLOAT/fill.o:/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
more undefined references to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)' follow
OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o: In function `im_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/imbuffer.h:84:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/ccforest.o: In function `em_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:440:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:449:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:455:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:462:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-
gnu/FLOAT/ccforest.o:/home/neteler/grass64/raster/r.terraflow/IOStream/include/empq_impl.h:1351:
more undefined references to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)' follow
OBJ.x86_64-unknown-linux-gnu/FLOAT/nodata.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/plateau.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/water.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/water.o: In function `im_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/imbuffer.h:84:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/water.o: In function `em_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:440:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:449:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:455:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:462:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-
gnu/FLOAT/water.o:/home/neteler/grass64/raster/r.terraflow/IOStream/include/empq_impl.h:1351:
more undefined references to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)' follow
OBJ.x86_64-unknown-linux-gnu/FLOAT/flow.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/sweep.o: In function `AMI_STREAM':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/ami_stream.h:203:
undefined reference to `ami_single_temp_name(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, char*)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/sweep.o: In function `im_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/imbuffer.h:84:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-gnu/FLOAT/sweep.o: In function `em_buffer':
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:440:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:449:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:455:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
/home/neteler/grass64/raster/r.terraflow/IOStream/include/embuffer.h:462:
undefined reference to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)'
OBJ.x86_64-unknown-linux-
gnu/FLOAT/sweep.o:/home/neteler/grass64/raster/r.terraflow/IOStream/include/empq_impl.h:437:
more undefined references to `MEMORY_LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)' follow
collect2: ld returned 1 exit status
make: *** [/home/neteler/grass64/dist.x86_64-unknown-linux-
gnu/bin/r.terraflow] Error 1
[neteler at markus ~]$ uname -a
Linux markus 2.6.22.18-laptop-1mdv #1 SMP Mon Feb 11 13:53:01 EST 2008
x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GNU/Linux
[neteler at markus ~]$ gcc -v
Using built-in specs.
Target: x86_64-mandriva-linux-gnu
...
gcc version 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)
}}}
Markus
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/197#comment:12>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list