On Nov 14, 2007 1:02 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote: > Hello, Luis! > > On Tue, 2007-11-13 at 18:10 -0500, Luis R. Rodriguez wrote: > > > I ran into to this but I had fixed it in compat.diff. Anyway, this > > won't be necessary anymore as the directories match the kernel's now. > > OK, that's much better now. > > > > After some hack to make it compile, I still get: > > > > > > CC [M] /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.o > > > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:6: warning: > > > "LINUX_VERSION_CODE" is not defined > > > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:28: > > > warning: "KERNEL_VERSION" is not defined > > > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:42: error: > > > missing binary operator before token "(" > > > > I'm not sure what happened here as <linux/version.h> should have been > > included in mac80211.h. Anyway, to be sure we won't run into these > > I've added <net/compat.h> to <net/cfg80211.h> which much of the > > wireless subsystem uses. > > This problem is still there. I think the best approach would be to > "force-feed" compat.h to the compiler. It already includes > linux/version.h, but since it's the first header, it needs > linux/autoconf.h. > > The following patch works for me. The compat.diff patch can be cleaned > up, but it's a separate issue. > > > Force inclusion of compat.h first. > > Include linux/autoconf.h before other headers. > > Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]>
Thanks, applied. More in the next e-mail. Luis _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel