Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 00:45:12 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Idar Tollefsen <idart@performancedesign.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: a problem with compiling kernel
Message-ID:  <20050511074512.GC97896@xor.obsecurity.org>
In-Reply-To: <4281B552.1000208@performancedesign.no>
References:  <E1DVjb4-000GLy-00.alexsoldatov-mail-ru@mx3.mail.ru> <4281B552.1000208@performancedesign.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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
> 
> Try setting
> NO_WERROR=      yes
> in make.conf.
> 
> If WARNS_ERROR=yes (defaults/make.conf), it will treat warnings as errors. 
> NO_WERROR=yes 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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCgbgHWry0BWjoQKURAkVEAKCnQu5keZBH+FlZiv+LnRnDF7/K5QCfVnR/
CCb0EOJqWaKkVzkHGZ/xmbc=
=eEhM
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050511074512.GC97896>