WPA Supplicant-0.5.8 compilation Issues
maloomnahi at indiatimes.com
maloomnahi
Mon Sep 10 05:04:19 PDT 2007
Hi,
I am compiling the wpa_supplicant-0.5.8 with madwfi-0.9.3.1 driver on a linux machine with TPLINK PCI AR5212 card. Following are the errors received after setting the .config and Makefile as per README and this website forum.
In file included from /usr/include/linux/socket.h:23,
from /usr/include/linux/if.h:23,
from /root/Srini/madwifi-0.9.3.1/net80211/ieee80211_ioctl.h:508,
from driver_madwifi.c:35:
/usr/include/linux/uio.h:20: error: redefinition of ?struct iovec?
In file included from /usr/include/linux/if.h:23,
from /root/Srini/madwifi-0.9.3.1/net80211/ieee80211_ioctl.h:508,
from driver_madwifi.c:35:
/usr/include/linux/socket.h:38: error: redefinition of ?struct sockaddr?
/usr/include/linux/socket.h:43: error: redefinition of ?struct linger?
/usr/include/linux/socket.h:56: error: redefinition of ?struct msghdr?
/usr/include/linux/socket.h:72: error: redefinition of ?struct cmsghdr?
/usr/include/linux/socket.h:129: error: conflicting types for ?__cmsg_nxthdr?
/usr/include/bits/socket.h:271: error: previous definition of ?__cmsg_nxthdr? was here
/usr/include/linux/socket.h:150: error: redefinition of ?struct ucred?
In file included from /root/Srini/madwifi-0.9.3.1/net80211/ieee80211_ioctl.h:508,
from driver_madwifi.c:35:
/usr/include/linux/if.h:117: error: redefinition of ?struct ifmap?
/usr/include/linux/if.h:153: error: redefinition of ?struct ifreq?
/usr/include/linux/if.h:203: error: redefinition of ?struct ifconf?
Is this a norm or I am msising any settings? Since the errors on system header files I am bit skeptical of changing anything as of now. What is your recommendation / solution for the same?
Thanks in advance
PPN
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
More information about the Hostap
mailing list