From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 10:09:35 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5D3210657EF; Thu, 16 Apr 2009 10:09:35 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id DC70C8FC12; Thu, 16 Apr 2009 10:09:34 +0000 (UTC) (envelope-from dennis.melentyev@gmail.com) Received: by bwz8 with SMTP id 8so317362bwz.43 for ; Thu, 16 Apr 2009 03:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=joCfI6aGudiiOSnzl+8q0uLCkNKJTwbrqK/1NjouYkw=; b=qNY+0IoEQ/T6SuUcZf+V5fVfg3wipvSJI2poelXbrqLFFnZSwPXz48oZRD1AABL/S2 uK+9bNc1CxWD/O73M51mol7TqF43K29kcB9EG34XAj6WU40jGmSfHdmr12Cc9bynihRY 23jdQpd9jXXq69YlR1MFo+cixvE0hwUGigMbI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WbwnOCObH+1YkzqbQETelcXAOY3Vufl/2SvQUEx08FGkuDrRIU4He2GYborQt/dJKf Fg2MPV6EC3fMZDVpXioV6/WYBkem9f9dGJ+oksYL9DQLmauc3/fYcrPSnrYiW/N4dRhK nkMnPJo8hQhUVOS1FVNyoegBRw8UonftfdMYM= MIME-Version: 1.0 Received: by 10.204.115.67 with SMTP id h3mr1053896bkq.173.1239874682637; Thu, 16 Apr 2009 02:38:02 -0700 (PDT) In-Reply-To: <49E6DB25.2010601@sippysoft.com> References: <49E6DB25.2010601@sippysoft.com> Date: Thu, 16 Apr 2009 12:38:02 +0300 Message-ID: From: Dennis Melentyev To: Maxim Sobolev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 16 Apr 2009 11:42:47 +0000 Cc: stable@freebsd.org, Sam Leffler , "current@freebsd.org" Subject: Re: kernel compile fails without AH_SUPPORT_AR5416 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, 16 Apr 2009 10:09:40 -0000 Hi Max, Also seen that. Fixed with careful merging on my kernel config with GENERIC one. There are additional strings involved: device ath device ath_rate_sample After adding the later one (and probably, the first one too (?)) compiled o= k. Could be worth an entry in UPDATING and/or explicitly added to GENERIC. /dennis 2009/4/16 Maxim Sobolev : > Sam, > > What is the reason to have this option in the kernel config if kernel > compilation fails when this option is enabled? It also affects 7-stable. > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing =C2=A0-std=3Dc99 = -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototyp= es > -Wpointer-arith -Winline -Wcast-qual =C2=A0-Wundef -Wno-pointer-sign > -fformat-extensions -nostdinc =C2=A0-I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu= de > opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth= =3D100 > --param large-function-growth=3D1000 -mcmodel=3Dkernel -mno-red-zone > =C2=A0-mfpmath=3D387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow =C2=A0-msoft-= float > -fno-asynchronous-unwind-tables -ffreestanding -Werror > =C2=A0/usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath > /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': > /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' h= as > no member named 'rs_flags' > /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' h= as > no member named 'rs_flags' > > -Maxim > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Dennis Melentyev