On Wed, Jun 3, 2009 at 12:08 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Wed, 2009-06-03 at 13:06 +0200, Bringfried Stecklum wrote: >> When trying to compile the latest compat-wireless package on an Ubuntu 8.10 >> 64bit system running linux kernel 2.6.27-12 I get the following error >> >> stecklum@extragalactix:~/System/src/compat-wireless-2009-06-03$ make >> make -C /lib/modules/2.6.27-12-mygeneric/build >> M=/home/stecklum/System/src/compat-wireless-2009-06-03 modules >> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-12-mygeneric' >> CC [M] >> /home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.o >> In file included from >> /home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/hw.c:20: >> /home/stecklum/System/src/compat-wireless-2009-06-03/drivers/net/wireless/ath/ath9k/ath9k.h:469: >> error: field ‘ops’ has incomplete type > > That's rfkill, not sure what to do about it. > > johannes Yes, i saw the error too - I just git-format-patch'ed the rfkill commit from wireless-testing and reverted it in compat-wireless. Then compat-wireless built and worked ok. The rfkill commit changed a two files (an include/net/* and an Kconfig) which doesn't exist in compat-wireless (I just press return to skip during the revert). I suppose the include will need to go to the top of whatever files needing it, the Kconfig part will need to go to config.mk ... but I haven't looked in detail and other change may be needed. The commit is this: >From df1937eaa2b4f60ba9d8aedea1bd2e069ea31aae Mon Sep 17 00:00:00 2001 From: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Date: Tue, 2 Jun 2009 13:01:41 +0200 Subject: [PATCH] cfg80211: add rfkill support Hin-Tak -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html