Re: wlansniff compilation


From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-05-28 16:50:13 UTC



On Sun, May 19, 2002 at 09:21:43PM +0200, Andreas Jellinghaus wrote:

> btw, the sniff/ directory of todays version failed to compile for me:

> In file included from ieee80211.h:8,
> from management.c:4:
> ../driver/modules/prism2_wlan.h:709: parse error before `caddr_t'

I haven't compiled 'sniff' directory for a while and it was not up to date with the changes in prism2_wlan.h. Following patch should fix this:

diff -u -r1.2 management.c

--- management.c	17 Dec 2001 17:25:10 -0000	1.2
+++ management.c	28 May 2002 16:43:19 -0000
@@ -1,5 +1,7 @@
+#include <stdlib.h>
 #include <stdio.h>
 #include <ctype.h>
+#include <linux/if_ether.h>
 

 #include "ieee80211.h"  

-- 
Jouni Malinen                                            PGP id EFC895FA


This archive was generated by hypermail 2.1.4.