Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295930 - net-wireless/broadcom-sta-5.10.91.9.3-r1: compile error when using Linux 2.6.32
Summary: net-wireless/broadcom-sta-5.10.91.9.3-r1: compile error when using Linux 2.6.32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 03:38 UTC by Tiago Madeira
Modified: 2009-12-07 15:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild that apply patch (broadcom-sta-5.10.91.9.3-r2.ebuild,1.28 KB, text/plain)
2009-12-07 12:55 UTC, Emilio Coppa
Details
patch (wl_linux.patch,576 bytes, patch)
2009-12-07 12:55 UTC, Emilio Coppa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Madeira 2009-12-06 03:38:07 UTC
After update to sys-kernel/gentoo-sources-2.6.32, I can't compile broadcom-sta wireless driver, apparently because of the removal of function “schedule” from some kernel file included by broadcom drivers.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 @module-rebuild
Actual Results:  
make: Entering directory `/usr/src/linux-2.6.32-gentoo'
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_iw.o
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/shared/linux_osl.o
  CC [M]  /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.o
/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.c: In function ‘wl_free’:
/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.c:707: error: implicit declaration of function ‘schedule’
make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-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-2.6.32-gentoo'

Expected Results:  
No errors.

# emerge --info
Portage 2.2_rc55 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-2.1.6
Timestamp of tree: Sat, 05 Dec 2009 06:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.1.6
sys-apps/openrc:     0.5.0-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA Broadcom dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en ru pt pt_BR"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alac alsa bash-completion berkdb bzip2 cdr cjk cleartype cli cracklib crypt cups cxx cyrillic dbus dhcpcd djvu dri dvd dvdr dvdread dvi encode ffmpeg flac fortran gdbm gif gmp gpm hal iconv id3 id3tag imap ipv6 jpeg kpathsea lame laptop latex mad midi mmx modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg oggflac opengl openmp openssl pam pcre pdf perl png pop pppd pulseaudio python qt3support readline reflection session smp smtp spl sqlite sse sse2 ssl ssse3 svg symlink sysfs taglib tcpd theora threads tiff truetype unicode v4l2 vim-syntax vim-with-x vorbis wavpack win32codecs x86 xcb xetex xml xorg zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru pt pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Emilio Coppa 2009-12-07 00:17:05 UTC
Same problem here. If can be helpful: bug fixed[1] under Ubuntu with this[2].

Greets.

[1] https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/458757
[2] http://launchpadlibrarian.net/35822161/bcmwl_5.10.91.9%2Bbdcom-0ubuntu5.debdiff
Comment 2 Emilio Coppa 2009-12-07 12:55:06 UTC
Created attachment 212331 [details]
ebuild that apply patch
Comment 3 Emilio Coppa 2009-12-07 12:55:31 UTC
Created attachment 212333 [details, diff]
patch
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2009-12-07 15:47:28 UTC
fixed in cvs. thanks