a problem with compiling kernel

Kris Kennaway kris at obsecurity.org
Wed May 11 00:45:13 PDT 2005


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050511/fd01c674/attachment.bin


More information about the freebsd-questions mailing list