[GRASS5] C++ stuff (r.terraflow) doesn't compile on gcc-3.3

Markus Neteler neteler at itc.it
Fri Oct 17 08:16:35 EDT 2003


Hi Buchan,

it seems that some gcc 3.2.2 specific code is inside:

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030313 (Red Hat Linux 3.2.2-10)

locate strstream.h
/usr/include/c++/3.2.2/backward/strstream.h
/usr/include/g++-3/strstream.h

This should be fixed IMHO.

Markus

On Fri, Oct 17, 2003 at 02:01:46PM +0200, Buchan Milne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I am rebuilding my grass57 package on Mandrake cooker now, and I noticed
> that the C++ stuff does not compile on gcc-3.3.1 (the same package
> builds fine on Mandrake 9.1 with gcc-3.2, and the package from 2 weeks
> ago built fine on cooker/gcc-3.3), due to using obsolete headers
> (gcc-3.2 gave warnings I think):
> 
> make[2]: Entering directory
> `/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster/r.terraflow'
[...]
> IOStream/include/minmaxheap.h:48:23: strstream.h: No such file or directory
> make[2]: *** [OBJ.i586-mandrake-linux-gnu/FLOAT/main.o] Error 1
> make[2]: Leaving directory
> `/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster/r.terraflow'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory
> `/home/bgmilne/rpm/BUILD/grass51_exp_2003_10_11/raster'
> make: *** [default] Error 1
> 
> Regards,
> Buchan
> 
> - --
> |--------------Another happy Mandrake Club member--------------|
> Buchan Milne                Mechanical Engineer, Network Manager
> Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
> Stellenbosch Automotive Engineering         http://www.cae.co.za
> GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
> 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQE/j9oprJK6UGDSBKcRAlv9AJ913G0Zj9IEMMIWs7cBhUE9LNnqxQCdExe5
> f3v8UoPW9SA5KYilz5TGIOQ=
> =Zsns
> -----END PGP SIGNATURE-----




More information about the grass-dev mailing list