Compiling problems with RedHat

jar at pcuf.fi jar
Wed Dec 4 07:19:04 PST 2002


>   Can you just copy and paste the errors into a reply? It'll be long,
> but I would still like to see them, and others may too.

Ok here it is:

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

Regards, Jar







More information about the Hostap mailing list