I am trying to install the DDD-debugger on Fedora Core 3, but i receive errors when trying to make. I have installed all necessary for the debugger (gdb 6.3, lesstif 0.94 and i have also installed X11R6 on my system), but yet I'm not able to pass over the "make" phase.
This information will be compiled into DDD.
If it is not correct, please edit USERINFO and re-compile.
/bin/sh ./config-info ./USERINFO USERINFO > configinfo.C~ && \
mv configinfo.C~ configinfo.C
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c ddd.C
In file included from /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/backward/iostream.h:31,
from strclass.h:412,
from ddd.h:36,
from ddd.C:138:
/usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c++/3.4.2/backward/backward_warning.h:32:2: warning: #warning This file includes 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 include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from ddd.h:36,
from ddd.C:138:
strclass.h:413:23: strstream.h: No such file or directory
In file included from ddd.h:36,
from ddd.C:138:
strclass.h:543: error: expected `)' before '&' token
strclass.h:555: error: declaration of `operator=' as non-function
strclass.h:555: error: expected `;' before '(' token
strclass.h:1049: error: declaration of `operator=' as non-function
strclass.h:1049: error: `ostrstream' was not declared in this scope
strclass.h:1049: error: `os' was not declared in this scope
strclass.h:1050: error: expected `,' or `;' before '{' token
strclass.h:1083: error: expected `)' before '&' token
strclass.h:1083: error: expected `,' or `;' before '&' token
In file included from AsyncAgent.h:60,
from LiterateA.h:65,
from TTYAgent.h:36,
from GDBAgent.h:48,
from Command.h:37,
from DataDisp.h:58,
from ddd.C:185:
Agent.h: In member function `string Agent::name() const':
Agent.h:417: error: `ostrstream' undeclared (first use this function)
Agent.h:417: error: (Each undeclared identifier is reported only once for each function it appears in.)
Agent.h:417: error: expected `;' before "os"
Agent.h:418: error: `os' undeclared (first use this function)
In file included from StringA.h:37,
from GDBAgent.h:53,
from Command.h:37,
from DataDisp.h:58,
from ddd.C:185:
VarArray.h: In member function `virtual void VarArray<T>::add(const T&)':
VarArray.h:56: error: there are no arguments to `value' that depend on a template parameter, so a declaration of `value' must be available
VarArray.h:56: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from GraphNode.h:37,
from Graph.h:38,
from DispGraph.h:43,
from ddd.C:188:
GraphNodeI.h: In member function `virtual string GraphNode::str() const':
GraphNodeI.h:124: error: `ostrstream' undeclared (first use this function)
GraphNodeI.h:124: error: expected `;' before "os"
GraphNodeI.h:125: error: `os' undeclared (first use this function)
ddd.C: In function `int main(int, char**)':
ddd.C:2033: error: `ostrstream' undeclared (first use this function)
ddd.C:2033: error: expected `;' before "messages"
ddd.C:2036: error: `messages' undeclared (first use this function)
ddd.C: In function `void ddd_check_version()':
ddd.C:3247: error: `ostrstream' undeclared (first use this function)
ddd.C:3247: error: expected `;' before "msg"
ddd.C:3248: error: `msg' undeclared (first use this function)
ddd.C: At global scope:
ddd.C:3358: error: `ostrstream' does not name a type
ddd.C:3359: error: `devnull' was not declared in this scope
ddd.C: In function `void init_dddlog()':
ddd.C:3363: error: `devnull' undeclared (first use this function)
ddd.C: In function `bool lock_ddd(_WidgetRec*, LockInfo&)':
ddd.C:3751: error: `ostrstream' undeclared (first use this function)
ddd.C:3751: error: expected `;' before "os"
ddd.C:3752: error: `os' undeclared (first use this function)
ddd.C: In function `void report_languageHP(Agent*, void*, void*)':
ddd.C:5614: error: `ostrstream' undeclared (first use this function)
ddd.C:5614: error: expected `;' before "os"
ddd.C:5615: error: `os' undeclared (first use this function)
ddd.C: In function `void setup_version_info()':
ddd.C:7212: error: `ostrstream' undeclared (first use this function)
ddd.C:7212: error: expected `;' before "os"
ddd.C:7213: error: `os' undeclared (first use this function)
ddd.C: In function `void setup_auto_command_prefix()':
ddd.C:7656: error: `ostrstream' undeclared (first use this function)
ddd.C:7656: error: expected `;' before "key"
ddd.C:7657: error: `key' undeclared (first use this function)
ddd.C: At global scope:
ddd.C:5595: warning: 'std::ostream& operator<<(std::ostream&, ProgramLanguage)' defined but not used
make[1]: *** [ddd.o] Error 1
make[1]: Leaving directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1