ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unable to install ddd


From: Anca Mitrica
Subject: unable to install ddd
Date: Fri, 08 Jul 2005 16:03:06 +0300

Hello,

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.

I receive the following messages:

Making all in readline
make[1]: Entering directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O bind.c
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O display.c
display.c: In function `rl_character_len':
display.c:1191: warning: comparison is always true due to limited range of data type
rm -f signals.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O terminal.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O nls.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O xmalloc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O shell.c
rm -f tilde.o
gcc -c -DHAVE_CONFIG_H   -I. -I. -I/usr/include -DRL_LIBRARY_VERSION='"4.0"' -g -O tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o nls.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o  tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o  xmalloc.o
test -n "ranlib" && ranlib libhistory.a
make[1]: Leaving directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/readline'
Making all in vsllib
make[1]: Entering directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/vsllib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/vsllib'
Making all in themes
make[1]: Entering directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/themes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/themes'
Making all in ddd
make[1]: Entering directory `/home/amitrica/Desktop/librairies/ddd-3.3.1/ddd'
cat ./host.h.in | \
sed "address@hidden@%i686-pc-linux-gnu%" | \
sed "address@hidden@%i686-pc-linux-gnu%" | \
    cat > host.h~ && mv host.h~ host.h
cat ./root.h.in | \
sed "address@hidden@%/usr/share/ddd-3.3.1%" | \
sed "address@hidden@%/usr/share/ddd%" | \
    cat > root.h~ && mv root.h~ root.h
cat Ddd | cat | \
sed -n -f ./ad2c.sed > Ddd.ad.h~ && mv Ddd.ad.h~ Ddd.ad.h
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include    -DNDEBUG -O2 -g -W -Wall -trigraphs  -c userinfo.C
/bin/sh ./libtool --mode=link c++  -DNDEBUG -O2 -g -W -Wall -trigraphs   -o userinfo  userinfo.o
mkdir .libs
c++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o userinfo userinfo.o
(cat $HOME/.ddd_userinfo 2> /dev/null || \
./userinfo || echo '(unknown)') > USERINFO~ && mv USERINFO~ USERINFO

Please check your name and e-mail address:

root <address@hidden>

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


Can anyone have a clue on this?

Thank you.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]