Vlad Cojocaru wrote:
Dear opendx users,
I am trying to use opendx on SuSE 8.1 Linux
After I give: ./configure.csh --prefix=/home/dx and "make"
I receive the following error:
Could somebody help me to fix this problem???
Thanks alot,
vlad
In file included from /usr/include/g++/backward/iostream.h:31,
from GARApplication.h:19,
from GARCommand.C:23:
/usr/include/g++/backward/backward_warning.h:32:2: warning: #warning
This file i ncludes at least one deprecated or
antiquated header. Please consider using one
of the 32 headers found in section 17.4.1.2 of the C++ standard.
Examples includ e substituting 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 -W
no-deprecated.
GARCommand.C: In member function `virtual boolean
GARCommand::doIt(CommandInterface*)':
GARCommand.C:53: `strstream' undeclared (first use this function)
GARCommand.C:53: (Each undeclared identifier is reported only once for each
function it appears in.)
This is because SuSE 8.1 uses gcc3.x (3.2.0?)
You can use an older compiler (gcc 2.95.x)
or dowload the libtool branch from cvs,
where this type of errors (old/nonstandard c++) are fixed.
Alternatively (but I would not suggest this)
you can fix yourself the code:
http://gcc.gnu.org/onlinedocs/libstdc++/27_io/howto.html#5
explains the strstream.h problem.
Regards,
Marco Morandini