Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61223 - orpheus-1.5 fails compile using gcc-3.4
Summary: orpheus-1.5 fails compile using gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 61224 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-21 23:40 UTC by Ryan Lewon
Modified: 2004-09-03 18:11 UTC (History)
1 user (show)

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


Attachments
orpheus-gcc-3.4.patch (orpheus-gcc-3.4.patch,1.38 KB, patch)
2004-09-03 17:46 UTC, Bjarke Istrup Pedersen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Lewon 2004-08-21 23:40:59 UTC
Orpheus fails to compile because ISO C++ forbids cast to non-refrence type used as lvalue.
c++ -pipe -O2 -march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -DHAVE_C                                      ONFIG_H -I. -I. -I.. -I../kkconsui-0.1/include -I../kkstrtext-0.1 -I../intl -DSH                                      ARE_DIR=\"/usr/share/orpheus\" -DLOCALEDIR=\"/usr/share/locale\"   -pipe -O2 -ma                                      rch=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer -c uitext.cc
uitext.cc: In member function `void OrpheusTextUI::configuration()':
uitext.cc:568: error: ISO C++ forbids cast to non-reference type used as lvalue
uitext.cc:575: error: ISO C++ forbids cast to non-reference type used as lvalue
uitext.cc: In member function `void OrpheusTextUI::mixer()':
uitext.cc:705: error: ISO C++ forbids cast to non-reference type used as lvalue
make[3]: *** [uitext.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/orpheus-1.4/work/orpheus-1.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/orpheus-1.4/work/orpheus-1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/orpheus-1.4/work/orpheus-1.4'
make: *** [all-recursive-am] Error 2
Portage 2.0.51_pre20 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1-love1 i686 AMD Athlon(TM) XP   1700+)
=================================================================
System uname: 2.6.8.1-love1 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O2 -march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/u  sr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=athlon-xp -mmmx -m3dnow -msse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib alsa apm arts avi berkdb bindist bonobo cdr cjk crypt cups directfb dvd encode esd f7  7 fam foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde libg++ libwww mad mik  mod mmx mmxext motif mozilla mpeg mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png ppds pyt  hon qt quicktime readline samba sdl slang spell sse ssl stencil-buffer svga tcltk tcpd tiff truetype usb v4l wxwi  ndows x86 xml xml2 xmms xv xvid zlib"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-21 23:55:16 UTC
*** Bug 61224 has been marked as a duplicate of this bug. ***
Comment 2 Ryan Lewon 2004-08-22 00:15:48 UTC
Have tested without fomit-frame-pointer in the make line as well, seems to be either A) GlibC related or GCC 3.4.1-r1 related.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-29 10:09:58 UTC
this is gcc-3.4 related...
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-09-03 17:46:22 UTC
Created attachment 38864 [details, diff]
orpheus-gcc-3.4.patch

patch to make it compile with >=gcc-3.4
Comment 5 Sven Wegener gentoo-dev 2004-09-03 18:11:12 UTC
Commited to CVS. Thanks for reporting.