From owner-freebsd-drivers@FreeBSD.ORG Thu Jan 18 22:52:13 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E06D16A52D for ; Thu, 18 Jan 2007 22:52:12 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 90A4F13C441 for ; Thu, 18 Jan 2007 22:52:12 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0IMRnLa061193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jan 2007 14:27:50 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45AFF465.60402@errno.com> Date: Thu, 18 Jan 2007 14:27:49 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: daniel.tourde@spray.se References: <200701171959.28700.daniel.tourde@spray.se> <9eb03f270701171422h3fa5c6bfte003a0f355792b86@mail.gmail.com> <200701181825.01533.daniel.tourde@spray.se> In-Reply-To: <200701181825.01533.daniel.tourde@spray.se> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org Subject: Re: How to install the 3945ABG Driver on a fresh FreeBSD 6.2 install? X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 22:52:13 -0000 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