Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30844 - DDD 3.3.7 failed to compile
Summary: DDD 3.3.7 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 10:59 UTC by kevin pratt
Modified: 2003-10-12 10:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin pratt 2003-10-10 10:59:36 UTC
When I tried to emerge DDD i get compile errors stating that there are
conflicting types for struct string.


Reproducible: Always
Steps to Reproduce:
1.emerge dev-util/ddd
2.
3.

Actual Results:  
In file included from cook.h:36,
                 from cook.C:41:
strclass.h:453: conflicting types for `struct string'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/g++/string:9: previous
declaration as `typedef class
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >
string'
In file included from cwd.h:37,
                 from cwd.C:36:
strclass.h:453: conflicting types for `struct string'
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/g++/string:9: previous
declaration as `typedef class
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >
string'
make[2]: *** [cwd.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [cook.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ddd-3.3.7/work/ddd-3.3.7/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.7/work/ddd-3.3.7/ddd'
make: *** [all-recursive] Error 1


Expected Results:  
It should have compiled.

Portage 2.0.49-r10 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8, 2.4.20-ck6)
=================================================================
System uname: 2.4.20-ck6 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ libwww mikmod mmx mpeg
ncurses pdflib quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr esd
gdbm gif gnome-libs gpm gtk gtkhtml guile imlib java kde motif mozilla nls
oggvorbis opengl pam perl png python qt readline ruby sdl slang ssl svga tcltk
tcpd tiff X gtk2 gnome alsa"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-10-12 10:05:07 UTC
sorry, requires gcc3
added to depend