From owner-freebsd-questions@FreeBSD.ORG Wed May 11 07:33:44 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBD916A4CE for ; Wed, 11 May 2005 07:33:44 +0000 (GMT) Received: from mail.performancedesign.no (dsl-static-124-226.oeke.tiscali.no [213.234.124.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1AF43D3F for ; Wed, 11 May 2005 07:33:42 +0000 (GMT) (envelope-from idart@performancedesign.no) Received: from [127.0.0.1] (localhost.performancedesign.no [127.0.0.1]) by mail.performancedesign.no (Postfix) with ESMTP id 5B86F20ACB; Wed, 11 May 2005 09:33:40 +0200 (CEST) Message-ID: <4281B552.1000208@performancedesign.no> Date: Wed, 11 May 2005 09:33:38 +0200 From: Idar Tollefsen Organization: Performance Design User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Alexander Soldatov References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: a problem with compiling kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 07:33:44 -0000 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