Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2005 09:33:38 +0200
From:      Idar Tollefsen <idart@performancedesign.no>
To:        Alexander Soldatov <alexsoldatov@mail.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: a problem with compiling kernel
Message-ID:  <4281B552.1000208@performancedesign.no>
In-Reply-To: <E1DVjb4-000GLy-00.alexsoldatov-mail-ru@mx3.mail.ru>
References:  <E1DVjb4-000GLy-00.alexsoldatov-mail-ru@mx3.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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.


- IT



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