[GRASS5] grass + kernel 2.6

Hamish hamish_nospam at yahoo.com
Mon May 17 23:28:53 EDT 2004


> > > Did you manage to compile r.terraflow on this system as well?!
> > > I did not succeed in compiling r.terraflow with gcc-Version 3.3.3
> > > (Debian 20040401).
> > > 
> > > Perhaps anybody knows a workaround.
> > 
> > FWIW, I'm running Debian/testing with Debian's stock
> > kernel-image-2.4.26+ 'gcc (GCC) 3.3.3 (Debian 20040401)'.
> > r.terraflow compiles fine in both 5.3 and 5.7.
> 
> My kernel is an original kernel from kernel.org and gcc is same as
> yours on debian testing.

2.6 or 2.4?


> > What's the error?
> 
> OK, thanks for asking.
> 
> due the error is a little big, grab it from here:
> 	http://www.gdf-hannover.de/holl/tmp/error.log.gz
> 

cd /home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow
../../../bin.i686-pc-linux-gnu/gmake53

should show you just the r.terraflow error.



> <excerpt>
> [...]
> In function `__tcf_0':
> /usr/include/c++/3.3/iostream:77: undefined reference to
> `std::ios_base::Init::~Init
> [in-charge]()'./IOStream/lib/libiostream.a(ami_stream.o)(.eh_frame+0x
> 11): In function `ami_single_temp_name(char*,
> char*)':/home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow/IOSt
> re am/lib/src/ami_stream.cc:63: undefined reference to
> `__gxx_personality_v0'./IOStream/lib/libiostream.a(rtimer.o)(.eh_fram
> e+ 0x11): In function `rt_sprint_safe(char*,
> Rtimer)':/home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow/IOS
> tr eam/lib/src/rtimer.cc:52: undefined reference to
> `__gxx_personality_v0' collect2: ld returned 1 exit status make: ***
> [/home/steph/cvs/grass53_cvs/dist.i686-pc-linux-gnu/etc/bin/cmd/r.ter
> ra flow] Fehler 1
> [...]
> </excerpt>
> 
> 
...


> btw I did never manage to make r.terraflow to compile.

Maybe you have a missing/corrupt g++ -dev package?

Is the libstdc++5-dev package installed?
libc6-dev ?(!)

fyi, lines 76-78 of /usr/include/c++/3.3/iostream read:
  // For construction of filebuffers for cout, cin, cerr, clog et. al.
  static ios_base::Init __ioinit;
} // namespace std



Hamish




More information about the grass-dev mailing list