From owner-freebsd-questions@FreeBSD.ORG Wed May 11 07:45:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 297E416A4CE for ; Wed, 11 May 2005 07:45:13 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id B615F43D2D for ; Wed, 11 May 2005 07:45:12 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 303A5514C9; Wed, 11 May 2005 00:45:12 -0700 (PDT) Date: Wed, 11 May 2005 00:45:12 -0700 From: Kris Kennaway To: Idar Tollefsen Message-ID: <20050511074512.GC97896@xor.obsecurity.org> References: <4281B552.1000208@performancedesign.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ncSAzJYg3Aa9+CRW" Content-Disposition: inline In-Reply-To: <4281B552.1000208@performancedesign.no> User-Agent: Mutt/1.4.2.1i cc: Alexander Soldatov cc: freebsd-questions@freebsd.org Subject: Re: a problem with compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 07:45:13 -0000 --ncSAzJYg3Aa9+CRW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 11, 2005 at 09:33:38AM +0200, Idar Tollefsen wrote: > Alexander Soldatov wrote: > >I've got an error when I try to compile kernel with new configuration. > >That is: > > > >if_gif.c: In function 'gif_destroy': > > > >if_gif.c:187: warning: unused variable 'err' > > > >Error code 1 >=20 > Try setting > NO_WERROR=3D yes > in make.conf. >=20 > If WARNS_ERROR=3Dyes (defaults/make.conf), it will treat warnings as erro= rs.=20 > NO_WERROR=3Dyes disables that behavior. At least this is how it works on = 4.x. This should not be an issue in a default installation unless you have turned on additional warnings explicitly, or modified the kernel source to introduce them. Kris --ncSAzJYg3Aa9+CRW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCgbgHWry0BWjoQKURAkVEAKCnQu5keZBH+FlZiv+LnRnDF7/K5QCfVnR/ CCb0EOJqWaKkVzkHGZ/xmbc= =eEhM -----END PGP SIGNATURE----- --ncSAzJYg3Aa9+CRW--