Compilation error during the make of wpa_supplicant..
Srikanth RB
srikanth.rb
Wed Sep 12 21:24:08 PDT 2007
All,
The below issue could be resolves with following two changes...
1. File: net80211/ieee80211_ioctl.h
Modify the include "#include <linux/if.h>" to "#include <net/if.h>"
2. File: wpa_supplicant-0.5.8/ctrl_iface.c
Use "#include <config_none.c>"
Regards
Srikanth
-----Original Message-----
From: Srikanth RB [mailto:srikanth.rb at semsoftindia-samsung.com]
Sent: Wednesday, September 12, 2007 10:13 AM
To: hostap at shmoo.com
Subject: Compilation error during the make of wpa_supplicant..
Importance: High
Hi All,
this is to bring into your notice that, I'm getting this error during the
make of wpa suppicant.If any of you have come across witht the same
issue...pls give me a glimpse on the fix.
The error is:
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:21: 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:133: 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:154: 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?
make: *** [driver_madwifi.o] Error 1
Regards
Srikanth
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information.
If you are not the intended recipient, please notify the sender at
Samsung Electro-Mechanics Co. Ltd. or admin at semsoftindia-samsung.com
immediately and destroy all copies of this message and any attachments.
Any unauthorized review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly prohibited and may be unlawful.
More information about the Hostap
mailing list