From owner-freebsd-current@FreeBSD.ORG Fri Jan 6 18:19:10 2012 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 562781065675 for ; Fri, 6 Jan 2012 18:19:10 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) by mx1.freebsd.org (Postfix) with ESMTP id D9EF88FC08 for ; Fri, 6 Jan 2012 18:19:09 +0000 (UTC) Received: from p57918c7a.dip.t-dialin.net ([87.145.140.122] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1RjENg-0005fo-6k; Fri, 06 Jan 2012 19:19:08 +0100 Message-ID: <4F073B1B.6000707@gwdg.de> Date: Fri, 06 Jan 2012 19:19:07 +0100 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Adrian Chadd References: <4F072C13.6000606@gwdg.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: freebsd-current@freebsd.org Subject: Re: Kernel does not build on 10.0-CURRENT (amd64) 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: Fri, 06 Jan 2012 18:19:10 -0000 On 06.01.2012 18:30 (UTC+1), Adrian Chadd wrote: > i thought I had captured these. > > just add > > options AH_SUPPORT_AR5416 > > to your kernel. Ah, I indeed missed the new option in GENERIC, because I build with modified kernel config file. I commented all wireless network drivers and their options out. But the error remains. Is it necessary to have this option uncommented even when the driver ath is commented out? Many thanks for your fast response, Rainer > Adrian > > On 6 January 2012 09:14, Rainer Hurling wrote: >> I am getting the following error when trying to build recent 10.0-CURRENT >> kernel (amd64)? >> >> [..snip..] >> cc -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Werror -D_KERNEL >> -DKLD_MODULE -nostdinc -I. -I/usr/src/sys/modules/ath/../../dev/ath >> -I/usr/src/sys/modules/ath/../../dev/ath/ath_hal >> -DHAVE_KERNEL_OPTION_HEADERS -include >> /usr/obj/usr/src/sys/RHURLIN/opt_global.h -I. -I@ -I@/contrib/altq >> -finline-limit=8000 --param inline-unit-growth=100 --param >> large-function-growth=1000 -fno-common -fno-omit-frame-pointer >> -I/usr/obj/usr/src/sys/RHURLIN -mno-sse -mcmodel=kernel -mno-red-zone >> -mno-mmx -msoft-float -fno-asynchronous-unwind-tables -ffreestanding >> -fstack-protector -std=iso9899:1999 -fstack-protector -Wall >> -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes >> -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign >> -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c: In function >> 'ath_tx_aggr_comp_aggr': >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3136: error: 'struct >> ath_tx_status' has no member named 'ts_flags' >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3139: error: 'struct >> ath_tx_status' has no member named 'ts_ba_low' >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3140: error: 'struct >> ath_tx_status' has no member named 'ts_ba_high' >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3156: error: 'struct >> ath_tx_status' has no member named 'ts_tid' >> /usr/src/sys/modules/ath/../../dev/ath/if_ath_tx.c:3158: error: 'struct >> ath_tx_status' has no member named 'ts_tid' >> *** Error code 1 >> Stop in /usr/src/sys/modules/ath. >> *** Error code 1 >> >> >> I observe this behaviour on three boxes. Any help is really appreciated. >> >> Thanks in advance, >> Rainer Hurling