ddd
[Top][All Lists]
Advanced

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

compiling DDD with gcc 3.2.2 and gdb 5.3


From: Eusebio
Subject: compiling DDD with gcc 3.2.2 and gdb 5.3
Date: Mon, 19 May 2003 20:55:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

Dear DDD Gurus,

I'm trying unsuccessfully to compile DDD on a system with slackware 9.0 (gcc 3.2.2 and gdb 5.3).

The ./configure seems to work fine but the make command ended with the message enclosed below.

Could you help me for resolving this problem?

Thanks in advance!

Best Regards
Eusebio Stucchi

Making all in readline
make[1]: Entering directory `/usr/local/ddd-3.3.1/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O bind.c
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O terminal.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O nls.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O xmalloc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/include -DRL_LIBRARY_VERSION='"4.0"' -g -O shell.c
rm -f tilde.o
gcc -c -DHAVE_CONFIG_H -I. -I. -I/usr/local/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 `/usr/local/ddd-3.3.1/readline'
Making all in vsllib
make[1]: Entering directory `/usr/local/ddd-3.3.1/vsllib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/ddd-3.3.1/vsllib'
Making all in themes
make[1]: Entering directory `/usr/local/ddd-3.3.1/themes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/ddd-3.3.1/themes'
Making all in ddd
make[1]: Entering directory `/usr/local/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/local/share/ddd-3.3.1%" | \
sed "address@hidden@%/usr/local/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:

Eusebio <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/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from ddd.h:36,
                from ddd.C:138:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from ddd.h:36,
                from ddd.C:138:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c basename.C c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c compare.C c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c cook.C
In file included from /usr/include/c++/3.2.2/backward/strstream:51,
                from /usr/include/c++/3.2.2/backward/strstream.h:33,
                from cook.C:37:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from cook.h:36,
                from cook.C:41:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c cwd.C
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from cwd.h:37,
                from cwd.C:36:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from cwd.h:37,
                from cwd.C:36:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c glob.C c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c hash.C c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c home.C
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from home.C:37:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from home.C:37:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c isid.C c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c rxclass.C
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from rxclass.C:38:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from rxclass.C:38:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c sigName.C
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from sigName.C:43:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from sigName.C:43:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
c++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/X11R6/include -DNDEBUG -O2 -g -W -Wall -trigraphs -c strclass.C
In file included from /usr/include/c++/3.2.2/backward/iostream.h:31,
                from strclass.h:412,
                from strclass.C:41:
/usr/include/c++/3.2.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 <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
In file included from strclass.C:41:
strclass.h: In member function `string& string::operator=(std::ostrstream&)':
strclass.h:1059: warning: unused variable `const int frozen'
strclass.C: In function `std::istream& operator>>(std::istream&, string&)':
strclass.C:1443: invalid conversion from `int' to `std::_Ios_Iostate'
strclass.C:1443:   initializing argument 1 of `void std::basic_ios<_CharT,
  _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits =
  std::char_traits<char>]'
make[1]: *** [strclass.o] Error 1
make[1]: Leaving directory `/usr/local/ddd-3.3.1/ddd'
make: *** [all-recursive] Error 1



--
___________________________________________

*** PLEASE NOTE THE NEW E-MAIL ADDRESS ***

Eusebio Stucchi
Earth Sciences Department - Geophysics
Via Cicognara 7
20129 Milano, Italy.

ph. (+39_02) 50318480
fax (+39_02) 50318489
e-mail: address@hidden

       ^^^^^^^^^^^^^^^^^^^^^^^^^






reply via email to

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