ddd
[Top][All Lists]
Advanced

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

Re: Failure to compile on Suse SLES 8


From: Cal Erickson
Subject: Re: Failure to compile on Suse SLES 8
Date: Fri, 29 Aug 2003 07:45:50 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2

Kevin,
The C++ compiler on SuSE 8.x is more strict about C++ syntax. It is
strongly suggested that you try using DDD 3.3.7 either from Sourceforge
or the FSF repository. THese building problems have been solved.

Cal Erickson

Kevin Cowley wrote:

Install ddd 3.3.1 source

Run configure

Run Make

Errors as follows

Making all in ddd

make[1]: Entering directory `/trrv3/d1/sandbox/release/src/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 ddd.C

In file included from /usr/include/g++/backward/iostream.h:31,

                 from strclass.h:412,

                 from ddd.h:36,

                 from ddd.C:138:

/usr/include/g++/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:1055: no matching function for call to `std::strstreambuf::frozen()'

strclass.h: In function `string operator+(const string&, const string&)':

strclass.h:1302: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const string&, const subString&)':

strclass.h:1307: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const string&, const char*)':

strclass.h:1312: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const string&, char*)':

strclass.h:1317: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const string&, char)':

strclass.h:1322: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const subString&, const string&)':

strclass.h:1327: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const subString&, const subString&)':

strclass.h:1332: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const subString&, const char*)':

strclass.h:1337: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const subString&, char*)':

strclass.h:1342: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const subString&, char)':

strclass.h:1347: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const char*, const string&)':

strclass.h:1352: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(const char*, const subString&)':

strclass.h:1357: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(char*, const string&)':

strclass.h:1362: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(char*, const subString&)':

strclass.h:1367: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(char, const string&)':

strclass.h:1372: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string operator+(char, const subString&)':

strclass.h:1377: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string reverse(const string&)':

strclass.h:1382: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string upcase(const string&)':

strclass.h:1387: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string downcase(const string&)':

strclass.h:1392: warning: the named return value extension is deprecated,

   please see the documentation for details

strclass.h: In function `string capitalize(const string&)':

strclass.h:1397: warning: the named return value extension is deprecated,

   please see the documentation for details

In file included from ddd.C:182:

AgentM.h: In constructor `AgentManager::AgentManager(void (*)(...))':

AgentM.h:84: invalid conversion from `void (*)(...)' to `void (*)(int)'

AgentM.h:86: invalid conversion from `void (*)(...)' to `void (*)(int)'

ddd.C: In function `int main(int, char**)':

ddd.C:2234: invalid conversion from `void (*)(...)' to `void (*)(int)'

make[1]: *** [ddd.o] Error 1

make[1]: Leaving directory `/trrv3/d1/sandbox/release/src/ddd-3.3.1/ddd'

make: *** [all-recursive] Error 1

The config.log is as follows

This file contains any messages produced by compilers while

running configure, to aid debugging if configure makes a mistake.

configure:703: checking host system type

configure:724: checking target system type

configure:742: checking build system type

configure:769: checking for ddd

configure:826: checking for product name

configure:836: checking for expiration date

configure:855: checking for a BSD compatible install

configure:908: checking whether build environment is sane

configure:946: checking whether make sets ${MAKE}

configure:992: checking for working aclocal

configure:1005: checking for working autoconf

configure:1018: checking for working automake

configure:1031: checking for working autoheader

configure:1044: checking for working makeinfo

configure:1058: checking whether make sets ${MAKE}

configure:1087: checking for gcc

configure:1200: checking whether the C compiler (gcc  ) works

configure:1216: gcc -o conftest    conftest.c  1>&5

configure:1242: checking whether the C compiler (gcc  ) is a cross-compiler

configure:1247: checking whether we are using GNU C

configure:1275: checking whether gcc accepts -g

configure:1307: checking for POSIXized ISC

configure:1331: checking whether the C compiler (gcc) compiles and links a simple C program

configure:1384: checking for c++

configure:1416: checking whether the C++ compiler (c++  ) works

configure:1432: c++ -o conftest    conftest.C  1>&5

configure:1458: checking whether the C++ compiler (c++ ) is a cross-compiler

configure:1463: checking whether we are using GNU C++

configure:1491: checking whether c++ accepts -g

configure:1679: checking whether the C++ compiler (c++) compiles a simple program

configure:3355: checking for tgetent in -lmytinfo

configure:3355: checking for tgetent in -lncurses

configure:3518: checking for xstrerror in -liberty

configure:3561: checking for packages to be configured and built

Kevin Cowley

R&D

Tel: 0118 902 9099 (direct line)

Email: address@hidden

Web: http://www.alchemetrics.co.uk



**************************************************************************************
ALCHEMETRICS LIMITED (ALCHEMETRICS)
Mulberry Park, Fishponds Road, Wokingham, Berkshire, RG41 2GX
Tel: +44 (0) 118 902 9000 Fax: +44 (0) 118 902 9001
This e-mail is confidential and is intended for the use of the addressee only. If you are not the intended recipient, you are hereby notified that you must
not use, copy, disclose, otherwise disseminate or take any action based on
this e-mail or any information herein.
If you receive this transmission in error, please notify the sender
immediately by reply e-mail or by using the contact details above and then
delete this e-mail.
Please note that e-mail may be susceptible to data corruption, interception
and unauthorised amendment. Alchemetrics does not accept any liability for
any such corruption, interception, amendment or the consequences thereof.
**************************************************************************************


------------------------------------------------------------------------

_______________________________________________
Ddd mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/ddd



--
===========================================================================
Cal Erickson                 MontaVista Software Inc.
Linux Consultant             1237 E. Arques Ave.
Phone (408) 328-0304         Sunnyvale CA 94085
Fax   (408) 328-9204         web http://www.mvista.com
===========================================================================





reply via email to

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