Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4991 closed defect (fixed)

madwifi compile error

Reported by: ruff <rufferson@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: madwifi headers types Cc:


madwifi's headers seems to be reorderd and fails to compile.
With these fixes and patches it compiles

ruff@merlin ~/openwrt/kamikadze/package/madwifi $ svn diff
Index: Makefile
--- Makefile    (revision 15346)
+++ Makefile    (working copy)
@@ -177,6 +177,7 @@
        -I$(PKG_BUILD_DIR)/ath_hal \
        -I$(PKG_BUILD_DIR)/net80211 \
        -I$(STAGING_DIR)/usr/include \
+       -include $(LINUX_DIR)/include/linux/types.h\
        -include $(PKG_BUILD_DIR)/include/compat.h

ruff@merlin ~/openwrt/kamikadze/package/madwifi $ cat patches/421-iee80211_xauth_fix.patch
--- a/net80211/ieee80211_xauth.c   2009-04-23 15:29:43.000000000 +0300
+++ b/net80211/ieee80211_xauth.c   2009-04-23 15:28:28.000000000 +0300
@@ -54,9 +54,9 @@
 #include <linux/init.h>
 #include <linux/skbuff.h>
 #include <linux/netdevice.h>
+#include <linux/in.h>
 #include <linux/netfilter.h>
 #include <linux/sysctl.h>
-#include <linux/in.h>

 #include "if_media.h"
 #include "if_llc.h"

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r15354

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.