I've also encountered this on two separate builds, but I found a work around
Switch to he wireless directory, do a make clean and then do a make, this builds all the objects, if you then switch back to the main build it then runs through fine ( the objects are up to date ). I don't use a wireless client so can't comment on if this still allows wireless devices run. Regards Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Urs Rau Sent: 08 January 2005 09:09 To: [email protected] Subject: error in compiling wireless_tools for linuxboot.iso for 4.6 (devel post) Friends, I had somehow missed that there is a devel list and posted my question on the normal list, sorry. I have since removed the whole linuxboot dir and started from scratch on a FC2 machine and still have the same error. when I try to do a make it comes back with: cd wireless_tools.27 \ && make clean \ && make KERNEL_SRC=/usr/local/samba/install/linuxboot/linux-2.6.10 \ CFLAGS="-isystem /usr/local/samba/install/linuxboot/fakeinclude -L/usr/local/samba/install/linuxboot/fakelib -L/usr/local/samba/install/linuxboot/stage1/lib -L/usr/local/samba/install/linuxboot/stage1/usr/lib -Wl,-rpath-link,/usr/local/samba/install/linuxboot/stage1/lib -O2 -Wall" make[1]: Entering directory `/usr/local/samba/install/linuxboot/wireless_tools.27' rm -f *.BAK *.bak *.d *.o *.so ,* *~ *.a *.orig *.rej *.out make[1]: Leaving directory `/usr/local/samba/install/linuxboot/wireless_tools.27' make[1]: Entering directory `/usr/local/samba/install/linuxboot/wireless_tools.27' gcc -isystem /usr/local/samba/install/linuxboot/fakeinclude -L/usr/local/samba/install/linuxboot/fakelib -L/usr/local/samba/install/linuxboot/stage1/lib -L/usr/local/samba/install/linuxboot/stage1/usr/lib -Wl,-rpath-link,/usr/local/samba/install/linuxboot/stage1/lib -O2 -Wall -MMD -fPIC -c -o iwlib.so iwlib.c In file included from iwlib.c:14: iwlib.h:131:22: warning: wireless.h: No such file or directory In file included from iwlib.c:14: iwlib.h:219: error: field `nwid' has incomplete type iwlib.h:224: error: `IW_ENCODING_TOKEN_MAX' undeclared here (not in a function) iwlib.h:229: error: `IW_ESSID_MAX_SIZE' undeclared here (not in a function) iwlib.h:241: error: field `sens' has incomplete type iwlib.h:243: error: `IW_ESSID_MAX_SIZE' undeclared here (not in a function) iwlib.h:247: error: field `bitrate' has incomplete type iwlib.h:249: error: field `rts' has incomplete type iwlib.h:251: error: field `frag' has incomplete type iwlib.h:253: error: field `power' has incomplete type iwlib.h:255: error: field `txpower' has incomplete type iwlib.h:257: error: field `retry' has incomplete type iwlib.h:260: error: field `stats' has incomplete type iwlib.h:262: error: field `range' has incomplete type iwlib.h:281: error: field `stats' has incomplete type iwlib.h:476: warning: `struct iw_event' declared inside parameter list iwlib.h:476: warning: its scope is only this definition or declaration, which is probably not what you want iwlib.h:513: warning: `struct iwreq' declared inside parameter list iwlib.h: In function `iw_set_ext': iwlib.h:516: error: dereferencing pointer to incomplete type iwlib.h: At top level: iwlib.h:529: warning: `struct iwreq' declared inside parameter list iwlib.h: In function `iw_get_ext': iwlib.h:532: error: dereferencing pointer to incomplete type iwlib.c: At top level: iwlib.c:40: error: field `freq' has incomplete type iwlib.c:42: error: field `max_qual' has incomplete type iwlib.c:71: error: field `avg_qual' has incomplete type iwlib.c:82: error: field `range' has incomplete type iwlib.c: In function `print_iface_version_info': iwlib.c:333: error: storage size of `wrq' isn't known iwlib.c:334: error: invalid application of `sizeof' to an incomplete type iwlib.c:342: error: `SIOCGIWNAME' undeclared (first use in this function) iwlib.c:342: error: (Each undeclared identifier is reported only once iwlib.c:342: error: for each function it appears in.) iwlib.c:351: error: `SIOCGIWRANGE' undeclared (first use in this function) iwlib.c:367: error: dereferencing pointer to incomplete type iwlib.c:369: error: dereferencing pointer to incomplete type iwlib.c:333: warning: unused variable `wrq' iwlib.c: In function `iw_get_range_info': iwlib.c:428: error: storage size of `wrq' isn't known iwlib.c:429: error: invalid application of `sizeof' to an incomplete type iwlib.c:438: error: `SIOCGIWRANGE' undeclared (first use in this function) iwlib.c:457: error: invalid application of `sizeof' to an incomplete type iwlib.c:462: error: invalid application of `sizeof' to an incomplete type iwlib.c:469: error: dereferencing pointer to incomplete type iwlib.c:473: error: dereferencing pointer to incomplete type iwlib.c:477: error: dereferencing pointer to incomplete type iwlib.c:481: error: dereferencing pointer to incomplete type iwlib.c:485: error: dereferencing pointer to incomplete type iwlib.c:489: error: dereferencing pointer to incomplete type iwlib.c:493: error: dereferencing pointer to incomplete type iwlib.c:495: error: invalid application of `sizeof' to an incomplete type iwlib.c:504: error: dereferencing pointer to incomplete type iwlib.c:513: error: dereferencing pointer to incomplete type iwlib.c:515: error: dereferencing pointer to incomplete type iwlib.c:521: error: dereferencing pointer to incomplete type iwlib.c:522: error: dereferencing pointer to incomplete type iwlib.c:522: error: dereferencing pointer to incomplete type iwlib.c:524: error: dereferencing pointer to incomplete type iwlib.c:525: error: dereferencing pointer to incomplete type iwlib.c:428: warning: unused variable `wrq' iwlib.c: In function `iw_get_priv_info': iwlib.c:553: error: storage size of `wrq' isn't known iwlib.c:566: error: invalid use of undefined type `struct iw_priv_args' iwlib.c:566: error: dereferencing pointer to incomplete type iwlib.c:578: error: `SIOCGIWPRIV' undeclared (first use in this function) iwlib.c:553: warning: unused variable `wrq' iwlib.c: In function `iw_get_basic_config': iwlib.c:623: error: storage size of `wrq' isn't known iwlib.c:628: error: `SIOCGIWNAME' undeclared (first use in this function) iwlib.c:638: error: `SIOCGIWNWID' undeclared (first use in this function) iwlib.c:641: error: invalid application of `sizeof' to an incomplete type iwlib.c:645: error: `SIOCGIWFREQ' undeclared (first use in this function) iwlib.c:654: error: `IW_ENCODING_TOKEN_MAX' undeclared (first use in this function) iwlib.c:656: error: `SIOCGIWENCODE' undeclared (first use in this function) iwlib.c:665: error: `IW_ESSID_MAX_SIZE' undeclared (first use in this function) iwlib.c:667: error: `SIOCGIWESSID' undeclared (first use in this function) iwlib.c:674: error: `SIOCGIWMODE' undeclared (first use in this function) iwlib.c:623: warning: unused variable `wrq' iwlib.c: In function `iw_set_basic_config': iwlib.c:696: error: storage size of `wrq' isn't known iwlib.c:700: error: `SIOCGIWNAME' undeclared (first use in this function) iwlib.c:713: error: `SIOCSIWMODE' undeclared (first use in this function) iwlib.c:725: error: `SIOCSIWFREQ' undeclared (first use in this function) iwlib.c:738: error: `IW_ENCODE_INDEX' undeclared (first use in this function) iwlib.c:745: error: `SIOCSIWENCODE' undeclared (first use in this function) iwlib.c:776: error: invalid application of `sizeof' to an incomplete type iwlib.c:779: error: `SIOCSIWNWID' undeclared (first use in this function) iwlib.c:797: error: `SIOCSIWESSID' undeclared (first use in this function) iwlib.c:696: warning: unused variable `wrq' iwlib.c: In function `iw_float2freq': iwlib.c:905: error: dereferencing pointer to incomplete type iwlib.c:906: error: dereferencing pointer to incomplete type iwlib.c:908: error: dereferencing pointer to incomplete type iwlib.c:908: error: dereferencing pointer to incomplete type iwlib.c:909: error: dereferencing pointer to incomplete type iwlib.c:913: error: dereferencing pointer to incomplete type iwlib.c:914: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_freq2float': iwlib.c:935: error: dereferencing pointer to incomplete type iwlib.c:935: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_freq_to_channel': iwlib.c:1025: error: dereferencing pointer to incomplete type iwlib.c:1027: error: dereferencing pointer to incomplete type iwlib.c:1029: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_channel_to_freq': iwlib.c:1049: error: dereferencing pointer to incomplete type iwlib.c:1051: error: dereferencing pointer to incomplete type iwlib.c:1051: error: dereferencing pointer to incomplete type iwlib.c:1058: error: dereferencing pointer to incomplete type iwlib.c:1060: error: dereferencing pointer to incomplete type iwlib.c:1062: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_print_txpower': iwlib.c:1176: error: dereferencing pointer to incomplete type iwlib.c:1183: error: dereferencing pointer to incomplete type iwlib.c:1183: error: `IW_TXPOW_RELATIVE' undeclared (first use in this function) iwlib.c:1185: error: dereferencing pointer to incomplete type iwlib.c:1190: error: dereferencing pointer to incomplete type iwlib.c:1190: error: `IW_TXPOW_MWATT' undeclared (first use in this function) iwlib.c:1191: error: dereferencing pointer to incomplete type iwlib.c:1193: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_get_stats': iwlib.c:1215: error: dereferencing pointer to incomplete type iwlib.c:1217: error: storage size of `wrq' isn't known iwlib.c:1219: error: invalid application of `sizeof' to an incomplete type iwlib.c:1222: error: `SIOCGIWSTATS' undeclared (first use in this function) iwlib.c:1217: warning: unused variable `wrq' iwlib.c:1252: error: dereferencing pointer to incomplete type iwlib.c:1256: error: dereferencing pointer to incomplete type iwlib.c:1258: error: dereferencing pointer to incomplete type iwlib.c:1262: error: dereferencing pointer to incomplete type iwlib.c:1264: error: dereferencing pointer to incomplete type iwlib.c:1268: error: dereferencing pointer to incomplete type iwlib.c:1270: error: dereferencing pointer to incomplete type iwlib.c:1273: error: dereferencing pointer to incomplete type iwlib.c:1275: error: dereferencing pointer to incomplete type iwlib.c:1277: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_print_stats': iwlib.c:1327: error: dereferencing pointer to incomplete type iwlib.c:1330: error: dereferencing pointer to incomplete type iwlib.c:1330: error: `IW_QUAL_QUAL_INVALID' undeclared (first use in this function) iwlib.c:1333: error: dereferencing pointer to incomplete type iwlib.c:1333: error: `IW_QUAL_QUAL_UPDATED' undeclared (first use in this function) iwlib.c:1334: error: dereferencing pointer to incomplete type iwlib.c:1334: error: dereferencing pointer to incomplete type iwlib.c:1340: error: dereferencing pointer to incomplete type iwlib.c:1340: error: dereferencing pointer to incomplete type iwlib.c:1343: error: dereferencing pointer to incomplete type iwlib.c:1343: error: `IW_QUAL_LEVEL_INVALID' undeclared (first use in this function) iwlib.c:1346: error: dereferencing pointer to incomplete type iwlib.c:1346: error: `IW_QUAL_LEVEL_UPDATED' undeclared (first use in this function) iwlib.c:1347: error: dereferencing pointer to incomplete type iwlib.c:1353: error: dereferencing pointer to incomplete type iwlib.c:1353: error: `IW_QUAL_NOISE_INVALID' undeclared (first use in this function) iwlib.c:1356: error: dereferencing pointer to incomplete type iwlib.c:1356: error: `IW_QUAL_NOISE_UPDATED' undeclared (first use in this function) iwlib.c:1357: error: dereferencing pointer to incomplete type iwlib.c:1363: error: dereferencing pointer to incomplete type iwlib.c:1366: error: dereferencing pointer to incomplete type iwlib.c:1367: error: dereferencing pointer to incomplete type iwlib.c:1367: error: dereferencing pointer to incomplete type iwlib.c:1373: error: dereferencing pointer to incomplete type iwlib.c:1376: error: dereferencing pointer to incomplete type iwlib.c:1377: error: dereferencing pointer to incomplete type iwlib.c:1377: error: dereferencing pointer to incomplete type iwlib.c:1386: error: dereferencing pointer to incomplete type iwlib.c:1386: error: dereferencing pointer to incomplete type iwlib.c:1386: error: dereferencing pointer to incomplete type iwlib.c: In function `iw_in_key': iwlib.c:1477: error: `IW_ENCODING_TOKEN_MAX' undeclared (first use in this function) iwlib.c: In function `iw_in_key_full': iwlib.c:1559: error: storage size of `range' isn't known iwlib.c:1564: error: `IW_ENCODING_TOKEN_MAX' undeclared (first use in this function) iwlib.c:1587: error: `IW_ENCODE_INDEX' undeclared (first use in this function) iwlib.c:1559: warning: unused variable `range' iwlib.c: In function `iw_print_pm_value': iwlib.c:1639: error: `IW_POWER_TIMEOUT' undeclared (first use in this function) iwlib.c: In function `iw_print_pm_mode': iwlib.c:1683: error: `IW_POWER_MODE' undeclared (first use in this function) iwlib.c:1685: error: `IW_POWER_UNICAST_R' undeclared (first use in this function) iwlib.c:1688: error: `IW_POWER_MULTICAST_R' undeclared (first use in this function) iwlib.c:1691: error: `IW_POWER_ALL_R' undeclared (first use in this function) iwlib.c:1694: error: `IW_POWER_FORCE_S' undeclared (first use in this function) iwlib.c:1697: error: `IW_POWER_REPEATER' undeclared (first use in this function) iwlib.c: In function `iw_print_retry_value': iwlib.c:1727: error: `IW_RETRY_MIN' undeclared (first use in this function) iwlib.c:1732: error: `IW_RETRY_MAX' undeclared (first use in this function) iwlib.c:1739: error: `IW_RETRY_LIFETIME' undeclared (first use in this function) iwlib.c: At top level: iwlib.c:2102: error: invalid application of `sizeof' to an incomplete type iwlib.c: In function `iw_get_priv_size': iwlib.c:2114: error: `IW_PRIV_SIZE_MASK' undeclared (first use in this function) iwlib.c:2115: error: `IW_PRIV_TYPE_MASK' undeclared (first use in this function) iwlib.c: At top level: iwlib.c:2204: error: `IW_EV_LCP_LEN' undeclared here (not in a function) iwlib.c:2204: error: initializer element is not constant iwlib.c:2204: error: (near initialization for `event_type_size[0]') iwlib.c:2206: error: `IW_EV_CHAR_LEN' undeclared here (not in a function) iwlib.c:2206: error: initializer element is not constant iwlib.c:2206: error: (near initialization for `event_type_size[2]') iwlib.c:2208: error: `IW_EV_UINT_LEN' undeclared here (not in a function) iwlib.c:2208: error: initializer element is not constant iwlib.c:2208: error: (near initialization for `event_type_size[4]') iwlib.c:2209: error: `IW_EV_FREQ_LEN' undeclared here (not in a function) iwlib.c:2209: error: initializer element is not constant iwlib.c:2209: error: (near initialization for `event_type_size[5]') iwlib.c:2210: error: `IW_EV_ADDR_LEN' undeclared here (not in a function) iwlib.c:2210: error: initializer element is not constant iwlib.c:2210: error: (near initialization for `event_type_size[6]') iwlib.c:2212: error: `IW_EV_POINT_LEN' undeclared here (not in a function) iwlib.c:2212: error: initializer element is not constant iwlib.c:2212: error: (near initialization for `event_type_size[8]') iwlib.c:2213: error: `IW_EV_PARAM_LEN' undeclared here (not in a function) iwlib.c:2213: error: initializer element is not constant iwlib.c:2213: error: (near initialization for `event_type_size[9]') iwlib.c:2214: error: `IW_EV_QUAL_LEN' undeclared here (not in a function) iwlib.c:2214: error: initializer element is not constant iwlib.c:2214: error: (near initialization for `event_type_size[10]') iwlib.c:2246: warning: `struct iw_event' declared inside parameter list iwlib.c:2247: error: conflicting types for `iw_extract_event_stream' iwlib.h:476: error: previous declaration of `iw_extract_event_stream' iwlib.c: In function `iw_extract_event_stream': iwlib.c:2258: error: `IW_EV_LCP_LEN' undeclared (first use in this function) iwlib.c:2276: error: dereferencing pointer to incomplete type iwlib.c:2280: error: dereferencing pointer to incomplete type iwlib.c:2280: error: `SIOCIWLAST' undeclared (first use in this function) iwlib.c:2282: error: dereferencing pointer to incomplete type iwlib.c:2282: error: `SIOCIWFIRST' undeclared (first use in this function) iwlib.c:2288: error: dereferencing pointer to incomplete type iwlib.c:2288: error: `IWEVFIRST' undeclared (first use in this function) iwlib.c:2296: error: dereferencing pointer to incomplete type iwlib.c:2302: error: dereferencing pointer to incomplete type iwlib.c:2322: error: dereferencing pointer to incomplete type iwlib.c:2327: error: dereferencing pointer to incomplete type iwlib.c:2339: error: dereferencing pointer to incomplete type iwlib.c:2341: error: dereferencing pointer to incomplete type iwlib.c:2344: error: dereferencing pointer to incomplete type iwlib.c:2347: error: dereferencing pointer to incomplete type iwlib.c:2352: error: dereferencing pointer to incomplete type iwlib.c:2359: error: dereferencing pointer to incomplete type iwlib.c: At top level: iwlib.c:2401: warning: `struct iw_event' declared inside parameter list iwlib.c: In function `iw_process_scanning_token': iwlib.c:2406: error: dereferencing pointer to incomplete type iwlib.c:2408: error: `SIOCGIWAP' undeclared (first use in this function) iwlib.c:2423: error: dereferencing pointer to incomplete type iwlib.c:2425: error: `SIOCGIWNWID' undeclared (first use in this function) iwlib.c:2427: error: dereferencing pointer to incomplete type iwlib.c:2427: error: invalid application of `sizeof' to an incomplete type iwlib.c:2429: error: `SIOCGIWFREQ' undeclared (first use in this function) iwlib.c:2431: error: dereferencing pointer to incomplete type iwlib.c:2432: error: dereferencing pointer to incomplete type iwlib.c:2434: error: `SIOCGIWMODE' undeclared (first use in this function) iwlib.c:2435: error: dereferencing pointer to incomplete type iwlib.c:2439: error: `SIOCGIWESSID' undeclared (first use in this function) iwlib.c:2441: error: dereferencing pointer to incomplete type iwlib.c:2442: error: dereferencing pointer to incomplete type iwlib.c:2442: error: dereferencing pointer to incomplete type iwlib.c:2443: error: dereferencing pointer to incomplete type iwlib.c:2443: error: dereferencing pointer to incomplete type iwlib.c:2444: error: dereferencing pointer to incomplete type iwlib.c:2446: error: `SIOCGIWENCODE' undeclared (first use in this function) iwlib.c:2448: error: dereferencing pointer to incomplete type iwlib.c:2449: error: dereferencing pointer to incomplete type iwlib.c:2450: error: dereferencing pointer to incomplete type iwlib.c:2451: error: dereferencing pointer to incomplete type iwlib.c:2451: error: dereferencing pointer to incomplete type iwlib.c:2455: error: `IWEVQUAL' undeclared (first use in this function) iwlib.c:2458: error: dereferencing pointer to incomplete type iwlib.c:2458: error: invalid application of `sizeof' to an incomplete type iwlib.c:2460: error: `SIOCGIWRATE' undeclared (first use in this function) iwlib.c:2463: error: `IWEVCUSTOM' undeclared (first use in this function) iwlib.c: In function `iw_process_scan': iwlib.c:2487: error: storage size of `wrq' isn't known iwlib.c:2489: error: `IW_SCAN_MAX_DATA' undeclared (first use in this function) iwlib.c:2507: error: `SIOCSIWSCAN' undeclared (first use in this function) iwlib.c:2530: error: `SIOCGIWSCAN' undeclared (first use in this function) iwlib.c:2569: error: storage size of `iwe' isn't known iwlib.c:2569: warning: unused variable `iwe' iwlib.c:2487: warning: unused variable `wrq' make[1]: *** [iwlib.so] Error 1 make[1]: Leaving directory `/usr/local/samba/install/linuxboot/wireless_tools.27' make: *** [wireless_tools.27/iwconfig] Error 2 What can I do? Why do the 4.6 released files not re-build? Thanks. Urs Rau ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender immediately by telephoning +44(1684) 278700. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ unattended-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/unattended-devel
