devicescape headers changed.

miknix miknix
Mon Dec 18 12:13:32 PST 2006


When compiling hostapd-0.6-2006-12-15 with dscape included in latest rt2x00.

I get this:
gcc -MMD -O2 -Wall -g -DHOSTAPD_DUMP_STATE -I. -I../utils -I.
-I/usr/src/linux/include -I/usr/src/rt2x00/ieee80211 -D_LINUX_TYPES_H
-DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_RSN_PREAUTH
-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_DEVICESCAPE -DINTERNAL_AES
-DINTERNAL_SHA1 -DINTERNAL_SHA256 -DINTERNAL_MD5 -DCONFIG_IPV6   -c -o
driver_devicescape.o driver_devicescape.c
driver_devicescape.c:41:31: warning: net/d80211_common.h: No such file or
directory
driver_devicescape.c:42:31: warning: net/d80211_shared.h: No such file or
directory
driver_devicescape.c: In function `i802_set_rate_sets':
driver_devicescape.c:234: error: `MODE_IEEE80211A' undeclared (first use in
this function)
driver_devicescape.c:234: error: (Each undeclared identifier is reported
only once
driver_devicescape.c:234: error: for each function it appears in.)
driver_devicescape.c:237: error: `MODE_IEEE80211B' undeclared (first use in
this function)
driver_devicescape.c:240: error: `MODE_IEEE80211G' undeclared (first use in
this function)
driver_devicescape.c: In function `i802_set_freq':
driver_devicescape.c:364: error: `MODE_IEEE80211A' undeclared (first use in
this function)
driver_devicescape.c:367: error: `MODE_IEEE80211B' undeclared (first use in
this function)
driver_devicescape.c:370: error: `MODE_IEEE80211G' undeclared (first use in
this function)
driver_devicescape.c: In function `i802_set_channel_flag':
driver_devicescape.c:738: error: `MODE_IEEE80211A' undeclared (first use in
this function)
driver_devicescape.c:741: error: `MODE_IEEE80211B' undeclared (first use in
this function)
driver_devicescape.c:744: error: `MODE_IEEE80211G' undeclared (first use in
this function)
driver_devicescape.c: In function `i802_get_hw_feature_data':
driver_devicescape.c:1131: error: `MODE_IEEE80211A' undeclared (first use in
this function)
driver_devicescape.c:1134: error: `MODE_IEEE80211B' undeclared (first use in
this function)
driver_devicescape.c:1137: error: `MODE_IEEE80211G' undeclared (first use in
this function)
driver_devicescape.c: At top level:
driver_devicescape.c:1193: warning: "struct ieee80211_frame_info" declared
inside parameter list
driver_devicescape.c:1193: warning: its scope is only this definition or
declaration, which is probably not what you want
driver_devicescape.c:1308: warning: "struct ieee80211_frame_info" declared
inside parameter list
driver_devicescape.c: In function `dump_frame_info':
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1312: error: dereferencing pointer to incomplete type
driver_devicescape.c:1316: error: dereferencing pointer to incomplete type
driver_devicescape.c:1317: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1318: error: dereferencing pointer to incomplete type
driver_devicescape.c:1320: error: dereferencing pointer to incomplete type
driver_devicescape.c:1321: error: dereferencing pointer to incomplete type
driver_devicescape.c:1322: error: dereferencing pointer to incomplete type
driver_devicescape.c:1323: error: dereferencing pointer to incomplete type
driver_devicescape.c:1324: error: dereferencing pointer to incomplete type
driver_devicescape.c:1325: error: dereferencing pointer to incomplete type
driver_devicescape.c:1326: error: dereferencing pointer to incomplete type
driver_devicescape.c:1327: error: dereferencing pointer to incomplete type
driver_devicescape.c:1328: error: dereferencing pointer to incomplete type
driver_devicescape.c:1329: error: dereferencing pointer to incomplete type
driver_devicescape.c:1330: error: dereferencing pointer to incomplete type
driver_devicescape.c: At top level:
driver_devicescape.c:1351: warning: "struct ieee80211_frame_info" declared
inside parameter list
driver_devicescape.c: In function `handle_frame':
driver_devicescape.c:1360: error: dereferencing pointer to incomplete type
driver_devicescape.c:1364: error: `ieee80211_msg_set_aid_for_sta' undeclared
(first use in this function)
driver_devicescape.c:1370: error: `ieee80211_msg_key_threshold_notification'
undeclared (first use in this function)
driver_devicescape.c:1381: error: `ieee80211_msg_sta_not_assoc' undeclared
(first use in this function)
driver_devicescape.c:1422: error: `ieee80211_msg_passive_scan' undeclared
(first use in this function)
driver_devicescape.c:1431: error: `ieee80211_msg_normal' undeclared (first
use in this function)
driver_devicescape.c:1435: error: `ieee80211_msg_tx_callback_ack' undeclared
(first use in this function)
driver_devicescape.c:1438: error: `ieee80211_msg_tx_callback_fail'
undeclared (first use in this function)
driver_devicescape.c:1441: error: `ieee80211_msg_wep_frame_unknown_key'
undeclared (first use in this function)
driver_devicescape.c:1444: error: `ieee80211_msg_michael_mic_failure'
undeclared (first use in this function)
driver_devicescape.c:1462: error: dereferencing pointer to incomplete type
driver_devicescape.c:1463: error: dereferencing pointer to incomplete type
driver_devicescape.c:1464: error: dereferencing pointer to incomplete type
driver_devicescape.c:1465: error: dereferencing pointer to incomplete type
driver_devicescape.c:1466: error: dereferencing pointer to incomplete type
driver_devicescape.c: In function `handle_read':
driver_devicescape.c:1514: error: invalid application of `sizeof' to
incomplete type `ieee80211_frame_info'
driver_devicescape.c:1521: error: dereferencing pointer to incomplete type
driver_devicescape.c:1521: error: `IEEE80211_FI_VERSION' undeclared (first
use in this function)
driver_devicescape.c:1523: warning: passing arg 1 of `dump_frame_info' from
incompatible pointer type
driver_devicescape.c:1528: error: invalid application of `sizeof' to
incomplete type `ieee80211_frame_info'
driver_devicescape.c:1529: error: invalid application of `sizeof' to
incomplete type `ieee80211_frame_info'
driver_devicescape.c:1530: warning: passing arg 4 of `handle_frame' from
incompatible pointer type
make: *** [driver_devicescape.o] Error 1

Since begining of december, I think, I could not compile hostapd anymore
with none of the rt2x00 snapshots.



On 12/18/06, Dan Williams <dcbw at redhat.com> wrote:
>
> On Mon, 2006-12-18 at 19:24 +0000, miknix wrote:
> > Hi there.
> >
> > Devicescape has unified net/d80211_common.h and net/d80211_shared.h
> > into d80211.h. Could someone update driver_devicescape to reflect
> > these changes? The rt2x00 development team is using this version for a
> > while..
>
> And the rt2x00 team is not using driver_wext for what exact reason?
>
> Dan
>
> > About the hostapd cvs repos. I cannot checkout sources using anonymous
> > access, is it working?
> >
> > Thank you.
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20061218/6859af5a/attachment.htm 



More information about the Hostap mailing list