Hostapd Compile problem

marcb at softhome.net marcb
Tue Oct 15 14:41:30 PDT 2002


Hi, 

I'm trying to compile the userspace hostap daemon but I'm getting compile 
errors no matter what I try doing...   I'm sure this is a really simple 
problem but I'm just missing something.... 

What I've done so far... 

Defined DPRISM2_HOSTAPD in the driver hostap_config.h
Successfully compiled, installed and used the driver modules
Editted hostapd Makefile to set the Linux source directory correctly... 

Type make 

And I get the following output (below). 

Any help would be greatly appreciated... 

Regards,
Marc 

make
gcc -O2 -Wall -g -I/usr/src/linux-2.4.18-14/include -DHOSTAPD_DUMP_STATE   
 -c -o hostapd.o hostapd.c
In file included from /usr/src/linux-2.4.18-14/include/linux/wireless.h:70,
                from hostapd.c:27:
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:18: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:18: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:19: warning: type defaults 
to `int' in declaration of `supported'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:19: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:20: parse error before 
"advertising"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:20: warning: type defaults 
to `int' in declaration of `advertising'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:20: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:21: parse error before 
"speed"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:21: warning: type defaults 
to `int' in declaration of `speed'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:21: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:22: parse error before 
"duplex"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:22: warning: type defaults 
to `int' in declaration of `duplex'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:22: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:23: parse error before 
"port"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:23: warning: type defaults 
to `int' in declaration of `port'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:23: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:24: parse error before 
"phy_address"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:24: warning: type defaults 
to `int' in declaration of `phy_address'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:24: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:25: parse error before 
"transceiver"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:25: warning: type defaults 
to `int' in declaration of `transceiver'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:25: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:26: parse error before 
"autoneg"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:26: warning: type defaults 
to `int' in declaration of `autoneg'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:26: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:27: parse error before 
"maxtxpkt"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:27: warning: type defaults 
to `int' in declaration of `maxtxpkt'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:27: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:28: parse error before 
"maxrxpkt"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:28: warning: type defaults 
to `int' in declaration of `maxrxpkt'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:28: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:29: parse error before 
"reserved"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:29: warning: type defaults 
to `int' in declaration of `reserved'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:29: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:30: parse error before '}' 
token
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:35: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:35: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:43: parse error before 
"testinfo_len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:43: warning: type defaults 
to `int' in declaration of `testinfo_len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:43: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:44: parse error before 
"eedump_len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:44: warning: type defaults 
to `int' in declaration of `eedump_len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:44: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:45: parse error before 
"regdump_len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:45: warning: type defaults 
to `int' in declaration of `regdump_len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:45: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:51: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:51: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:52: warning: type defaults 
to `int' in declaration of `supported'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:52: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:53: parse error before 
"wolopts"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:53: warning: type defaults 
to `int' in declaration of `wolopts'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:53: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:54: parse error before 
"sopass"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:54: warning: type defaults 
to `int' in declaration of `sopass'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:54: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:55: parse error before '}' 
token
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:59: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:59: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:60: warning: type defaults 
to `int' in declaration of `data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:60: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:65: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:65: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:66: warning: type defaults 
to `int' in declaration of `version'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:66: conflicting types for 
`version'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:37: previous declaration of 
`version'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:66: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:67: parse error before 
"len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:67: warning: type defaults 
to `int' in declaration of `len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:67: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:68: parse error before 
"data"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:68: warning: type defaults 
to `int' in declaration of `data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:68: conflicting types for 
`data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:60: previous declaration of 
`data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:68: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:69: parse error before '}' 
token
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:73: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:73: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:74: warning: type defaults 
to `int' in declaration of `magic'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:74: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:75: parse error before 
"offset"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:75: warning: type defaults 
to `int' in declaration of `offset'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:75: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:76: parse error before 
"len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:76: warning: type defaults 
to `int' in declaration of `len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:76: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:77: parse error before 
"data"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:77: warning: type defaults 
to `int' in declaration of `data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:77: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:78: parse error before '}' 
token
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:82: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:82: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:88: warning: type defaults 
to `int' in declaration of `rx_coalesce_usecs'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:88: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:96: parse error before 
"rx_max_coalesced_frames"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:96: warning: type defaults 
to `int' in declaration of `rx_max_coalesced_frames'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:96: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:103: parse error before 
"rx_coalesce_usecs_irq"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:103: warning: type defaults 
to `int' in declaration of `rx_coalesce_usecs_irq'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:103: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:104: parse error before 
"rx_max_coalesced_frames_irq"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:104: warning: type defaults 
to `int' in declaration of `rx_max_coalesced_frames_irq'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:104: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:110: parse error before 
"tx_coalesce_usecs"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:110: warning: type defaults 
to `int' in declaration of `tx_coalesce_usecs'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:110: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:118: parse error before 
"tx_max_coalesced_frames"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:118: warning: type defaults 
to `int' in declaration of `tx_max_coalesced_frames'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:118: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:125: parse error before 
"tx_coalesce_usecs_irq"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:125: warning: type defaults 
to `int' in declaration of `tx_coalesce_usecs_irq'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:125: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:126: parse error before 
"tx_max_coalesced_frames_irq"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:126: warning: type defaults 
to `int' in declaration of `tx_max_coalesced_frames_irq'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:126: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:133: parse error before 
"stats_block_coalesce_usecs"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:133: warning: type defaults 
to `int' in declaration of `stats_block_coalesce_usecs'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:133: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:142: parse error before 
"use_adaptive_rx_coalesce"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:142: warning: type defaults 
to `int' in declaration of `use_adaptive_rx_coalesce'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:142: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:143: parse error before 
"use_adaptive_tx_coalesce"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:143: warning: type defaults 
to `int' in declaration of `use_adaptive_tx_coalesce'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:143: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:149: parse error before 
"pkt_rate_low"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:149: warning: type defaults 
to `int' in declaration of `pkt_rate_low'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:149: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:150: parse error before 
"rx_coalesce_usecs_low"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:150: warning: type defaults 
to `int' in declaration of `rx_coalesce_usecs_low'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:150: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:151: parse error before 
"rx_max_coalesced_frames_low"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:151: warning: type defaults 
to `int' in declaration of `rx_max_coalesced_frames_low'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:151: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:152: parse error before 
"tx_coalesce_usecs_low"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:152: warning: type defaults 
to `int' in declaration of `tx_coalesce_usecs_low'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:152: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:153: parse error before 
"tx_max_coalesced_frames_low"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:153: warning: type defaults 
to `int' in declaration of `tx_max_coalesced_frames_low'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:153: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:164: parse error before 
"pkt_rate_high"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:164: warning: type defaults 
to `int' in declaration of `pkt_rate_high'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:164: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:165: parse error before 
"rx_coalesce_usecs_high"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:165: warning: type defaults 
to `int' in declaration of `rx_coalesce_usecs_high'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:165: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:166: parse error before 
"rx_max_coalesced_frames_high"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:166: warning: type defaults 
to `int' in declaration of `rx_max_coalesced_frames_high'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:166: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:167: parse error before 
"tx_coalesce_usecs_high"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:167: warning: type defaults 
to `int' in declaration of `tx_coalesce_usecs_high'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:167: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:168: parse error before 
"tx_max_coalesced_frames_high"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:168: warning: type defaults 
to `int' in declaration of `tx_max_coalesced_frames_high'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:168: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:173: parse error before 
"rate_sample_interval"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:173: warning: type defaults 
to `int' in declaration of `rate_sample_interval'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:173: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:178: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:178: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:184: warning: type defaults 
to `int' in declaration of `rx_max_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:184: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:185: parse error before 
"rx_mini_max_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:185: warning: type defaults 
to `int' in declaration of `rx_mini_max_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:185: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:186: parse error before 
"rx_jumbo_max_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:186: warning: type defaults 
to `int' in declaration of `rx_jumbo_max_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:186: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:187: parse error before 
"tx_max_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:187: warning: type defaults 
to `int' in declaration of `tx_max_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:187: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:192: parse error before 
"rx_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:192: warning: type defaults 
to `int' in declaration of `rx_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:192: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:193: parse error before 
"rx_mini_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:193: warning: type defaults 
to `int' in declaration of `rx_mini_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:193: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:194: parse error before 
"rx_jumbo_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:194: warning: type defaults 
to `int' in declaration of `rx_jumbo_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:194: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:195: parse error before 
"tx_pending"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:195: warning: type defaults 
to `int' in declaration of `tx_pending'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:195: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:200: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:200: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:212: warning: type defaults 
to `int' in declaration of `autoneg'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:212: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:213: parse error before 
"rx_pause"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:213: warning: type defaults 
to `int' in declaration of `rx_pause'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:213: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:214: parse error before 
"tx_pause"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:214: warning: type defaults 
to `int' in declaration of `tx_pause'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:214: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:225: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:225: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:226: warning: type defaults 
to `int' in declaration of `string_set'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:226: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:227: parse error before 
"len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:227: warning: type defaults 
to `int' in declaration of `len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:227: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:228: parse error before 
"data"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:228: warning: type defaults 
to `int' in declaration of `data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:228: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:229: parse error before '}' 
token
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:238: parse error before 
"u32"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:238: warning: no semicolon 
at end of struct or union
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:239: warning: type defaults 
to `int' in declaration of `flags'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:239: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:240: parse error before 
"reserved"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:240: warning: type defaults 
to `int' in declaration of `reserved'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:240: conflicting types for 
`reserved'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:29: previous declaration of 
`reserved'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:240: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:241: parse error before 
"len"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:241: warning: type defaults 
to `int' in declaration of `len'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:241: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:242: parse error before 
"data"
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:242: warning: type defaults 
to `int' in declaration of `data'
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:242: warning: data 
definition has no type or storage class
/usr/src/linux-2.4.18-14/include/linux/ethtool.h:243: parse error before '}' 
token
In file included from hostapd.c:34:
hostapd.h:52: unnamed fields of type other than struct or union are not 
allowed
make: *** [hostapd.o] Error 1




More information about the Hostap mailing list