[Linux-wlan-ng-devel] Bug#406823: linux-wlaNn-ng: fails to build with linux-2.6.20rc5

coldtobi tobi at coldtobi.de
Sun Jan 14 13:20:02 CET 2007


Package: linux-wlan-ng
Version: 0.2.6+svn20061108+dfsg-1
Severity: minor

It seems there have been an interface change in the kernel, the macro
INIT_WORK does not take 3 parameters anymore. But as the third argument
is a pointer, omitting it will obivously not work.


/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c: In function
'hfa384x_create':
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:355: error:
'INIT_WORK' undeclared (first use in this function)
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:355: error:
(Each undeclared identifier is reported only once
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:355: error:
for each function it appears in.)
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:357:67:
error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.c: In
function 'prism2sta_probe_pci':
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.c:166:
warning: passing argument 2 of 'request_irq' from incompatible pointer
type


Severity is minor, as 2.6.19 and 2.6.20 is not in debian yet.

I did not test 2.6.19, but read in the net, that the problem is there
too.

Note: This bug is also relevant to other modules.
so far, i found the bug in rt2500-source and maybe related to rt2x00.

I'll file seperate bugs for each pacakge in debian.

Tobi

PS: not related to this package, but I found an example, how it works
now:
http://ipw3945.sourceforge.net/#patches: [PATCH 1/2] workqueue rework
http://ipw3945.sourceforge.net/patches/ipw3945-1.1.3-2.6.20-1.patch

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-wlan-ng depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  udev                        0.103-2      /dev/ and hotplug management daemo
ii  wireless-tools              28-1         Tools for manipulating Linux Wirel

Versions of packages linux-wlan-ng recommends:
ii  linux-wlan-ng-d 0.2.6+svn20061108+dfsg-1 documentation for wlan-ng

-- no debconf information





More information about the Linux-wlan-ng-devel mailing list