Compilation error during the make of wpa_supplicant..
Wed Sep 12 21:24:08 PDT 2007
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>"
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..
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,
/usr/include/linux/uio.h:21: error: redefinition of ?struct iovec?
In file included from /usr/include/linux/if.h:23,
/usr/include/linux/socket.h:133: error: conflicting types for
/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
/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
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