Bug in linux-kernel-headers or in linux-wlan-ng?
I am having difficulties building linux-wlan-ng for 2.6.1-rc1.
'fakeroot make-kpkg --append-to-version -frda2 modules_image' spits out:
make: Entering directory `/usr/src/modules/linux-wlan-ng/src/p80211'
gcc -E -M -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -DMODULE
-I../include -DCONFIG_PACKET=1 p80211conv.c p80211req.c p80211frm.c
p80211wext.c p80211wep.c p80211netdev.c p80211mod.c > .depend
In file included from /usr/include/asm/smp.h:18,
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/linux/smp.h:17,
/usr/include/asm/smp.h:73:26: mach_apicdef.h: No such file or directory
In file included from /usr/include/linux/irq.h:20,
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
Problem is that mach_mpspec.h, mach_apicdef.h and irq_vectors.h are defined
with erroneous #includes, it seems (to me, at least).
For instance, /usr/include/asm/irq.h has: #include "irq_vectors.h"
But 'find' tells me that irq_vectors.h is to be found here:
root@trinity:/usr/include/asm# find . -name irq_vectors.h
On the other hand, linux-kernel-headers README.Debian states that "These
headers should generally not be included directly." So is linux-wlan-ng
package in fact the one to blame?