I tried to emerge the broadcom driver but it fails when compiling with error, something like "error: unknown field ‘ndo_set_multicast_list’". It looks like the compilation error is because in kernel commit b81693d9149c598302e8eb9c20cb20330d922c8e the callback ndo_set_multicast_list was removed: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b81693d9149c598302e8eb9c20cb20330d922c8e So i've changed all occurences of ndo_set_multicast_list in sources (there are three of them) to ndo_set_rx_mode and all worked fine. Unfortunately i can't post output of compiler here, because it works fine for me now. But there is a similar bug - https://bugs.gentoo.org/390627?id=390627 , and it does not compile for same reason Reproducible: Always Steps to Reproduce: 1. Install kernel 3.2.1-r2 2. Try to install madwifi-ng Actual Results: Does not compile because field 'ndo_set_multicast_list' not found Expected Results: Installed
Excuse me, not 'broadcom driver', but madwifi-ng
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 300105 [details] emerge --info
Created attachment 300107 [details] Build log
Same here.
Portage 2.1.10.44 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64) ================================================================= System uname: Linux-3.2.1-gentoo-r2-x86_64-AMD_Phenom-tm-_II_N950_Quad-Core_Processor-with-gentoo-2.0.3 Timestamp of tree: Fri, 27 Jan 2012 15:15:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo gentoo-haskell daks ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Q3AEULA skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://mirror2.corbina.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="RU" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/haskell /var/lib/layman/daks" SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage" USE="X acl alsa amd64 apache2 berkdb bzip2 cairo cgi cli cracklib crypt cups cxx dbus debugger device-mapper directfb djvu dri emerald extras ffmpeg fortran gd gdbm gdu ghcbootstrap gif gpm gtk iconv ipv6 java jpeg kde kpathsea libobjc2 melt mikmod mmx mng modules mp3 mudflap multilib mysql ncurses nls nptl nptlonly objc opengl openmp pam pcre png policykit pppd preview-latex qt3support qt4 readline sdl session sqlite sse sse2 ssl static-libs svg sysfs tcpd theora tiff tk truetype udev unicode vorbis webkit wxwidgets x264 xcb xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="RU" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can confirm this. (Omitted my build.log it is exactly same) emerge --info Portage 2.1.10.45 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo x86_64) ================================================================= System uname: Linux-3.2.1-gentoo-x86_64-Intel-R-_Core-TM-_i3_CPU_530_@_2.93GHz-with-gentoo-2.1 Timestamp of tree: Mon, 06 Feb 2012 04:15:02 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.7-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.3 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo betagarden x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ru" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/betagarden /usr/local/portage" SYNC="rsync://mirror.yandex.ru/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr chm cli consolekit cracklib crypt cups cxx dbus djvu dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif git gnutls gpm iconv ipv6 java jpeg kde lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pch pcre pdf plasma png policykit ppds pppd private-headers python qt3support qt4 readline sdl session spell sql sqlite sse sse2 ssl startup-notification subversion svg sysfs tcpd threads tiff truetype udev unicode usb v4l v4l2 vim-syntax vorbis webkit x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Same here (yes yes I know I have funtoo, I still have this bug) emerge --info Portage 2.3.2-r2 (default/linux/amd64/2008.0, gcc-4.4.5, glibc-2.11.3-r0, 3.1.6-gentoo x86_64) ================================================================= System uname: Linux-3.1.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1.8 Timestamp of tree: Mon, 06 Feb 2012 07:00:01 +0000 app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.5-r3, 2.7.1-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1.8-r3 sys-apps/openrc: 0.8.3-r5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13::funtoo, 2.68 sys-devel/automake: 1.4_p6-r1, 1.8.5-r4::funtoo, 1.9.6-r3::funtoo, 1.10.3::funtoo, 1.11.1::funtoo sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.3.3-r2::funtoo, 4.4.5::funtoo sys-devel/gcc-config: 1.4.1::funtoo sys-devel/libtool: 2.4-r3 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.11.3 Repositories: gentoo bio-overlay doom-overlay arduino ubuntu QsOverlay-test cross-avr Installed sets: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA skype-eula IBM-J1.6 dlj-1.1 AdobeFlash-10.1 googleearth BCS PUEL cadsoft google-talkplugin Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_CA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en en_GB" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bios /var/lib/layman/doom-overlay /var/lib/layman/luksans-arduino /var/lib/layman/ubuntu /home/qbasicer/Documents/programming/git/Qs-Overlay-test /usr/local/portage" SYNC="git://github.com/funtoo/portage-mini-2011.git" SYNC_USER="root" USE="X a52 aac aalib acl acpi ais alac alsa amd64 amr apache2 apng aspell asterisk atmo avahi avi bash-completion berkdb bluetooth bonjour bzip2 cairo calendar cdda cddai cddb cdr cleartype cli consolekit cracklib crypt cups curl cxx dbus device-mapper dirac dri dts dvb dvd dvdr dvdread encode exif extras faac faad fbcondecor festival ffmpeg flac fluidsynth fontconfig foomaticdb fortran fuse gd gdbm gdu ggi gif gimp git glut gme gnome gnutls gpg gphoto2 gpm gstreamer gtalk gtk gui hfs http httpd iconv icu id3tag imap ios iphone ipod ipv6 jabber java jingle jpeg jpeg2k kate kde kdrive lame laptop latex lcdfilter libass libcaca libnotify libproxy libtiger libv4l libv4l2 lightning lirc live lm_sensors lua mad matroska mbrola mdnsresponder-compat meanwhile melt mime mmap mmx mng modplug modules mp2 mp3 mpeg mplayer msn mtp mudflap multilib musepack mysql ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg openal opencl opengl openmp pam pcre pdf pdo perl php png policykit pppd projectm pulseaudio pvr python qt-faststart qt3support qt4 quicktime rdesktop readline remoteosd rtsp samba schroedinger sdl sdl-image session shine shout skins snmp speex spell sql sqlite sqlite3 sse sse2 ssh ssl stream subversion svg sysfs taglib tcpd theora threads tiff tools truetype unicode upnp usb v4l v4l2 vaapi vcdx video vim-syntax vlm vnc vorbis wavpack webkit wifi x264 xcomposite xdmcp xml xmp xorg xosd xpm xv zeroconf zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Looks like this was fixed upstream a while ago: http://madwifi-project.org/changeset/4176
So? We just need to bump madwifi to last version?
I used this ebuild to move up to madwifi-ng-0.9.4.4176.20111123: http://www.calculate-linux.org/packages/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4176.20111123.ebuild (attached). Fixed the problem for me.
Created attachment 301989 [details] ebuild for madwifi-ng-0.9.4.4176.20111123
As noted here: https://madwifi-project.org/ticket/2479 The fix is indeed to use a more recent version of madwifi-ng. I just downloaded the latest trunk from their site and madwifi-ng works fine with kernel 3.2.6.
Dave Favis-Mortlock's ebuild work for me. uname -a Linux Phoenix-nas 3.2.1-gentoo-r2 #3 SMP Tue Mar 20 14:09:31 CST 2012 i686 Intel(R) Atom(TM) CPU D525 @ 1.80GHz GenuineIntel GNU/Linux gcc --version gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Archive of version 0.9.4.4176.20111123 is no loger available upstream. Renaming the ebuild (Dave's is the same as current portage version) to 0.9.4.4165.20110816 works fine.
Please test the new version by unmasking emerge --autounmask-write \ =net-wireless/madwifi-ng-0.9.4.4180.20120502 \ =net-wireless/madwifi-ng-tools-0.9.4.4180.20120502 and emerging emerge -av1 \ =net-wireless/madwifi-ng-0.9.4.4180.20120502 \ =net-wireless/madwifi-ng-tools-0.9.4.4180.20120502 Please report any problems here.
It works normal, but... portage says, madwifi-ng-tools are now deprecated?
(In reply to comment #17) > It works normal, but... portage says, madwifi-ng-tools are now deprecated? madwifi-ng is considered deprecated, everyone should be using the in-kernel modules (athXk or their derivatives) - that said, if you have a specific reason for requiring madwifi-ng over the in-kernel drivers, I'm open to hear it.