Summary: | net-wireless/broadcom-sta-6.30.223.248-r1 - .../work/src/wl/sys/wl_linux.c:1311:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Miloserdov <milosvova> |
Component: | [OLD] Library | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gottlieb, milosvova, orona_tidny, proxy-maint |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
proposed patch |
Description
Vladimir Miloserdov
2014-11-22 20:49:43 UTC
Created attachment 390078 [details, diff]
proposed patch
This patch fixes usage of 'alloc_netdev' macro with kernel version >= 3.17
Error is still. It can't work with BCM43142 802.11b/g/n and kernel-3.17.4. I have just pasted the patch--'alloc_netdev_fix.patch' in /etc/portage/patches/net-wireless/broadcom-sta-6.30.223.248-r1. Should I need to install 'dev-java/java-config' , which I don't have but you do. Localhost # emerge --info '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo' Portage 2.2.8-r2 (default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 3594780 total, 3083976 free KiB Swap: 5242876 total, 5242876 free Timestamp of tree: Sun, 07 Dec 2014 00:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-lang/perl: 5.20.1-r2 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.61-r2, 2.62-r1, 2.63-r1, 2.64, 2.65-r1, 2.67, 2.68, 2.69 sys-devel/automake: 1.9.6-r4, 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3, 4.9.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo ACCEPT_KEYWORDS="** amd64 enchant ~amd64" ACCEPT_LICENSE="* -@EULA Broadcom enchant" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core2 " DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="X acl amd64 berkdb bzip2 cli cracklib crypt cxx dri enchant fortran gdbm gtk2 gtk3 gudev iconv icu ipv6 mmx modules ncurses nls nptl openmp pam pcre python qt3support readline session sqlite sse sse2 ssl tcpd tools unicode zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="edev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON localhost ~ # cat /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/build.log * Package: net-wireless/broadcom-sta-6.30.223.248-r1 * Repository: gentoo * Maintainer: tomboy64@sina.cn proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.17.4-gentoo/build * Found sources for kernel version: * 3.17.4-gentoo * Checking for suitable kernel configuration options... * B43: If you insist on building this, you must blacklist it! * BCMA: If you insist on building this, you must blacklist it! * SSB: If you insist on building this, you must blacklist it! * MAC80211: If you insist on building this, you must blacklist it! * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work >>> Unpacking README-broadcom-sta-6.30.223.248.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work unpack README-broadcom-sta-6.30.223.248.txt: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work >>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... * Applying broadcom-sta-6.30.223.141-license.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-makefile.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-linux-3.15.patch ... [ ok ] * Applying user patches from /etc/portage/patches//net-wireless/broadcom-sta-6.30.223.248-r1 ... * alloc_netdev_fix.patch ... [ ok ] * Done with patching >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing wl module make HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work wl.ko make: Entering directory '/usr/src/linux-3.17.4-gentoo' CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/shared/linux_osl.o CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c: In function 'wl_alloc_linux_if': /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:82: error: macro "alloc_netdev" requires 4 arguments, but only 3 given dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup); ^ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:9: error: 'alloc_netdev' undeclared (first use in this function) dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup); ^ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:9: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:257: recipe for target '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o' failed make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o] Error 1 Makefile:1540: recipe for target 'wl.ko' failed make: *** [wl.ko] Error 2 make: Leaving directory '/usr/src/linux-3.17.4-gentoo' * ERROR: net-wireless/broadcom-sta-6.30.223.248-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work' * S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work' Error is still. It can't work with BCM43142 802.11b/g/n and kernel-3.17.4. I have just pasted the patch--'alloc_netdev_fix.patch' in /etc/portage/patches/net-wireless/broadcom-sta-6.30.223.248-r1. Should I need to install 'dev-java/java-config' , which I don't have but you do. Localhost # emerge --info '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo' Portage 2.2.8-r2 (default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.17.4-gentoo-x86_64-Intel-R-_Core-TM-_i5-3210M_CPU_@_2.50GHz-with-gentoo-2.2 KiB Mem: 3594780 total, 3083976 free KiB Swap: 5242876 total, 5242876 free Timestamp of tree: Sun, 07 Dec 2014 00:45:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-lang/perl: 5.20.1-r2 dev-lang/python: 2.7.7, 3.3.5-r1, 3.4.1 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.61-r2, 2.62-r1, 2.63-r1, 2.64, 2.65-r1, 2.67, 2.68, 2.69 sys-devel/automake: 1.9.6-r4, 1.11.6-r1, 1.12.6, 1.13.4, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3, 4.9.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo ACCEPT_KEYWORDS="** amd64 enchant ~amd64" ACCEPT_LICENSE="* -@EULA Broadcom enchant" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2 " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=core2 " DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="X acl amd64 berkdb bzip2 cli cracklib crypt cxx dri enchant fortran gdbm gtk2 gtk3 gudev iconv icu ipv6 mmx modules ncurses nls nptl openmp pam pcre python qt3support readline session sqlite sse sse2 ssl tcpd tools unicode zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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 ublox ubx" INPUT_DEVICES="edev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON localhost ~ # cat /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/build.log * Package: net-wireless/broadcom-sta-6.30.223.248-r1 * Repository: gentoo * Maintainer: tomboy64@sina.cn proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.17.4-gentoo/build * Found sources for kernel version: * 3.17.4-gentoo * Checking for suitable kernel configuration options... * B43: If you insist on building this, you must blacklist it! * BCMA: If you insist on building this, you must blacklist it! * SSB: If you insist on building this, you must blacklist it! * MAC80211: If you insist on building this, you must blacklist it! * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work >>> Unpacking README-broadcom-sta-6.30.223.248.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work unpack README-broadcom-sta-6.30.223.248.txt: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work >>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... * Applying broadcom-sta-6.30.223.141-license.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-makefile.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ] * Applying broadcom-sta-6.30.223.141-linux-3.15.patch ... [ ok ] * Applying user patches from /etc/portage/patches//net-wireless/broadcom-sta-6.30.223.248-r1 ... * alloc_netdev_fix.patch ... [ ok ] * Done with patching >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work ... ln: failed to create symbolic link 'Module.symvers': File exists * Preparing wl module make HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work wl.ko make: Entering directory '/usr/src/linux-3.17.4-gentoo' CFG80211 API is prefered for this kernel version Using CFG80211 API CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/shared/linux_osl.o CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c: In function 'wl_alloc_linux_if': /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:82: error: macro "alloc_netdev" requires 4 arguments, but only 3 given dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup); ^ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:9: error: 'alloc_netdev' undeclared (first use in this function) dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup); ^ /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.c:1311:9: note: each undeclared identifier is reported only once for each function it appears in scripts/Makefile.build:257: recipe for target '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o' failed make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work/src/wl/sys/wl_linux.o] Error 1 Makefile:1540: recipe for target 'wl.ko' failed make: *** [wl.ko] Error 2 make: Leaving directory '/usr/src/linux-3.17.4-gentoo' * ERROR: net-wireless/broadcom-sta-6.30.223.248-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-6.30.223.248-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work' * S: '/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.248-r1/work' There is a typo in proposed patch:
<+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN ether_setup);
>+ dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN, ether_setup);
Please give broadcom-sta-6.30.223.248-r3 a try. It applies a patch that does: +#if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)) dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup); +#else + dev = alloc_netdev(sizeof(priv_link_t), intf_name, NET_NAME_UNKNOWN, + ether_setup); +#endif Marking as resolved. |