a problem with compiling kernel

Idar Tollefsen idart at performancedesign.no
Wed May 11 00:33:44 PDT 2005


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


More information about the freebsd-questions mailing list