i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I/usr/qt/3/include -Iplugins/bitmapbutton -Iplugins/bitmapslider -I/usr/qt/3/include -include djplay.h -DQT_THREAD_SUPPORT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=i686 -O3 -pipe -w -fomit-frame-pointer -I/usr/include/libxml2 -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp mp3map.h:4: error: extra qualification ‘Mp3Map::’ on member ‘Mp3Map’ mp3map.h:5: error: extra qualification ‘Mp3Map::’ on member ‘Mp3Map’ mp3map.h:6: error: extra qualification ‘Mp3Map::’ on member ‘Mp3Map’ mp3map.h:7: error: extra qualification ‘Mp3Map::’ on member ‘Mp3Map’ make[2]: *** [loader.o] Błąd 1 make[2]: *** Oczekiwanie na niezakończone zadania.... make[2]: Opuszczenie katalogu `/usr/var/tmp/portage/djplay-0.3.0/work/djplay-0.3.0' make[1]: *** [all-recursive] Błąd 1 make[1]: Opuszczenie katalogu `/usr/var/tmp/portage/djplay-0.3.0/work/djplay-0.3.0' make: *** [all] Błąd 2 !!! ERROR: media-sound/djplay-0.3.0 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 607: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. arab ~ # emerge --info Portage 2.1.1_pre5-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 i686) ================================================================= System uname: 2.6.17-ck1-r2 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.12.4 Last Sync: Wed, 23 Aug 2006 15:30:09 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -w -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=i686 -O3 -pipe -w -fomit-frame-pointer" DISTDIR="/gentoo/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-z,now,--as-needed" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/gentoo/packages" PORTAGE_RSYNC_EXTRA_OPTS="--progress" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 16bit 7zip X a52 aac aalib acpi akode alsa amarok apache2 apm applet arts artworkextra asf audiofile avi bash-completion berkdb bidi bitmap-fonts bittorrent bonobo bootsplash bzip2 cairo ccache cdda cddb cdparanoia cdr chroot cli crypt ctype cups curl curlwrappers dba dbus dga dlloader dnotify dri dts dv dvd dvdr dvdread dvi dynagraph eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg fftw firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz glut gmp gnutls gphoto gpm hal i8x0 iconv idn imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jack java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux kexi lcms lesstif libg++ libwww linguas_pl lm_sensors mad matroska memlimit mikmod mime mmap mmx mmxext mng modplug motif mp3 mp4 mp4live mpeg mpeg2 mplayer multicall musepack music musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntfs offensive ogg openal openexr opengl openssl pam pcre pdf pdflib perl plugin png portaudio posix pppd psyco python qt qt3 qt4 quicktime rar rdesktop readline real recode reiserfs rtc samba sdl sensord session simplexml slang slp sndfile soap sockets spell spl sse sse2 ssl startup-notification stream subtitles subversion svg svga sysfs tcltk tcpd theora threads tidy tiff timidity tlen tokenizer transcode truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userland_GNU vfat video_cards_i810 videos vim vim-with-x vorbis wifi win32codecs wma wxwindows x264 xcomposite xine xml xml2 xorg xscreensaver xsl xv xvid xvmc yv12 zeroconf zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG
Compiled cleanly when compiler switched to i686-pc-linux-gnu-3.4.6/vanilla.
Created attachment 95268 [details, diff] gcc 4.1 patch Hi, here is a patch that fixed it for me. Fixing the extra qualification stuff and bad casts that caused compile failures on amd64. Regards, Alexis.
Hi, patch worked for me. Cheers Poly-C
*** Bug 146918 has been marked as a duplicate of this bug. ***
can someone please explain me how to use that patch ? do i have to create a separate environment(dir) for the patched version ? can i use kdiff3 ? thx a lot
Compiled cleanly with the proposed patch. Application working as expected.
Patch added to portage.