[Klug-general] Compiling hostapd

Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk
Mon Oct 2 09:44:44 BST 2006


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



More information about the Kent mailing list