Package: broadcom-sta-source Version: 5.60.48.36-3 Severity: important Tags: squeeze sid upstream patch
Hi, Using kernel 2.6.35, I have a compilation error with the broadcom-sta driver: In file included from /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_iw.c:35: /usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_iw.h:65: error: field ‘sysioc_sem’ has incomplete type make[3]: *** [/usr/src/modules/broadcom-sta/i386/src/wl/sys/wl_iw.o] Error 1 make[2]: *** [_module_/usr/src/modules/broadcom-sta/i386] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.35-stable/linux-source' make[1]: *** [binary-modules] Error 2 make[1]: Leaving directory `/usr/src/modules/broadcom-sta' make: *** [kdist_build] Error 2 It seems the driver does not include linux/semaphore.h, and that causes problems with my kernel config. See example: http://thread.gmane.org/gmane.linux.kernel.next/14811/focus=59868 So I did another patch for broadcom-sta source package. You'll find it attached. Regards, Anisse -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.34-00001-g8a9bb65 (SMP w/1 CPU core; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages broadcom-sta-source depends on: ii bzip2 1.0.5-6 high-quality block-sorting file co ii debhelper 8.1.0 helper programs for debian/rules ii make 3.81-8 An utility for Directing compilati ii quilt 0.48-7 Tool to work with series of patche Versions of packages broadcom-sta-source recommends: pn module-assistant <none> (no description available)
Index: broadcom-sta-5.60.48.36-3/amd64/src/wl/sys/wl_iw.h =================================================================== --- broadcom-sta-5.60.48.36-3.orig/amd64/src/wl/sys/wl_iw.h 2011-02-04 17:37:23.000000000 +0100 +++ broadcom-sta-5.60.48.36-3/amd64/src/wl/sys/wl_iw.h 2011-02-04 17:37:31.000000000 +0100 @@ -16,6 +16,7 @@ #define _wl_iw_h_ #include <linux/wireless.h> +#include <linux/semaphore.h> #include <typedefs.h> #include <proto/ethernet.h> Index: broadcom-sta-5.60.48.36-3/i386/src/wl/sys/wl_iw.h =================================================================== --- broadcom-sta-5.60.48.36-3.orig/i386/src/wl/sys/wl_iw.h 2011-02-04 17:37:06.000000000 +0100 +++ broadcom-sta-5.60.48.36-3/i386/src/wl/sys/wl_iw.h 2011-02-04 17:37:20.000000000 +0100 @@ -16,6 +16,7 @@ #define _wl_iw_h_ #include <linux/wireless.h> +#include <linux/semaphore.h> #include <typedefs.h> #include <proto/ethernet.h>

