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

--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--



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