[GRASS5] grass + kernel 2.6

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
____________________________________________________________________________

On Fri, 14 May 2004 14:42:30 +0200
Andrea Antonello <moovida@katamail.com> wrote:

Hy all,
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)

-> no problem

   Otto

Funny, I did the same with the same distribution
but I got various problems on the grass57. :slight_smile:

I will have a closer look on it in the next days.
Thanks for your replay.

Andrea

On Friday 14 May 2004 15:37, Otto Dassau wrote:

On Fri, 14 May 2004 14:42:30 +0200

Andrea Antonello <moovida@katamail.com> wrote:
> Hy all,
> 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)

-> no problem

   Otto

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

--
____________________________________________________________________________
"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
____________________________________________________________________________

Funny, I did the same with the same distribution
but I got various problems on the grass57. :slight_smile:

I will have a closer look on it in the next days.
Thanks for your replay.

Andrea

On Friday 14 May 2004 15:37, Otto Dassau wrote:

On Fri, 14 May 2004 14:42:30 +0200

Andrea Antonello <moovida@katamail.com> wrote:
> Hy all,
> 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)

-> no problem

   Otto

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

--
____________________________________________________________________________
"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
____________________________________________________________________________

Hello Otto,

On Fri, 14 May 2004 15:37:37 +0200 Otto Dassau <otto.dassau@gmx.de>
wrote:

On Fri, 14 May 2004 14:42:30 +0200
Andrea Antonello <moovida@katamail.com> wrote:

> Hy all,
> 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.

cheers
  Stephan

--
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

Did you try on some last CVS update?

I get the following problem:

make[3]: Entering directory
`/home/moovida/grass/grass57_exp_2004_03_20/db/drivers/ogr'
gcc -rdynamic
-L/home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/lib
-o /home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/driver/db/ogr
OBJ.i686-pc-linux-gnu/cursor.o OBJ.i686-pc-linux-gnu/db.o
OBJ.i686-pc-linux-gnu/describe.o OBJ.i686-pc-linux-gnu/driver.o
OBJ.i686-pc-linux-gnu/error.o OBJ.i686-pc-linux-gnu/fetch.o
OBJ.i686-pc-linux-gnu/listtab.o OBJ.i686-pc-linux-gnu/main.o
OBJ.i686-pc-linux-gnu/select.o -lgrass_dbmidriver -lgrass_dbmibase
-lgrass_sqlp -lgrass_dbstubs -lgrass_gis -lgrass_datetime -lz
-lgrass_datetime -L/usr/local/lib -lgdal.1.1 -ltk8.4 -lm -ltcl8.4 -lm \
        -lm -lz
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: /home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/driver/db/ogr:
hidden symbol `__fixunsdfdi'
in /usr/lib/gcc-lib/i586-suse-linux/3.3.3/libgcc.a(_fixunsdfdi.oS) is
referenced by DSO
collect2: ld returned 1 exit status
make[3]: ***
[/home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/driver/db/ogr]
Error 1
make[3]: Leaving directory
`/home/moovida/grass/grass57_exp_2004_03_20/db/drivers/ogr'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory
`/home/moovida/grass/grass57_exp_2004_03_20/db/drivers'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/moovida/grass/grass57_exp_2004_03_20/db'
make: *** [default] Error 1

Any hint?

If Itake that out, and execute make again, the compilation stops on d.path:

make[2]: Entering directory
`/home/moovida/grass/grass57_exp_2004_03_20/display/d.path'
gcc -rdynamic
-L/home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/lib
-o /home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/etc/bin/cmd/d.path
OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/select.o -lgrass_display
-lgrass_raster -lgrass_vect -lgrass_dig2 -lgrass_shape -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase -lpq
-lgrass_dgl -lgrass_dbmiclient -lgrass_dbmibase -lgrass_gis -lgrass_datetime
-lz -lm -lz
/usr/local/lib/libgdal.1.1.so: undefined reference to `operator new
(unsigned)'
/usr/local/lib/libgdal.1.1.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info'
/usr/local/lib/libgdal.1.1.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libgdal.1.1.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libgdal.1.1.so: undefined reference to `_Unwind_Resume'
/usr/local/lib/libgdal.1.1.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libgdal.1.1.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info'
/usr/local/lib/libgdal.1.1.so: undefined reference to `operator delete
(void*)'
/usr/local/lib/libgdal.1.1.so: undefined reference to `__fixunsdfdi'
/usr/local/lib/libgdal.1.1.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libgdal.1.1.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make[2]: ***
[/home/moovida/grass/grass57_exp_2004_03_20/dist.i686-pc-linux-gnu/etc/bin/cmd/d.path]
Error 1
make[2]: Leaving directory
`/home/moovida/grass/grass57_exp_2004_03_20/display/d.path'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory
`/home/moovida/grass/grass57_exp_2004_03_20/display'
make: *** [default] Error 1

Andrea

I compiled 5.3 / 5.7 on new SuSe 9.1 with:

kernelversion 2.6
gcc (GCC) 3.3.3 (SuSE Linux)

-> no problem

   Otto

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

--
____________________________________________________________________________
"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)'.

Hamish

Hello Hamish,

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.

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

<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.

Thanks.

  Stephan

--
Stephan Holl

Check headers for GnuPG Key!
http://www.gdf-hannover.de

> > 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

Hello Hamish,

> > > 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...

> > 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

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