Bug 175304 - net-wireless/fwlanusb fails to compile unter 2.6.20-r6
|
Bug#:
175304
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: TEST-REQUEST
|
Assigned To: sbriesen@gentoo.org
|
Reported By: andreas.schrimpf@yahoo.de
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: net-wireless/fwlanusb fails to compile unter 2.6.20-r6
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-04-20 04:35 0000
|
After emerging gentoo-sources-2.6.20-r6 fwlanusb can't be compiled.
With gentoo-sources-2.6.19-r5 the emerge succeeded, but after loading the
module the pc crashs, so I waited for 2.6.20-kernel to try it again.
Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources
2. emerge fwlanusb
3.
Actual Results:
emerge fwlanusb
Calculating dependencies... done!
>>> Emerging (1 of 1) net-wireless/fwlanusb-0.09.00_beta-r2 to /
...
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo-r6'
CC [M]
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.o
CC [M]
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/main.o
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:
In function \u2018usb_write_complete\u2019:
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:502:
warning: ISO C90 forbids mixed declaration
s and code
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:
In function \u2018usb_read_complete\u2019:
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:548:
warning: ISO C90 forbids mixed declaration
s and code
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:
In function \u2018usb_cmd_complete\u2019:
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:637:
warning: ISO C90 forbids mixed declaration
s and code
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:917:50:
error: macro "INIT_WORK" passed 3 argum
ents, but takes just 2
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:
In function \u2018start_recovery_worker\u2019:
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:917:
error: \u2018INIT_WORK\u2019 undeclared (f
irst use in this function)
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:917:
error: (Each undeclared identifier is repo
rted only once
/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.c:917:
error: for each function it appears in.)
make[2]: ***
[/var/tmp/portage/net-wireless/fwlanusb-0.09.00_beta-r2/work/fritz/src/driver.o]
Error 1
isaac ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,
2.6.20-gentoo-r6 i686)
=================================================================
System uname: 2.6.20-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 18 Apr 2007 17:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/a
pache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc
/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/ter
minfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict
userpriv"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.mirror.solnet.ch http://trumpetti.atm.tut.f
i/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LC_ALL="en_US.utf8"
LINGUAS="de en"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm audiofile avahi bitmap-fonts bonobo cdparanoia cdr cli
cracklib crypt cups curl dbus directfb dri dvd
dvdr dvdread eds emboss encode esd evo ffmpeg firefox flac foomaticdb fortran
gd gdbm gif giff gnome gphoto2 gpm gstreamer gtk
gtk2 hal howl icc iconv imagemagick imap imlib ipv6 isdnlog jpeg jpeg2k ldap
libg++ libwww lm_sensors mad maildir midi mikmod
mime motif mp3 mpeg mplayer mysql ncurses nls nptl nptlonly ogg opengl oss pam
pcre pda pdf perl plotutils png postgres pppd
python quicktime readline reflection sasl scanner sdl session spell spl ssl
stream tcpd tetex truetype truetype-fonts type1-fo
nts unicode usb v4l vorbis wifi win32codecs wxwindows x86 xml xorg xv xvid
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-mod
em bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm
softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mo
use" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLA
ND="GNU" VIDEO_CARDS="radeon"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXT
RA_OPTS, PORTDIR_OVERLAY
Version 01.00.00-RC1* of the original avm driver is available!
If possible, please include this update.
thanks for reporting. I'll check the new driver asap!
*** Bug 179083 has been marked as a duplicate of this bug. ***
I have the new ebuild already in my local overlay. But the new driver freezes
my system immediately as soon the driver is loaded. Has anymore checked it
already with more success? If not, I would commit the new ebuild but mask it
for the time being.
@Stefan Briesenick
Could you give the new ebuild? I got this stick and would like to test it!
ok, I do some last cleanup/checks and then I commit it. But due to the freeze
on my system, I will mask it. If you want to use it, you have to manually
unmask it in /etc/portage/package.unmask.
Thanks for working on the problem. I have to add, that the OLD driver freezes
my system to, if I compiled it with the 2.6.19 kernel.
I have the feeling it has something to do with internel changes of the wireless
lan stack handling in the kernel.
ok, comitted to CVS.
But I masked it! So if you want to test it, just run:
echo "net-wireless/fwlanusb" >> /etc/portage/package.unmask
and please give feedback to AVM so that they can fix the issues. thanks!
hpmf. since the bug is not really solved, I reopen it for the time being.
Please, test w/ fwlanusb-1.00.00
Tested with 2.6.20-gentoo-r8 and the new kernel 2.6.21-gentoo-r4, using
wireless-tools.
No problems compiling and running the driver.
It works fine! Thanks a lot.