g++ -c -pipe -march=pentium-m -Os -pipe -Wall -W -D_REENTRANT -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I.. -I../../hostapd -I.moc -I.ui -o .obj/scanresults.o scanresults.cpp eventhistory.h:50: error: extra qualification 'EventHistory::' on member 'EventHistory' scanresults.h:30: error: extra qualification 'ScanResults::' on member 'ScanResults' make: *** [.obj/eventhistory.o] Error 1 make: *** Waiting for unfinished jobs.... ./eventhistory.h:50: error: extra qualification 'EventHistory::' on member 'EventHistory' wpagui.h:31: error: extra qualification 'WpaGui::' on member 'WpaGui' networkconfig.h:30: error: extra qualification 'NetworkConfig::' on member 'NetworkConfig' make: *** [.obj/scanresults.o] Error 1 !!! ERROR: net-wireless/wpa_supplicant-0.5.5 failed. # emerge --info Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r3 i686) ================================================================= System uname: 2.6.17-ck1-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.4 Last Sync: Sun, 03 Sep 2006 17:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 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=pentium-m -Os -pipe" 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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium-m -Os -pipe" DISTDIR="/tmp/distfiles" FEATURES="ccache sandbox userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.nyx.hu/gentoo http://gentoo.supp.name/" LANG="" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac aalib acpi alsa asf audacious bash-completion blender-game bluetooth branding browserplugin bzip2 c++ cardbus cdr cdrom cg cgi cli crosscompile csv cups custom-cflags cvs cxx dbus dhcp divx doc dri dvd dvdr dvdread editor elibc_glibc emf epiphany epson ethereal evolution examples fast fat fbcon ffmpeg finger firefox fortran ftp gcj gd gecko-sdk gif gimp gimpprint glade glitz glut gmedia gnome gpm graphviz gsm gtk gtk2 gzip h323 hddtemp html i8x0 icc icp icq ide input_devices_keyboard input_devices_mouse input_devices_synaptics insecure-savers irc irssi javascript jpeg jpeg2k kernel_linux lame linguas_de mad math mbrola md5sum mmx mmxext mng mono mouse mozdevelop mp3 mp4 mp4live mpeg mpeg2 mplayer mssql music mysql mysqlfriends mysqli nat ncurses net network nfs nls no-old-linux nocd nowin nptl nptlonly nsplugin ntfs oci8 offensive office ogg oggvorbis opengl oracle pam pci pcmcia pcre pdf php pic png ppds print qemu-fast qt qt3 qt4 quicktime rar rdesktop readline real reiserfs rss samba screen sdk sdl session sftp sharedmem speech spell sse sse2 ssl stream subversion svg svga svgz symlink sysfs szip tcltk themes tiff tools trusted udev unicode unzip usb userland_GNU utf8 vcd vdr verbose vfat video_cards_i810 videos vidix visual visualization vnc vncviewer voice vorbis widescreen wifi win32codecs wma wma123 wmf wmp x264 xanim xchat xine xml xorg xosd xpm xrandr xscreensaver xv xvid xvmc xvnc yiff zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
qt4 support is broken in 0.5.5, so I've removed support for it.
This is really a GCC 4 porting problem. GCC 3 should compile it just fine.
(In reply to comment #2) > This is really a GCC 4 porting problem. GCC 3 should compile it just fine. > Same on my side, gcc 3.4.6 compiles fine, gcc 4.1.1(still) produces that error
OK, someone want to write a patch then? I don't have QT4 on my system at the moment.
Created attachment 95955 [details, diff] wpa_supplicant-0.5.5-qt4.diff compiles with gcc 4.1.1 and both qt3 and qt4, works fine with madwifi-ng-0.9.2 (current ~x86)
I can confirm Horsts patch works also on my box with the same circumstances. Thanks Horst.
Thanks for the patch Horst, fixed :)
This was already fixed in upstream after the 0.5.5 release, btw.
*** Bug 146306 has been marked as a duplicate of this bug. ***
*** Bug 146392 has been marked as a duplicate of this bug. ***