[Klug-general] Compiling hostapd

George Prowse cokehabit at gmail.com
Mon Oct 2 10:04:04 BST 2006


Matthew Macdonald-Wallace wrote:
> Hi all,
>
> I'm currently trying to compile that latest version of hostapd against 
> the git kernel sources and I keep getting the following error that I 
> just can't solve:
>
> In file included from driver.c:21:
> /usr/src/linux/include/linux/if_ether.h:107: error: syntax error 
> before "__be16"
> /usr/src/linux/include/linux/if_ether.h:107: warning: no semicolon at 
> end of struct or union
> /usr/src/linux/include/linux/if_ether.h:108: warning: empty declaration
> In file included from driver.c:22:
> /usr/src/linux/include/linux/if_arp.h:133: error: syntax error before 
> "__be16"
> /usr/src/linux/include/linux/if_arp.h:133: warning: no semicolon at 
> end of struct or union
> /usr/src/linux/include/linux/if_arp.h:134: warning: type defaults to 
> `int' in declaration of `ar_pro'
> /usr/src/linux/include/linux/if_arp.h:134: warning: data definition 
> has no type or storage class
> /usr/src/linux/include/linux/if_arp.h:137: error: syntax error before 
> "ar_op"
> /usr/src/linux/include/linux/if_arp.h:137: warning: type defaults to 
> `int' in declaration of `ar_op'
> /usr/src/linux/include/linux/if_arp.h:137: warning: data definition 
> has no type or storage class
> make: *** [driver.o] Error 1
>
>
>
> I've tried looking at this file, but I don't have enough knowledge to 
> change it so that this compile works.  This error also occurrs with 
> the gentoo stable sources, so I really don't know what to look at... :(
>
> Any ideas?
>
> Cheers,
>
> Matt
>
> _______________________________________________
> Kent mailing list
> Kent at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/kent
>
2 questions, first one silly:


1) have you got the proper dependencies? (IAPP perhaps)
2) what are your LDFLAGS

George



More information about the Kent mailing list