From owner-freebsd-current@FreeBSD.ORG Thu Dec 4 15:23:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25F5E1065673 for ; Thu, 4 Dec 2008 15:23:59 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene1.itea.ntnu.no (bene1.itea.ntnu.no [IPv6:2001:700:300:3::56]) by mx1.freebsd.org (Postfix) with ESMTP id 65E5D8FC20 for ; Thu, 4 Dec 2008 15:23:58 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene1.itea.ntnu.no (Postfix) with ESMTP id B5F942401C; Thu, 4 Dec 2008 16:23:56 +0100 (CET) Received: from nobby (unknown [IPv6:2001:700:300:3::184]) by bene1.itea.ntnu.no (Postfix) with ESMTP id 2D54B2401B; Thu, 4 Dec 2008 16:23:56 +0100 (CET) Date: Thu, 4 Dec 2008 15:23:57 +0100 From: Ulf Lilleengen To: eculp Message-ID: <20081204142356.GA2945@nobby.lan> References: <20081204084727.16714wjmus539s4k@econet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081204084727.16714wjmus539s4k@econet.encontacto.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Debian amavisd-new at bene1.itea.ntnu.no Cc: freebsd-current Subject: Re: Kernel doesn't compile since Dec 1. Stops at /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 15:23:59 -0000 On Thu, Dec 04, 2008 at 08:47:27AM -0600, eculp wrote: > I have been cvsuping, compiling and installing all daily with no > changes nor errors until the morning of Dec 2 and I now get to the > following error: > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar > ith -Winline -Wcast-qual -Wundef -Wno-pointer-sign > -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contri > b/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h > -fno-common -finline-limit=8000 --param inline-unit-gro > wth=100 --param large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno- > sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror > /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c -I/usr/ > src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal > /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c: In function > 'ar5416ProcRxDesc': > /usr/src/sys/dev/ath/ath_hal/ar5416/ar5416_recv.c:111: error: 'struct > *** Error code 1 *snip* > > Stop in /usr/src. > > Maybe I should go to Sam's patches and try his latest? > Have you read UPDATING and followed the instructions there? 20081130: __FreeBSD_version 800057 marks the switchover from the binary ath hal to source code. Users must add the line: options AH_SUPPORT_AR5416 to their kernel config files when specifying: device ath_hal The ath_hal module no longer exists; the code is now compiled together with the driver in the ath module. It is now possible to tailor chip support (i.e. reduce the set of chips and thereby the code size); consult ath_hal(4) for details. -- Ulf Lilleengen