On 02/01/2012 08:32 PM, Alfonso Fiore wrote: > Hi, > > I tried to download and compile compat-wireless from git: > > git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git clone git://github.com/mcgrof/compat.git > git clone git://github.com/mcgrof/compat-wireless.git > > export GIT_TREE=/storage/wireless/linux-next/ > export GIT_COMPAT_TREE=/storage/wireless/compat/ > > cd compat-wireless-2.6 > > ./scripts/admin-clean.sh > ./scripts/admin-update.sh (this command is successful) > ./scripts/driver-select > ./scripts/driver-select rt2x00 This is all correct. > > make > > I get the "same" error: > > $ make > ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h > make -C /lib/modules/3.2.0-interlaced2+/build > M=/storage/wireless/compat-wireless modules > make[1]: Entering directory `/home/alfonso/tests/kernel/linux_keithp' > LD /storage/wireless/compat-wireless/compat/built-in.o > CC [M] /storage/wireless/compat-wireless/compat/main.o > In file included from > /storage/wireless/compat-wireless/include/linux/compat-2.6.h:40:0, > from <command-line>:0: > /storage/wireless/compat-wireless/include/linux/compat-3.3.h:11:20: > error: static declaration of âskb_complete_wifi_ackâ follows > non-static declaration > include/linux/skbuff.h:2260:6: note: previous declaration of > âskb_complete_wifi_ackâ was here > /storage/wireless/compat-wireless/include/linux/compat-3.3.h:17:13: > error: conflicting types for ânetdev_features_tâ > include/linux/netdev_features.h:15:13: note: previous declaration of > ânetdev_features_tâ was here > make[3]: *** [/storage/wireless/compat-wireless/compat/main.o] Error 1 > make[2]: *** [/storage/wireless/compat-wireless/compat] Error 2 > make[1]: *** [_module_/storage/wireless/compat-wireless] Error 2 > make[1]: Leaving directory `/home/alfonso/tests/kernel/linux_keithp' > make: *** [modules] Error 2 > > Any help is greatly appreciated. > > regards, > alfonso What kernel are you compiling against? skb_complete_wifi_ack() is not declared in linux kernel 3.2.2, just in 3.3-rc2. It looks like the kernel you are compiling against has some modifications conflicting with compat-wireless. Hauke -- 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