[GRASS-dev] [bug #3224] (grass) r.terraflow does not compile (Solaris2.9/Sparc)

Markus Neteler via RT grass-bugs at intevation.de
Tue Oct 3 07:40:59 EDT 2006


Report from Harri:

after a very long time, I managed to get back into compiling GRASS on
Solaris2.9/Sparc.

r.terraflow:

Does not compile, complains about:
"direction.h", line 50: Error: Could not open include file<ostream.h>.

Which in Solaris is <iostream.h> (or <iostream> for standard mode
libraries which use namespaces.) The same goes also for
IOStream/include/empq_impl.h
The test present in both these cases about whether the compiler is GNU 3
with subnumber 1 or larger excludes the new GNU 4 compilers, which is
probably not the intention. It also excludes the Solaris CC, and the
system currently recommends using <iostrem> while <iostrem.h> is not
standard and deprecated.

Then, in the main.cc on line 333:
"main.cc", line 333: Error: The function "ctime_r" must have a
prototype."


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list