Binary package hint: linux-wlan-ng
m-a -t build linux-wlan-ng fails compiling prism2_pci.c
Please find end of make output.
CC [M] /usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.o
In file included from /usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.c:2:
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:355:56: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
In file included from /usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.c:2:
/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/hfa384x.c: At top level:
/usr/src/modules/linux-wlan-ng/src/prism2/driver/hfa384x.c:3214: error: conflicting types for ‘hfa384x_interrupt’
ubuntu/include/prism2/hfa384x.h:2709: error: previous declaration of ‘hfa384x_interrupt’ was here
In file included from /usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.c:5:
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2sta.c:1442: error: conflicting types for ‘prism2sta_processing_defer’
ubuntu/include/prism2/prism2mgmt.h:171: error: previous declaration of ‘prism2sta_processing_defer’ was here
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2sta.c: In function ‘prism2sta_processing_defer’:
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2sta.c:1543: warning: passing argument 1 of ‘prism2sta_commsqual_defer’ from incompatible pointer type
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2sta.c: At top level:
/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2sta.c:2417: error: conflicting types for ‘prism2sta_commsqual_defer’
ubuntu/include/prism2/prism2mgmt.h:173: error: previous declaration of ‘prism2sta_commsqual_defer’ was here
/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
make[7]: *** [/usr/src/modules/linux-wlan-ng/src/prism2/driver/prism2_pci.o] Error 1
make[6]: *** [_module_/usr/src/modules/linux-wlan-ng/src/prism2/driver] Error 2
make[6]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[5]: *** [default] Error 2
make[5]: Leaving directory `/usr/src/modules/linux-wlan-ng/src/prism2/driver'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/modules/linux-wlan-ng/src/prism2'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/modules/linux-wlan-ng/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/modules/linux-wlan-ng'
make[1]: *** [build-stamp] Error 2
make[1]: Leaving directory `/usr/src/modules/linux-wlan-ng'
make: *** [kdist_build] Error 2
BUILD FAILED!
See /var/cache/modass/linux-wlan-ng.buildlog.2.6.20-15-generic.1179231806 for details.
Build failed. Press Return to continue...
The prism2 modules are included in the Ubuntu kernel. If you want to compile yourself, make sure you use the source from the Ubuntu kernel, or try the newest 0.2.8 from upstream or Debian. You fail to say where you got your source from. I think the linux-wlan- ng-source package is not supported in Ubuntu.