[GRASSLIST:1056] r.terraflow compile problem

SWlab swlab at cornell.edu
Wed Aug 27 15:49:47 EDT 2003


Hello,
I just tried to recompile the 08/23 CVS version of GRASS, on a i386/SuSE8.2 
machine. Everything's fine besides d.text.freetype (I guess I have a pb with 
freetype, but negligble) and r.terraflow. You'll find the error message 
below.

I compiled r.terraflow without pb on my previous box, a SuSE7.1. I had to 
reinstall 8.2 from scratch, and I may miss some libraries, but which one ?

Any idea and comment particularly welcomed
Thanks in advance
P.


#####################################

make[1]: *** [OBJ.i686-pc-linux-gnu/main.o] Error 1
In file included from /usr/include/g++/backward/iostream.h:31,
                 from IOStream/include/ami_stream.h:54,
                 from IOStream/include/ami.h:49,
                 from common.h:47,
                 from main.cc:56:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning This file 
includes at least one deprecated or antiquate
d header. Please consider using one of the 32 headers found in section 
17.4.1.2 of the C++ standard. Examples include substi
tuting the <X> header for the <X.h> header for C++ includes, or <sstream> 
instead of the deprecated header <strstream.h>. To
 disable this warning use -Wno-deprecated.
In file included from IOStream/include/ami.h:49,
                 from common.h:47,
                 from main.cc:56:
IOStream/include/ami_stream.h:248: error: default argument given for parameter
   2 of `AMI_STREAM<T>::AMI_STREAM(const char*, AMI_stream_type =
   AMI_READ_WRITE_STREAM)'
IOStream/include/ami_stream.h:147: error: after previous specification in `
   AMI_STREAM<T>::AMI_STREAM(const char*, AMI_stream_type =
   AMI_READ_WRITE_STREAM)'
IOStream/include/ami_stream.h:409: error: default argument given for parameter
   2 of `AMI_err AMI_STREAM<T>::main_memory_usage(size_t*, MM_stream_usage =
   MM_STREAM_USAGE_OVERHEAD)'
IOStream/include/ami_stream.h:176: error: after previous specification in `
   AMI_err AMI_STREAM<T>::main_memory_usage(size_t*, MM_stream_usage =
   MM_STREAM_USAGE_OVERHEAD)'
In file included from IOStream/include/empq.h:54,
                 from IOStream/include/empq_impl.h:45,
                 from IOStream/include/ami.h:61,
                 from common.h:47,
                 from main.cc:56:
IOStream/include/embuffer.h:1140: error: default argument given for parameter 
2  of `long int em_buffer<T, Key>::insert(AMI_STREAM<T>*, long int = 0)'
IOStream/include/embuffer.h:388: error: after previous specification in `long
   int em_buffer<T, Key>::insert(AMI_STREAM<T>*, long int = 0)'
In file included from IOStream/include/empq.h:56,
                 from IOStream/include/empq_impl.h:45,
                 from IOStream/include/ami.h:61,
                 from common.h:47,
                 from main.cc:56:
IOStream/include/minmaxheap.h:48:23: strstream.h: No such file or directory
In file included from plateau.h:51,
                 from water.h:52,
                 from fill.h:46,
                 from main.cc:57:
direction.h: In member function `void directionWindow::correctDirection(short
   int, short int, int, short int, short int, float, short int, float)':
direction.h:139: error: `form' undeclared (first use this function)
direction.h:139: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
In file included from fill.h:46,
                 from main.cc:57:
water.h: At global scope:
water.h:63: error: friend declaration requires class-key, i.e. `friend struct
   labelElevTypePrintLabel'
water.h:120: error: friend declaration requires class-key, i.e. `friend struct
   waterCmpBoundaryType'
[...]

-- 
Soil & Water Laboratory
Dept. of Biological & Environmental Engineering
Cornell University
ITHACA, NY 14853
Tel: 255.2463




More information about the grass-user mailing list