How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install?

Sam Leffler sam at errno.com
Thu Jan 18 22:52:13 UTC 2007


Daniel Tourde wrote:
> Hello,
> 
> I basically get: 
> 
> guenevere# make
> ===> wpi_ucode (all)
> Warning: Object directory not changed from 
> original /usr/src/sys/dev/wpi/wpi_uco
> de
> ===> wpi (all)
> Warning: Object directory not changed from original /usr/src/sys/dev/wpi/wpi
> cc -O2 -fno-strict-aliasing -pipe -march=prescott -Werror -D_KERNEL -DKLD_MODULE
>  -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fn
> o-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3d
> now -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -
> Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -
> fformat-extensions -std=c99 -c if_wpi.c
> In file included from if_wpi.c:74:
> ./if_wpivar.h:19:37: net80211/ieee80211_amrr.h: No such file or directory
> In file included from if_wpi.c:74:
> ./if_wpivar.h:115: error: field `amn' has incomplete type
> ./if_wpivar.h:127: error: field `amrr' has incomplete type
> if_wpi.c: In function `wpi_rx_intr':
> if_wpi.c:1324: warning: implicit declaration of function `bpf_peers_present'
> if_wpi.c:1324: warning: nested extern declaration of `bpf_peers_present'
> if_wpi.c: In function `wpi_tx_data':
> if_wpi.c:1677: warning: nested extern declaration of `bpf_peers_present'
> if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
> if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
> was                                here
> if_wpi.c: In function `wpi_start':
> if_wpi.c:1889: warning: nested extern declaration of `bpf_peers_present'
> if_wpi.c:1324: warning: redundant redeclaration of 'bpf_peers_present'
> if_wpi.c:1324: warning: previous implicit declaration of 'bpf_peers_present' 
> was                                here
> if_wpi.c: In function `wpi_iter_func':
> if_wpi.c:2928: warning: implicit declaration of function 
> `ieee80211_amrr_choose'
> if_wpi.c:2928: warning: nested extern declaration of `ieee80211_amrr_choose'
> if_wpi.c: In function `wpi_newassoc':
> if_wpi.c:2952: warning: implicit declaration of function 
> `ieee80211_amrr_node_in                               it'
> if_wpi.c:2952: warning: nested extern declaration of 
> `ieee80211_amrr_node_init'
> *** Error code 1
> 
> Stop in /usr/src/sys/dev/wpi/wpi.
> *** Error code 1
> 

I need to MFC the amrr code (it's in my q which is now very long).
Until then you can grab it off HEAD.  Or maybe someone else has the time
to do the MFC...

	Sam


More information about the freebsd-drivers mailing list