Hy all,
did anyone try to compile grass on a system with the 2.6 kernel?
Any problem?
Cheers Andrea
--
____________________________________________________________________________
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
University of Trento
Department of Civil and Environmental Engineering
Via Mesiano, 77 - Trento (ITALY)
Andrea Antonello
tel: +393288497722
fax: +390461882672
____________________________________________________________________________
--
____________________________________________________________________________
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
University of Trento
Department of Civil and Environmental Engineering / CUDAM
Via Mesiano, 77 - Trento (ITALY)
Andrea Antonello
tel: +393288497722
fax: +390461882672
email:antonell@ing.unitn.it
____________________________________________________________________________
--
____________________________________________________________________________
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
University of Trento
Department of Civil and Environmental Engineering
Via Mesiano, 77 - Trento (ITALY)
Andrea Antonello
tel: +393288497722
fax: +390461882672
____________________________________________________________________________
--
____________________________________________________________________________
"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
University of Trento
Department of Civil and Environmental Engineering
Via Mesiano, 77 - Trento (ITALY)
Andrea Antonello
tel: +393288497722
fax: +390461882672
____________________________________________________________________________
> > did anyone try to compile grass on a system with the 2.6 kernel?
> > Any problem?
>
> I compiled 5.3 / 5.7 on new SuSe 9.1 with:
>
> kernelversion 2.6
> gcc (GCC) 3.3.3 (SuSE Linux)
>
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.
What's the error?
The only recent r.terraflow change I'm aware of is 'make' -> '$(MAKE)'.
On Mon, 17 May 2004 12:23:37 +1200 Hamish <hamish_nospam@yahoo.com>
wrote:
> > > did anyone try to compile grass on a system with the 2.6 kernel?
> > > Any problem?
> >
> > I compiled 5.3 / 5.7 on new SuSe 9.1 with:
> >
> > kernelversion 2.6
> > gcc (GCC) 3.3.3 (SuSE Linux)
> >
>
> 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.
<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+0x11
): In function `ami_single_temp_name(char*,
char*)':/home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow/IOStre
am/lib/src/ami_stream.cc:63: undefined reference to
`__gxx_personality_v0'./IOStream/lib/libiostream.a(rtimer.o)(.eh_frame+
0x11): In function `rt_sprint_safe(char*,
Rtimer)':/home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow/IOStr
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.terra
flow] Fehler 1
[...]
</excerpt>
The only recent r.terraflow change I'm aware of is 'make' ->
'$(MAKE)'.
This is not making any problems. see above. btw I did never manage to
make r.terraflow to compile.
> > 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.
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
> > > 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?
it is still 2.4.25 with grsec-patch, but my intention of stepping in this
thread was the gcc-3.3.3 thingy...
cd /home/steph/cvs/grass53_cvs/src.contrib/DUKE/r.terraflow
../../../bin.i686-pc-linux-gnu/gmake53
Thats what I exactly did and it results in the error.log.gz-file mentioned
above.
[...]
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
Usually I have a full build-environment installed, so this should not be the
problem. But I will check this later this day.
THanks for the hints!
Cheers
Stephan
--
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl