I tried to emerge the broadcom driver but it fails when compiling with this error: >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-wireless/broadcom-sta-5.100.82.112-r1 >>> Failed to emerge net-wireless/broadcom-sta-5.100.82.112-r1, Log file: >>> '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/temp/build.log' >>> Jobs: 0 of 1 complete, 1 failed Load avg: 3.68, 1.82, 0.81 * Package: net-wireless/broadcom-sta-5.100.82.112-r1 * Repository: gentoo * Maintainer: matsuu@gentoo.org * USE: amd64 consolekit elibc_glibc kernel_linux multilib policykit userland_GNU * FEATURES: preserve-libs sandbox splitdebug * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 3.2.0-rc1+ * Checking for suitable kernel configuration options... [ ok ] * Applying broadcom-sta-5.10.91.9-license.patch ... [ ok ] * Applying broadcom-sta-5.100.82.38-gcc.patch ... [ ok ] * Applying broadcom-sta-5.100.82.111-linux-3.0.patch ... [ ok ] * Applying broadcom-sta-5.100.82.112-linux-2.6.39.patch ... [ ok ] ln: ni mogoče ustvariti simbolne povezave »Module.symvers«: File exists * Preparing wl module make: Entering directory `/usr/src/linux-git' CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/shared/linux_osl.o CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_iw.o CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_linux.o CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_cfg80211.o /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_linux.c:390:2: error: unknown field ‘ndo_set_multicast_list’ specified in initializer /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_linux.c:390:2: warning: initialization from incompatible pointer type [enabled by default] /var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_linux.c:390:2: warning: (near initialization for ‘wl_netdev_ops.ndo_validate_addr’) [enabled by default] make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work/src/wl/sys/wl_linux.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [wl.ko] Error 2 make: Leaving directory `/usr/src/linux-git' emake failed * ERROR: net-wireless/broadcom-sta-5.100.82.112-r1 failed (compile phase): * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work wl.ko * * Call stack: * ebuild.sh, line 84: Called src_compile * environment, line 3409: Called linux-mod_src_compile * environment, line 2631: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =net-wireless/broadcom-sta-5.100.82.112-r1', * the complete build log and the output of 'emerge -pqv =net-wireless/broadcom-sta-5.100.82.112-r1'. * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/temp/environment'. * S: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work' * Messages for package net-wireless/broadcom-sta-5.100.82.112-r1: * ERROR: net-wireless/broadcom-sta-5.100.82.112-r1 failed (compile phase): * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work wl.ko * * Call stack: * ebuild.sh, line 84: Called src_compile * environment, line 3409: Called linux-mod_src_compile * environment, line 2631: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =net-wireless/broadcom-sta-5.100.82.112-r1', * the complete build log and the output of 'emerge -pqv =net-wireless/broadcom-sta-5.100.82.112-r1'. * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/temp/environment'. * S: '/var/tmp/portage/net-wireless/broadcom-sta-5.100.82.112-r1/work' Reproducible: Always Steps to Reproduce: 1. Use kernel 3.2.0-rc1 or later 2. try to emerge broadcom-sta Actual Results: Compilation fails Expected Results: The driver should compile without errors 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
Fixed in cvs. 5.100.82.112-r2