WPA Supplicant-0.5.8 compilation Issues
maloomnahi at indiatimes.com
maloomnahi at indiatimes.com
Mon Sep 10 08:04:19 EDT 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