ddd
[Top][All Lists]
Advanced

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

Re: ddd 3.3.10 problem


From: Andrew Gaylard
Subject: Re: ddd 3.3.10 problem
Date: Wed, 20 Jul 2005 08:44:04 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114

Hirsch, Elliot - ACD wrote:
Hi,

I am able to make ddd 3.3.1, but I need 3.3.10 for its Perl support. However when I attempt to perform a "make" for 3.3.10 I get the following error under SunOS 5.8:

*cat ./root.h.in | \*
*/usr/xpg4/bin/sed "address@hidden@%/usr/local/share/ddd-3.3.11%" | \*
*/usr/xpg4/bin/sed "address@hidden@%/usr/local/share/ddd%" | \*
*    cat > root.h~ && mv root.h~ root.h*
*source='ddd.C' object='ddd.o' libtool=no \*
*DEPDIR=.deps depmode=gcc /bin/bash ../depcomp \*
*g++ -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/openwin/include -O2 -g -Wall -W -Wwrite-strings -trigraphs -c -o ddd.o ddd.C*

*In file included from ddd.h:32,*
*                 from ddd.C:135:*
*strclass.h:450: conflicting types for `struct string'*
*/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-3/string:9: previous declaration as `typedef class basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> > string'*

*strclass.h: In method `class string & string::operator =(ostringstream &)':* *strclass.h:1145: no matching function for call to `string::string (string)'*
*strclass.h:570: candidates are: string::string(int)*
*strclass.h:948:                 string::string()*
*strclass.h:955:                 string::string(const string &)*
*strclass.h:976:                 string::string(const subString &)*
*strclass.h:983:                 string::string(const constSubString &)*
*strclass.h:962:                 string::string(const char *)*
*strclass.h:969:                 string::string(const char *, int)*
*strclass.h:990:                 string::string(char)*
*strclass.h:581:                 string::string(ostringstream &)*
*strclass.h:1146: no matching function for call to `string::c_str () const'*
**** Error code 1*
*make: Fatal error: Command failed for target `ddd.o'*
*Current working directory /home/ehirsch/op_models/ddd311/ddd-3.3.11/ddd*
**** Error code 1*
*make: Fatal error: Command failed for target `all'*
*Current working directory /home/ehirsch/op_models/ddd311/ddd-3.3.11/ddd*
**** Error code 1*
*make: Fatal error: Command failed for target `all-recursive'*


What can I do to resolve this problem.
Thank you,
Elliot

It looks like you're not using a recent g++.  Try with 3.4.4 and see if
that helps.

Andrew.





reply via email to

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