network card driver install problem (broadcom)

Rajesh rajeshb at frontline.com.au
Tue Jan 4 23:52:26 UTC 2005



Hi Rick,

When I run rpmbuild -bb SPECS/bcm4400.spec I get the following error
messages:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77348 
+ umask 022 
+ cd /usr/src/redhat/BUILD 
+ cd /usr/src/redhat/BUILD 
+ rm -rf bcm4400-3.0.8 
+ /bin/mkdir -p bcm4400-3.0.8 
+ cd bcm4400-3.0.8 
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-3.0.8.tgz 
+ tar -xvvf - 
-r--r--r-- root/root     38701 2004-08-06 04:09:48 b44.h 
-r--r--r-- root/root     64573 2004-08-06 04:09:48 b44lm.c 
-r--r--r-- root/root     17494 2004-08-06 04:09:48 b44lm.h 
-r--r--r-- root/root      8474 2004-08-06 04:09:48 b44mm.h 
-r--r--r-- root/root     10300 2004-08-06 04:09:48 b44proc.c 
-r--r--r-- root/root     11645 2004-08-06 04:09:48 b44queue.h 
-r--r--r-- root/root     53148 2004-08-06 04:09:48 b44um.c 
-r--r--r-- root/root      6047 2004-08-06 04:09:48 bcm4400.4 
-r--r--r-- root/root      2900 2004-08-06 04:09:48 DISTRIB.TXT 
-r--r--r-- root/root     15153 2004-08-06 04:09:48 LICENSE 
-r--r--r-- root/root      3100 2004-08-06 04:09:48 Makefile 
-r--r--r-- root/root      7987 2004-08-06 04:09:48 README.TXT 
-r--r--r-- root/root      8296 2004-08-06 04:09:48 RELEASE.TXT 
+ STATUS=0 
+ '[' 0 -ne 0 ']' 
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/bcm4400-3.0.8.tgz 
+ tar -xvvf - 
-r--r--r-- root/root     38701 2004-08-06 04:09:48 b44.h 
-r--r--r-- root/root     64573 2004-08-06 04:09:48 b44lm.c 
-r--r--r-- root/root     17494 2004-08-06 04:09:48 b44lm.h 
-r--r--r-- root/root      8474 2004-08-06 04:09:48 b44mm.h 
-r--r--r-- root/root     10300 2004-08-06 04:09:48 b44proc.c 
-r--r--r-- root/root     11645 2004-08-06 04:09:48 b44queue.h 
-r--r--r-- root/root     53148 2004-08-06 04:09:48 b44um.c 
-r--r--r-- root/root      6047 2004-08-06 04:09:48 bcm4400.4 
-r--r--r-- root/root      2900 2004-08-06 04:09:48 DISTRIB.TXT 
-r--r--r-- root/root     15153 2004-08-06 04:09:48 LICENSE 
-r--r--r-- root/root      3100 2004-08-06 04:09:48 Makefile 
-r--r--r-- root/root      7987 2004-08-06 04:09:48 README.TXT 
-r--r--r-- root/root      8296 2004-08-06 04:09:48 RELEASE.TXT 
+ STATUS=0 
+ '[' 0 -ne 0 ']' 
++ /usr/bin/id -u 
+ '[' 0 = 0 ']' 
+ /bin/chown -Rhf root . 
++ /usr/bin/id -u 
+ '[' 0 = 0 ']' 
+ /bin/chgrp -Rhf root . 
+ /bin/chmod -Rf a+rX,g-w,o-w . 
+ exit 0 
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77348 
+ umask 022 
+ cd /usr/src/redhat/BUILD 
+ cd bcm4400-3.0.8 
+ make 
gcc -DMODULE -D__KERNEL__ -DDBG=0 -Wall -Wstrict-prototypes -O6
-I/usr/src/linux/include   -c -o b44um.o b44um.c 
In file included from /usr/include/linux/fs.h:23, 
                 from /usr/include/linux/capability.h:17, 
                 from /usr/include/linux/binfmts.h:5, 
                 from /usr/include/linux/sched.h:9, 
                 from b44mm.h:42, 
                 from b44um.c:57: 
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in
userland! 
In file included from /usr/include/linux/sched.h:14, 
                 from b44mm.h:42, 
                 from b44um.c:57: 
/usr/include/linux/timex.h:173: field `time' has incomplete type 
In file included from /usr/include/linux/bitops.h:69, 
                 from /usr/include/asm/system.h:7, 
                 from /usr/include/linux/sched.h:16, 
                 from b44mm.h:42, 
                 from b44um.c:57: 
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not
available on all architectures. 
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in
userspace: atomicity not guaranteed 
In file included from /usr/include/linux/signal.h:4, 
                 from /usr/include/linux/sched.h:25, 
                 from b44mm.h:42, 
                 from b44um.c:57: 
/usr/include/asm/signal.h:107: parse error before "sigset_t" 
/usr/include/asm/signal.h:110: parse error before '}' token 
In file included from /usr/include/linux/sched.h:81, 
                 from b44mm.h:42, 
                 from b44um.c:57: 
/usr/include/linux/timer.h:45: parse error before "spinlock_t" 
/usr/include/linux/timer.h:53: parse error before '}' token 
/usr/include/linux/timer.h:67: parse error before "tvec_base_t" 
/usr/include/linux/timer.h:101: parse error before "tvec_bases" 
/usr/include/linux/timer.h: In function `init_timer': 
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type 
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type 
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type 
/usr/include/linux/timer.h: In function `timer_pending': 
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type 
In file included from b44mm.h:48, 
                 from b44um.c:57: 
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or
directory 
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or
directory 
In file included from b44mm.h:48, 
                 from b44um.c:57: 
/usr/include/linux/interrupt.h: At top level: 
/usr/include/linux/interrupt.h:77: parse error before '(' token 
/usr/include/linux/interrupt.h:78: parse error before '(' token 
/usr/include/linux/interrupt.h:106: parse error before "atomic_t" 
/usr/include/linux/interrupt.h:109: parse error before '}' token 
/usr/include/linux/interrupt.h:127: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function) 
/usr/include/linux/interrupt.h:127: requested alignment is not a constant 
/usr/include/linux/interrupt.h:154: parse error before '(' token 
/usr/include/linux/interrupt.h: In function `tasklet_schedule': 
/usr/include/linux/interrupt.h:158: dereferencing pointer to incomplete type

/usr/include/linux/interrupt.h: At top level: 
/usr/include/linux/interrupt.h:162: parse error before '(' token 
/usr/include/linux/interrupt.h: In function `tasklet_hi_schedule': 
/usr/include/linux/interrupt.h:166: dereferencing pointer to incomplete type

/usr/include/linux/interrupt.h: In function `tasklet_disable_nosync': 
/usr/include/linux/interrupt.h:173: dereferencing pointer to incomplete type

/usr/include/linux/interrupt.h: In function `tasklet_enable': 
/usr/include/linux/interrupt.h:187: dereferencing pointer to incomplete type

/usr/include/linux/interrupt.h: In function `tasklet_hi_enable': 
/usr/include/linux/interrupt.h:193: dereferencing pointer to incomplete type

/usr/include/linux/interrupt.h: At top level: 
/usr/include/linux/interrupt.h:224: parse error before "global_bh_lock" 
/usr/include/linux/interrupt.h: In function `mark_bh': 
/usr/include/linux/interrupt.h:228: invalid use of undefined type `struct
tasklet_struct' 
In file included from /usr/include/linux/highmem.h:5, 
                 from /usr/include/linux/skbuff.h:26, 
                 from b44mm.h:53, 
                 from b44um.c:57: 
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory 
In file included from /usr/include/linux/highmem.h:5, 
                 from /usr/include/linux/skbuff.h:26, 
                 from b44mm.h:53, 
                 from b44um.c:57: 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:57: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `get_pgd_slow': 
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only
once 
/usr/include/asm/pgalloc.h:59: for each function it appears in.) 
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)

/usr/include/asm/pgalloc.h:59: parse error before ')' token 
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use in
this function) 
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in
this function) 
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:70: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `get_pgd_fast': 
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h:80: parse error before ')' token 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:83: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `free_pgd_fast': 
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)

/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:90: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `free_pgd_slow': 
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)

/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:103: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `pte_alloc_one': 
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h:109: parse error before ')' token 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:118: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast': 
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h:127: parse error before ')' token 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:130: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `pte_free_fast': 
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h: At top level: 
/usr/include/asm/pgalloc.h:137: parse error before '*' token 
/usr/include/asm/pgalloc.h: In function `pte_free_slow': 
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm': 
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h: In function `flush_tlb_page': 
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type 
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this
function) 
/usr/include/asm/pgalloc.h: In function `flush_tlb_range': 
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this
function) 
In file included from b44mm.h:53, 
                 from b44um.c:57: 
/usr/include/linux/skbuff.h: At top level: 
/usr/include/linux/skbuff.h:100: parse error before "spinlock_t" 
/usr/include/linux/skbuff.h:120: parse error before "atomic_t" 
/usr/include/linux/skbuff.h:124: parse error before '}' token 
/usr/include/linux/skbuff.h:183: parse error before "atomic_t" 
/usr/include/linux/skbuff.h:189: conflicting types for `data' 
/usr/include/linux/interrupt.h:108: previous declaration of `data' 
/usr/include/linux/skbuff.h:215: parse error before '}' token 
In file included from b44mm.h:58, 
                 from b44um.c:57: 
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory 
In file included from b44um.c:57: 
b44mm.h:63:25: asm/uaccess.h: No such file or directory 
In file included from b44um.c:57: 
b44mm.h:92: parse error before "MM_ATOMIC_T" 
b44mm.h:92: warning: type defaults to `int' in declaration of `MM_ATOMIC_T' 
b44mm.h:92: warning: data definition has no type or storage class 
In file included from b44lm.h:19, 
                 from b44mm.h:104, 
                 from b44um.c:57: 
b44queue.h:48: parse error before "MM_ATOMIC_T" 
b44queue.h:48: warning: no semicolon at end of struct or union 
b44queue.h:50: parse error before '}' token 
b44queue.h:50: warning: type defaults to `int' in declaration of
`QQ_CONTAINER' 
b44queue.h:50: warning: type defaults to `int' in declaration of
`PQQ_CONTAINER' 
b44queue.h:50: warning: data definition has no type or storage class 
b44queue.h:89: parse error before "pQueue" 
b44queue.h:90: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_InitQueue': 
b44queue.h:91: `pQueue' undeclared (first use in this function) 
b44queue.h:93: `QueueSize' undeclared (first use in this function) 
b44queue.h:94: warning: implicit declaration of function `atomic_set' 
b44queue.h: At top level: 
b44queue.h:106: parse error before "pQueue" 
b44queue.h:106: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_Full': 
b44queue.h:109: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:123: parse error before "pQueue" 
b44queue.h:123: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_Empty': 
b44queue.h:124: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:136: parse error before "pQueue" 
b44queue.h:136: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_GetSize': 
b44queue.h:137: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:149: parse error before "pQueue" 
b44queue.h:149: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_GetEntryCnt': 
b44queue.h:150: warning: implicit declaration of function `atomic_read' 
b44queue.h:150: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:164: parse error before "pQueue" 
b44queue.h:165: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_PushHead': 
b44queue.h:168: `pQueue' undeclared (first use in this function) 
b44queue.h:176: `pEntry' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:195: parse error before "pQueue" 
b44queue.h:196: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_PushTail': 
b44queue.h:199: `pQueue' undeclared (first use in this function) 
b44queue.h:211: `pEntry' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:228: parse error before "pQueue" 
b44queue.h:228: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_PopHead': 
b44queue.h:232: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:262: parse error before "pQueue" 
b44queue.h:262: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_PopTail': 
b44queue.h:266: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:291: parse error before "pQueue" 
b44queue.h:293: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_GetHead': 
b44queue.h:294: `Idx' undeclared (first use in this function) 
b44queue.h:294: `pQueue' undeclared (first use in this function) 
b44queue.h: At top level: 
b44queue.h:321: parse error before "pQueue" 
b44queue.h:323: warning: function declaration isn't a prototype 
b44queue.h: In function `QQ_GetTail': 
b44queue.h:324: `Idx' undeclared (first use in this function) 
b44queue.h:324: `pQueue' undeclared (first use in this function) 
In file included from b44mm.h:106, 
                 from b44um.c:57: 
b44.h: At top level: 
b44.h:904: parse error before "QQ_CONTAINER" 
b44.h:904: warning: no semicolon at end of struct or union 
b44.h:904: parse error before '}' token 
b44.h:904: warning: type defaults to `int' in declaration of
`LM_RX_PACKET_Q' 
b44.h:904: warning: type defaults to `int' in declaration of
`PLM_RX_PACKET_Q' 
b44.h:904: warning: data definition has no type or storage class 
b44.h:905: parse error before "QQ_CONTAINER" 
b44.h:905: warning: no semicolon at end of struct or union 
b44.h:905: parse error before '}' token 
b44.h:905: warning: type defaults to `int' in declaration of
`LM_TX_PACKET_Q' 
b44.h:905: warning: type defaults to `int' in declaration of
`PLM_TX_PACKET_Q' 
b44.h:905: warning: data definition has no type or storage class 
b44.h:955: parse error before "LM_RX_PACKET_Q" 
b44.h:955: warning: no semicolon at end of struct or union 
b44.h:956: warning: type defaults to `int' in declaration of
`RxPacketReceivedQ' 
b44.h:956: warning: data definition has no type or storage class 
b44.h:957: parse error before "TxPacketFreeQ" 
b44.h:957: warning: type defaults to `int' in declaration of `TxPacketFreeQ'

b44.h:957: warning: data definition has no type or storage class 
b44.h:958: parse error before "TxPacketXmittedQ" 
b44.h:958: warning: type defaults to `int' in declaration of
`TxPacketXmittedQ' 
b44.h:958: warning: data definition has no type or storage class 
b44.h:963: parse error before "SendDescLeft" 
b44.h:963: warning: type defaults to `int' in declaration of `SendDescLeft' 
b44.h:963: warning: data definition has no type or storage class 
b44.h:1097: parse error before '}' token 
b44.h:1097: warning: type defaults to `int' in declaration of
`LM_DEVICE_BLOCK' 
b44.h:1097: warning: data definition has no type or storage class 
In file included from b44um.c:57: 
b44mm.h:118: parse error before "QQ_CONTAINER" 
b44mm.h:118: warning: no semicolon at end of struct or union 
b44mm.h:118: conflicting types for `EntryBuffer' 
b44.h:905: previous declaration of `EntryBuffer' 
b44mm.h:118: parse error before '}' token 
b44mm.h:118: warning: type defaults to `int' in declaration of
`UM_RX_PACKET_Q' 
b44mm.h:118: warning: type defaults to `int' in declaration of
`PUM_RX_PACKET_Q' 
b44mm.h:118: warning: data definition has no type or storage class 
b44mm.h:227: parse error before "LM_DEVICE_BLOCK" 
b44mm.h:227: warning: no semicolon at end of struct or union 
b44mm.h:240: warning: built-in function `index' declared as non-function 
b44mm.h:248: parse error before "rx_out_of_buf_q" 
b44mm.h:248: warning: type defaults to `int' in declaration of
`rx_out_of_buf_q' 
b44mm.h:248: warning: data definition has no type or storage class 
b44mm.h:252: parse error before "phy_lock" 
b44mm.h:252: warning: type defaults to `int' in declaration of `phy_lock' 
b44mm.h:252: warning: data definition has no type or storage class 
b44mm.h:254: parse error before "intr_sem" 
b44mm.h:254: warning: type defaults to `int' in declaration of `intr_sem' 
b44mm.h:254: warning: data definition has no type or storage class 
b44mm.h:260: parse error before '}' token 
b44mm.h:260: warning: type defaults to `int' in declaration of
`UM_DEVICE_BLOCK' 
b44mm.h:260: warning: type defaults to `int' in declaration of
`PUM_DEVICE_BLOCK' 
b44mm.h:260: warning: data definition has no type or storage class 
b44mm.h:266: parse error before "DECLARE_PCI_UNMAP_ADDR" 
b44mm.h:266: warning: no semicolon at end of struct or union 
b44mm.h:272: warning: type defaults to `int' in declaration of `UM_PACKET' 
b44mm.h:272: warning: type defaults to `int' in declaration of `PUM_PACKET' 
b44mm.h:272: warning: data definition has no type or storage class 
b44mm.h: In function `b44_MM_MapRxDma': 
b44mm.h:281: warning: implicit declaration of function `pci_map_single' 
b44mm.h:281: dereferencing pointer to incomplete type 
b44mm.h:284: `PCI_DMA_FROMDEVICE' undeclared (first use in this function) 
b44mm.h:285: warning: implicit declaration of function `pci_unmap_addr_set' 
b44mm.h:285: subscripted value is neither array nor pointer 
b44mm.h: In function `b44_MM_MapTxDma': 
b44mm.h:294: dereferencing pointer to incomplete type 
b44mm.h:296: dereferencing pointer to incomplete type 
b44mm.h:297: dereferencing pointer to incomplete type 
b44mm.h:298: dereferencing pointer to incomplete type 
b44mm.h:299: `PCI_DMA_TODEVICE' undeclared (first use in this function) 
b44mm.h:300: subscripted value is neither array nor pointer 
b44mm.h:302: dereferencing pointer to incomplete type 
b44um.c: At top level: 
b44um.c:63: conflicting types for `line_speed' 
b44mm.h:247: previous declaration of `line_speed' 
b44um.c:224: parse error before "pUmDevice" 
b44um.c:225: warning: function declaration isn't a prototype 
b44um.c: In function `bcm4400_intr_off': 
b44um.c:226: `pUmDevice' undeclared (first use in this function) 
b44um.c:231: warning: implicit declaration of function `synchronize_irq' 
b44um.c: At top level: 
b44um.c:236: parse error before "pUmDevice" 
b44um.c:237: warning: function declaration isn't a prototype 
b44um.c: In function `bcm4400_intr_on': 
b44um.c:238: warning: implicit declaration of function `atomic_dec_and_test'

b44um.c:238: `pUmDevice' undeclared (first use in this function) 
b44um.c: At top level: 
b44um.c:286: parse error before "pUmDevice" 
b44um.c:286: warning: function declaration isn't a prototype 
b44um.c:288: parse error before '*' token 
b44um.c:288: warning: function declaration isn't a prototype 
b44um.c:312: elements of array `bcm4400_pci_tbl' have incomplete type 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:313: warning: excess elements in struct initializer 
b44um.c:313: warning: (near initialization for `bcm4400_pci_tbl[0]') 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:314: warning: excess elements in struct initializer 
b44um.c:314: warning: (near initialization for `bcm4400_pci_tbl[1]') 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: `PCI_ANY_ID' undeclared here (not in a function) 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:315: warning: excess elements in struct initializer 
b44um.c:315: warning: (near initialization for `bcm4400_pci_tbl[2]') 
b44um.c:316: warning: excess elements in struct initializer 
b44um.c:316: warning: (near initialization for `bcm4400_pci_tbl[3]') 
b44um.c:319: sizeof applied to an incomplete type 
b44um.c: In function `bcm4400_init_board': 
b44um.c:332: parse error before "pUmDevice" 
b44um.c:342: warning: implicit declaration of function `init_etherdev' 
b44um.c:342: `pUmDevice' undeclared (first use in this function) 
b44um.c:342: warning: assignment makes pointer from integer without a cast 
b44um.c:345: warning: implicit declaration of function `printk' 
b44um.c:345: `KERN_ERR' undeclared (first use in this function) 
b44um.c:345: parse error before string constant 
b44um.c:353: parse error before "dev" 
b44um.c:356: warning: implicit declaration of function `pci_enable_device' 
b44um.c:360: warning: implicit declaration of function `pci_request_regions'

b44um.c:364: warning: implicit declaration of function `pci_set_master' 
b44um.c:366: warning: implicit declaration of function `pci_set_dma_mask' 
b44um.c:367: parse error before string constant 
b44um.c:368: warning: implicit declaration of function `pci_release_regions'

b44um.c:372: warning: implicit declaration of function `spin_lock_init' 
b44um.c:384: parse error before string constant 
b44um.c:389: dereferencing pointer to incomplete type 
b44um.c:389: warning: implicit declaration of function `pci_resource_start' 
b44um.c:390: dereferencing pointer to incomplete type 
b44um.c:390: dereferencing pointer to incomplete type 
b44um.c:391: dereferencing pointer to incomplete type 
b44um.c:391: dereferencing pointer to incomplete type 
b44um.c:402: warning: implicit declaration of function `unregister_netdev' 
b44um.c:403: warning: implicit declaration of function `kfree' 
b44um.c: In function `bcm4400_print_ver': 
b44um.c:413: `KERN_INFO' undeclared (first use in this function) 
b44um.c:413: parse error before string constant 
b44um.c: In function `bcm4400_init_one': 
b44um.c:424: parse error before "pUmDevice" 
b44um.c:449: dereferencing pointer to incomplete type 
b44um.c:450: dereferencing pointer to incomplete type 
b44um.c:451: dereferencing pointer to incomplete type 
b44um.c:452: dereferencing pointer to incomplete type 
b44um.c:453: dereferencing pointer to incomplete type 
b44um.c:454: dereferencing pointer to incomplete type 
b44um.c:455: dereferencing pointer to incomplete type 
b44um.c:457: dereferencing pointer to incomplete type 
b44um.c:458: dereferencing pointer to incomplete type 
b44um.c:465: `pUmDevice' undeclared (first use in this function) 
b44um.c:465: parse error before "dev" 
b44um.c:468: dereferencing pointer to incomplete type 
b44um.c:469: dereferencing pointer to incomplete type 
b44um.c:469: dereferencing pointer to incomplete type 
b44um.c:478: warning: implicit declaration of function `pci_set_drvdata' 
b44um.c:480: dereferencing pointer to incomplete type 
b44um.c:480: dereferencing pointer to incomplete type 
b44um.c:481: dereferencing pointer to incomplete type 
b44um.c:482: `KERN_INFO' undeclared (first use in this function) 
b44um.c:482: parse error before string constant 
b44um.c:487: dereferencing pointer to incomplete type 
b44um.c:498: warning: implicit declaration of function `pci_find_device' 
b44um.c:498: warning: assignment makes pointer from integer without a cast 
b44um.c:502: warning: implicit declaration of function
`pci_read_config_dword' 
b44um.c:504: warning: implicit declaration of function
`pci_write_config_dword' 
b44um.c:505: parse error before string constant 
b44um.c: In function `bcm4400_remove_one': 
b44um.c:516: warning: implicit declaration of function `pci_get_drvdata' 
b44um.c:516: warning: initialization makes pointer from integer without a
cast 
b44um.c:517: parse error before "pUmDevice" 
b44um.c:524: `pUmDevice' undeclared (first use in this function) 
b44um.c:525: warning: implicit declaration of function `iounmap' 
b44um.c: In function `bcm4400_open': 
b44um.c:546: parse error before "pUmDevice" 
b44um.c:547: `pUmDevice' undeclared (first use in this function) 
b44um.c:551: warning: implicit declaration of function `request_irq' 
b44um.c:551: dereferencing pointer to incomplete type 
b44um.c:551: `SA_SHIRQ' undeclared (first use in this function) 
b44um.c:551: dereferencing pointer to incomplete type 
b44um.c:557: warning: implicit declaration of function `free_irq' 
b44um.c:557: dereferencing pointer to incomplete type 
b44um.c:562: dereferencing pointer to incomplete type 
b44um.c:562: dereferencing pointer to incomplete type 
b44um.c:563: dereferencing pointer to incomplete type 
b44um.c:568: warning: implicit declaration of function `netif_start_queue' 
b44um.c:575: `jiffies' undeclared (first use in this function) 
b44um.c: In function `bcm4400_timer': 
b44um.c:592: parse error before "pUmDevice" 
b44um.c:593: `pUmDevice' undeclared (first use in this function) 
b44um.c:599: `jiffies' undeclared (first use in this function) 
b44um.c:607: dereferencing pointer to incomplete type 
b44um.c:611: warning: implicit declaration of function `__raw_readl' 
b44um.c:611: dereferencing pointer to incomplete type 
b44um.c:612: warning: implicit declaration of function `__raw_writel' 
b44um.c:612: dereferencing pointer to incomplete type 
b44um.c:627: dereferencing pointer to incomplete type 
b44um.c:631: dereferencing pointer to incomplete type 
b44um.c:634: dereferencing pointer to incomplete type 
b44um.c:591: warning: unused variable `dev' 
b44um.c: In function `bcm4400_tx_timeout': 
b44um.c:651: parse error before "pUmDevice" 
b44um.c:652: `pUmDevice' undeclared (first use in this function) 
b44um.c:654: warning: implicit declaration of function `netif_stop_queue' 
b44um.c:657: dereferencing pointer to incomplete type 
b44um.c:657: dereferencing pointer to incomplete type 
b44um.c:658: dereferencing pointer to incomplete type 
b44um.c:662: warning: implicit declaration of function `netif_wake_queue' 
b44um.c: In function `bcm4400_start_xmit': 
b44um.c:668: parse error before "pUmDevice" 
b44um.c:669: `pUmDevice' undeclared (first use in this function) 
b44um.c:671: parse error before "pUmPacket" 
b44um.c:673: dereferencing pointer to incomplete type 
b44um.c:674: dereferencing pointer to incomplete type 
b44um.c:674: dereferencing pointer to incomplete type 
b44um.c:676: warning: implicit declaration of function `dev_kfree_skb' 
b44um.c:687: dereferencing pointer to incomplete type 
b44um.c:691: dereferencing pointer to incomplete type 
b44um.c:697: `pUmPacket' undeclared (first use in this function) 
b44um.c:697: parse error before "pPacket" 
b44um.c:700: dereferencing pointer to incomplete type 
b44um.c:703: dereferencing pointer to incomplete type 
b44um.c:704: dereferencing pointer to incomplete type 
b44um.c:718: dereferencing pointer to incomplete type 
b44um.c:718: `jiffies' undeclared (first use in this function) 
b44um.c: In function `bcm4400_interrupt': 
b44um.c:766: parse error before "pUmDevice" 
b44um.c:767: `pUmDevice' undeclared (first use in this function) 
b44um.c:773: dereferencing pointer to incomplete type 
b44um.c:784: `KERN_ERR' undeclared (first use in this function) 
b44um.c:784: parse error before string constant 
b44um.c:818: dereferencing pointer to incomplete type 
b44um.c: In function `bcm4400_close': 
b44um.c:854: parse error before "pUmDevice" 
b44um.c:855: `pUmDevice' undeclared (first use in this function) 
b44um.c:864: warning: implicit declaration of function `netif_carrier_off' 
b44um.c:871: dereferencing pointer to incomplete type 
b44um.c:875: dereferencing pointer to incomplete type 
b44um.c:880: dereferencing pointer to incomplete type 
b44um.c: At top level: 
b44um.c:895: parse error before '*' token 
b44um.c:896: warning: function declaration isn't a prototype 
b44um.c: In function `bcm4400_free_remaining_rx_bufs': 
b44um.c:897: `pDevice' undeclared (first use in this function) 
b44um.c:897: `pUmDevice' undeclared (first use in this function) 
b44um.c:898: `pUmPacket' undeclared (first use in this function) 
b44um.c: In function `bcm4400_freemem': 
b44um.c:918: parse error before "pUmDevice" 
b44um.c:920: `pUmDevice' undeclared (first use in this function) 
b44um.c:925: warning: implicit declaration of function `pci_free_consistent'

b44um.c: In function `bcm4400_get_stats': 
b44um.c:938: parse error before "pUmDevice" 
b44um.c:939: `pDevice' undeclared (first use in this function) 
b44um.c:939: `pUmDevice' undeclared (first use in this function) 
b44um.c: In function `netdev_ethtool_ioctl': 
b44um.c:1029: parse error before "pUmDevice" 
b44um.c:1030: `pUmDevice' undeclared (first use in this function) 
b44um.c:1033: warning: implicit declaration of function `copy_from_user' 
b44um.c:1047: warning: implicit declaration of function `copy_to_user' 
b44um.c:1072: dereferencing pointer to incomplete type 
b44um.c:1077: dereferencing pointer to incomplete type 
b44um.c:1082: dereferencing pointer to incomplete type 
b44um.c:1088: dereferencing pointer to incomplete type 
b44um.c:1094: dereferencing pointer to incomplete type 
b44um.c:1100: dereferencing pointer to incomplete type 
b44um.c:1117: warning: implicit declaration of function `capable' 
b44um.c:1120: dereferencing pointer to incomplete type 
b44um.c:1121: dereferencing pointer to incomplete type 
b44um.c:1122: dereferencing pointer to incomplete type 
b44um.c:1129: dereferencing pointer to incomplete type 
b44um.c:1133: dereferencing pointer to incomplete type 
b44um.c:1140: dereferencing pointer to incomplete type 
b44um.c:1142: dereferencing pointer to incomplete type 
b44um.c:1146: dereferencing pointer to incomplete type 
b44um.c:1150: warning: implicit declaration of function `spin_lock_irqsave' 
b44um.c:1152: warning: implicit declaration of function
`spin_unlock_irqrestore' 
b44um.c:1161: dereferencing pointer to incomplete type 
b44um.c:1184: dereferencing pointer to incomplete type 
b44um.c:1187: dereferencing pointer to incomplete type 
b44um.c:1197: dereferencing pointer to incomplete type 
b44um.c:1212: dereferencing pointer to incomplete type 
b44um.c: In function `bcm4400_ioctl': 
b44um.c:1271: parse error before "pUmDevice" 
b44um.c:1272: `pUmDevice' undeclared (first use in this function) 
b44um.c:1282: dereferencing pointer to incomplete type 
b44um.c: In function `bcm4400_set_rx_mode': 
b44um.c:1317: parse error before "pUmDevice" 
b44um.c:1318: `pUmDevice' undeclared (first use in this function) 
b44um.c:1323: dereferencing pointer to incomplete type 
b44um.c:1323: dereferencing pointer to incomplete type 
b44um.c:1324: dereferencing pointer to incomplete type 
b44um.c:1325: dereferencing pointer to incomplete type 
b44um.c:1327: dereferencing pointer to incomplete type 
b44um.c:1328: dereferencing pointer to incomplete type 
b44um.c:1330: dereferencing pointer to incomplete type 
b44um.c:1333: dereferencing pointer to incomplete type 
b44um.c:1335: dereferencing pointer to incomplete type 
b44um.c:1337: dereferencing pointer to incomplete type 
b44um.c:1338: dereferencing pointer to incomplete type 
b44um.c:1340: dereferencing pointer to incomplete type 
b44um.c:1343: dereferencing pointer to incomplete type 
b44um.c:1345: dereferencing pointer to incomplete type 
b44um.c:1323: warning: value computed is not used 
b44um.c:1323: warning: value computed is not used 
b44um.c: In function `bcm4400_set_mac_addr': 
b44um.c:1355: dereferencing pointer to incomplete type 
b44um.c:1357: warning: implicit declaration of function `netif_running' 
b44um.c:1359: dereferencing pointer to incomplete type 
b44um.c:1359: dereferencing pointer to incomplete type 
b44um.c:1360: dereferencing pointer to incomplete type 
b44um.c: In function `bcm4400_suspend': 
b44um.c:1449: parse error before "pUmDevice" 
b44um.c:1450: `pUmDevice' undeclared (first use in this function) 
b44um.c:1461: warning: implicit declaration of function
`netif_device_detach' 
b44um.c:1468: dereferencing pointer to incomplete type 
b44um.c: In function `bcm4400_resume': 
b44um.c:1491: parse error before "pUmDevice" 
b44um.c:1492: `pUmDevice' undeclared (first use in this function) 
b44um.c:1501: warning: implicit declaration of function
`netif_device_attach' 
b44um.c:1503: dereferencing pointer to incomplete type 
b44um.c:1503: dereferencing pointer to incomplete type 
b44um.c:1504: dereferencing pointer to incomplete type 
b44um.c: At top level: 
b44um.c:1514: variable `bcm4400_pci_driver' has initializer but incomplete
type 
b44um.c:1515: unknown field `name' specified in initializer 
b44um.c:1515: warning: excess elements in struct initializer 
b44um.c:1515: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c:1516: unknown field `id_table' specified in initializer 
b44um.c:1516: warning: excess elements in struct initializer 
b44um.c:1516: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c:1517: unknown field `probe' specified in initializer 
b44um.c:1517: warning: excess elements in struct initializer 
b44um.c:1517: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c:1518: unknown field `remove' specified in initializer 
b44um.c:1518: warning: implicit declaration of function `__devexit_p' 
b44um.c:1518: warning: excess elements in struct initializer 
b44um.c:1518: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c:1519: unknown field `suspend' specified in initializer 
b44um.c:1519: warning: excess elements in struct initializer 
b44um.c:1519: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c:1520: unknown field `resume' specified in initializer 
b44um.c:1520: warning: excess elements in struct initializer 
b44um.c:1520: warning: (near initialization for `bcm4400_pci_driver') 
b44um.c: In function `bcm4400_init_module': 
b44um.c:1526: warning: implicit declaration of function `pci_module_init' 
b44um.c: In function `bcm4400_cleanup_module': 
b44um.c:1532: warning: implicit declaration of function
`pci_unregister_driver' 
b44um.c: In function `b44_MM_ReadConfig16': 
b44um.c:1563: `pUmDevice' undeclared (first use in this function) 
b44um.c:1565: parse error before ')' token 
b44um.c:1566: warning: implicit declaration of function
`pci_read_config_word' 
b44um.c: In function `b44_MM_ReadConfig32': 
b44um.c:1574: `pUmDevice' undeclared (first use in this function) 
b44um.c:1576: parse error before ')' token 
b44um.c: In function `b44_MM_WriteConfig16': 
b44um.c:1585: `pUmDevice' undeclared (first use in this function) 
b44um.c:1587: parse error before ')' token 
b44um.c:1588: warning: implicit declaration of function
`pci_write_config_word' 
b44um.c: In function `b44_MM_WriteConfig32': 
b44um.c:1596: `pUmDevice' undeclared (first use in this function) 
b44um.c:1598: parse error before ')' token 
b44um.c: In function `b44_MM_AllocateSharedMemory': 
b44um.c:1608: parse error before "pUmDevice" 
b44um.c:1611: warning: implicit declaration of function
`pci_alloc_consistent' 
b44um.c:1611: `pUmDevice' undeclared (first use in this function) 
b44um.c:1612: warning: assignment makes pointer from integer without a cast 
b44um.c: In function `b44_MM_AllocateMemory': 
b44um.c:1630: parse error before "pUmDevice" 
b44um.c:1638: warning: implicit declaration of function `kmalloc' 
b44um.c:1638: `GFP_KERNEL' undeclared (first use in this function) 
b44um.c:1638: warning: assignment makes pointer from integer without a cast 
b44um.c:1642: `pUmDevice' undeclared (first use in this function) 
b44um.c:1652: `KERN_WARNING' undeclared (first use in this function) 
b44um.c:1652: parse error before string constant 
b44um.c: In function `b44_MM_MapMemBase': 
b44um.c:1659: parse error before "pUmDevice" 
b44um.c:1661: dereferencing pointer to incomplete type 
b44um.c:1661: warning: implicit declaration of function `ioremap_nocache' 
b44um.c:1662: `pUmDevice' undeclared (first use in this function) 
b44um.c: In function `b44_MM_InitializeUmPackets': 
b44um.c:1672: parse error before "pUmDevice" 
b44um.c:1676: dereferencing pointer to incomplete type 
b44um.c:1677: dereferencing pointer to incomplete type 
b44um.c:1678: `pUmPacket' undeclared (first use in this function) 
b44um.c:1678: parse error before "pPacket" 
b44um.c:1680: `KERN_DEBUG' undeclared (first use in this function) 
b44um.c:1680: parse error before string constant 
b44um.c:1682: warning: implicit declaration of function `dev_alloc_skb' 
b44um.c:1682: warning: assignment makes pointer from integer without a cast 
b44um.c:1685: `pUmDevice' undeclared (first use in this function) 
b44um.c:1689: dereferencing pointer to incomplete type 
b44um.c:1690: dereferencing pointer to incomplete type 
b44um.c:1691: warning: implicit declaration of function `skb_reserve' 
b44um.c:1691: dereferencing pointer to incomplete type 
b44um.c:1692: dereferencing pointer to incomplete type 
b44um.c:1694: dereferencing pointer to incomplete type 
b44um.c:1695: dereferencing pointer to incomplete type 
b44um.c: In function `b44_MM_GetConfig': 
b44um.c:1703: parse error before "pUmDevice" 
b44um.c:1704: `pUmDevice' undeclared (first use in this function) 
b44um.c:1707: dereferencing pointer to incomplete type 
b44um.c:1709: dereferencing pointer to incomplete type 
b44um.c:1712: dereferencing pointer to incomplete type 
b44um.c:1713: dereferencing pointer to incomplete type 
b44um.c:1717: dereferencing pointer to incomplete type 
b44um.c:1720: dereferencing pointer to incomplete type 
b44um.c:1724: dereferencing pointer to incomplete type 
b44um.c:1727: dereferencing pointer to incomplete type 
b44um.c:1730: dereferencing pointer to incomplete type 
b44um.c:1731: dereferencing pointer to incomplete type 
b44um.c:1732: `KERN_WARNING' undeclared (first use in this function) 
b44um.c:1732: parse error before string constant 
b44um.c:1736: dereferencing pointer to incomplete type 
b44um.c:1738: dereferencing pointer to incomplete type 
b44um.c:1741: dereferencing pointer to incomplete type 
b44um.c:1744: dereferencing pointer to incomplete type 
b44um.c:1746: dereferencing pointer to incomplete type 
b44um.c:1750: dereferencing pointer to incomplete type 
b44um.c:1756: parse error before string constant 
b44um.c:1767: parse error before string constant 
b44um.c:1773: dereferencing pointer to incomplete type 
b44um.c:1777: parse error before string constant 
b44um.c:1783: dereferencing pointer to incomplete type 
b44um.c:1787: dereferencing pointer to incomplete type 
b44um.c: In function `b44_MM_IndicateRxPackets': 
b44um.c:1796: parse error before "pUmDevice" 
b44um.c:1798: parse error before "pUmPacket" 
b44um.c:1804: dereferencing pointer to incomplete type 
b44um.c:1807: `pUmPacket' undeclared (first use in this function) 
b44um.c:1807: parse error before "pPacket" 
b44um.c:1809: warning: implicit declaration of function `pci_unmap_single' 
b44um.c:1809: `pUmDevice' undeclared (first use in this function) 
b44um.c:1810: warning: implicit declaration of function `pci_unmap_addr' 
b44um.c:1810: `map' undeclared (first use in this function) 
b44um.c:1812: `PCI_DMA_FROMDEVICE' undeclared (first use in this function) 
b44um.c:1821: dereferencing pointer to incomplete type 
b44um.c:1827: warning: implicit declaration of function `skb_put' 
b44um.c:1828: dereferencing pointer to incomplete type 
b44um.c:1829: dereferencing pointer to incomplete type 
b44um.c:1829: warning: implicit declaration of function `eth_type_trans' 
b44um.c:1829: dereferencing pointer to incomplete type 
b44um.c:1830: dereferencing pointer to incomplete type 
b44um.c:1834: warning: implicit declaration of function `netif_rx' 
b44um.c:1841: warning: assignment makes pointer from integer without a cast 
b44um.c:1848: dereferencing pointer to incomplete type 
b44um.c:1849: dereferencing pointer to incomplete type 
b44um.c:1850: dereferencing pointer to incomplete type 
b44um.c:1851: dereferencing pointer to incomplete type 
b44um.c: At top level: 
b44um.c:1860: parse error before "pUmDevice" 
b44um.c:1861: warning: function declaration isn't a prototype 
b44um.c: In function `bcm4400_rxfill': 
b44um.c:1863: parse error before "pUmPacket" 
b44um.c:1864: `pUmDevice' undeclared (first use in this function) 
b44um.c:1872: `pUmPacket' undeclared (first use in this function) 
b44um.c:1873: parse error before "QQ_PopHead" 
b44um.c:1877: dereferencing pointer to incomplete type 
b44um.c:1881: warning: assignment makes pointer from integer without a cast 
b44um.c:1888: dereferencing pointer to incomplete type 
b44um.c:1889: dereferencing pointer to incomplete type 
b44um.c:1890: dereferencing pointer to incomplete type 
b44um.c:1891: dereferencing pointer to incomplete type 
b44um.c:1879: continue statement not within a loop 
b44um.c:1885: break statement not within loop or switch 
b44um.c: At top level: 
b44um.c:1894: parse error before "if" 
b44um.c: In function `b44_MM_IndicateTxPackets': 
b44um.c:1903: parse error before "pUmDevice" 
b44um.c:1905: parse error before "pUmPacket" 
b44um.c:1913: dereferencing pointer to incomplete type 
b44um.c:1916: `pUmPacket' undeclared (first use in this function) 
b44um.c:1916: parse error before "pPacket" 
b44um.c:1919: `pUmDevice' undeclared (first use in this function) 
b44um.c:1920: `map' undeclared (first use in this function) 
b44um.c:1921: warning: implicit declaration of function `pci_unmap_len' 
b44um.c:1921: `map_len' undeclared (first use in this function)
b44um.c:2012: `PCI_DMA_FROMDEVICE' undeclared (first use in this function)
b44um.c: At top level:
b44mm.h:251: storage size of `timer' isn't known
b44mm.h:257: storage size of `tasklet' isn't known
b44um.c:1514: storage size of `bcm4400_pci_driver' isn't known
make: *** [b44um.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.35013 (%build)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.35013 (%build)


Thanks,
Rajesh.


Rick Stevens wrote:
> Rajesh wrote:
> 
>> Hi all,
>>
>>  
>>
>> I have installed Red Hat Linux 9 on my Laptop (Compaq nx5000). It has 
>> not recognized my network card
>>
>> which is Broadcom 440x. I have downloaded the driver from 
>> www.broadcom.com and have gone through
>>
>> the README file for instructions.
>>
>>  
>>
>>    1. Installed the source RPM package using
>>
>>  rpm -ivf bcm4400-3.0.8-1.src.rpm
>>
>>  
>>
>>    2. cd /usr/src/redhat
>>    3. rpmbuild -bb SPECS/bcm4400.spec
>>
>>  
>>
>> I am stuck here, when I type this command it complains about gcc not 
>> found. So, I have installed gcc-3.2.2-5.
>>
>> After I installed the gcc I am getting lots of compiling errors when I 
>> run
>>
>>  
>>
>> rpmbuild -bb SPECS/bcm4400.spec
>>
>>  
>>
>> Linux gurus please help me to get this working.
> 
> 
> It would help a lot if you give us some examples of the errors you're
> getting.  I trust you also installed all of the gcc dependencies such as
> libgcc.  You must also install the kernel source RPM and configure the
> kernel source.

Red Hat 9 is dead, by the way.  You might want to install one of the
Fedora Core distributions (I consider Fedora Core 3 ready for prime
time, now.).

All of the Fedora releases include the b44 (Broadcom 4400) driver pre-
built.

NOTE:  The b44 driver is NOT for the Broadcom wireless chips.  AFAIK,
you still need to run ndiswrapper and the Windows XP/2000 drivers.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   Errors have occurred. We won't tell you where or why.  We have   -
-                         lazy programmers.                          -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe





More information about the Redhat-install-list mailing list