From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 11:10:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0F8E1065672 for ; Thu, 17 Jun 2010 11:10:39 +0000 (UTC) (envelope-from akashb503@yahoo.co.in) Received: from n12-vm0.bullet.mail.in.yahoo.com (n12-vm0.bullet.mail.in.yahoo.com [202.86.4.246]) by mx1.freebsd.org (Postfix) with SMTP id 2C65E8FC18 for ; Thu, 17 Jun 2010 11:10:38 +0000 (UTC) Received: from [202.86.5.124] by n12.bullet.mail.in.yahoo.com with NNFMP; 17 Jun 2010 11:10:37 -0000 Received: from [203.104.18.52] by t4.bullet.mail.in.yahoo.com with NNFMP; 17 Jun 2010 11:10:37 -0000 Received: from [127.0.0.1] by omp113.mail.in2.yahoo.com with NNFMP; 17 Jun 2010 11:10:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 883318.21847.bm@omp113.mail.in2.yahoo.com Received: (qmail 37153 invoked by uid 60001); 17 Jun 2010 11:10:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1276773037; bh=7w1W7VL/cNv7soai9aAzejYdfZCMqZGahGL+NBgr79g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=NGzwzMHPc5xyoKLETo3UiT9MJN83QDt7uGHm0LGhchc6Vb5M+Rj5srvCxyywFV18BfKrjJN3O5PT5BWBMMzFRYp9nTU+Wo5vKqZCvNL2OXgh/IRTsZZ3RLecwzrJeuRSd1hgB46mJZw5Cdpj6kPD5DtZgA6fN7q5VwJpfpqmx8Y= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=GReHsUM2lBBl5q47MWFQ3vsxLmel3aHU5DHoQZGHFbLEJNY3C+pUNcwV0Pv920rKvAZ5nM5+Do+99FOOmkf/jtJwXk1D8WMZvQ47diJgJ9bXhdrZxoZGFG6lb59YtYZWgWKysrSDYL2hUIAxJtTeUE9z01NO0+0puuAiI7j/zh4=; Message-ID: <587623.36071.qm@web95102.mail.in2.yahoo.com> X-YMail-OSG: zis_TesVM1lKdI8WUpzDhI2GC4hL0oo7RFZTjfkInEGr.Ch rQXt__iLTtHsDHGnBEQuwUj8en_._4PguIXRMwDDvdoZPSdmIAyW0vR5JUZc lYEqSVKPLSmZjOncYTqwNqZ9pdxs3z.ZAzBGxs2KVo.3OqRQOKOIZFpNYB6e gKq9_w59PTn2wOiAolxsuQTC9H7hQWNeCFvpLaoz7Gqfqtl.y0QNjCRIcxT. iN0zJz2xU9vJXV.4- Received: from [122.181.19.78] by web95102.mail.in2.yahoo.com via HTTP; Thu, 17 Jun 2010 16:40:37 IST X-Mailer: YahooMailRC/397.8 YahooMailWebService/0.8.103.269680 References: <36481.65110.qm@web95106.mail.in2.yahoo.com> <4C191BB7.1080708@cyberleo.net> <4C192B59.7040608@gmail.com> Date: Thu, 17 Jun 2010 16:40:37 +0530 (IST) From: akash kumar To: Mark Tinguely , CyberLeo Kitsana In-Reply-To: <4C192B59.7040608@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: compiler flag -Werror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 11:10:40 -0000 Thanks Mark/kitsana for your help.=0AIts working for me now.=0A=0AThanks,= =0AAkash.=0A=0A=0A=0A=0A________________________________=0AFrom: Mark Tingu= ely =0ATo: CyberLeo Kitsana = =0ACc: akash kumar =0ASent: Thu, 17 June, 2010 1:21:= 53 AM=0ASubject: Re: compiler flag -Werror=0A=0ACyberLeo Kitsana wrote:=0A>= On 06/16/2010 08:02 AM, akash kumar wrote:=0A> =0A>> Hi all,=0A>> =0A>> I= am working on building a freebsd kernel for mips. As part of this i built = cross tool chain for mips from my host machine(i386).=0A>> After that i wa= s building my kernel using make buildkernel KERNCONF=3D"configfile"=0A>> = =0A>> I noticed that the compiler flags -Werror is invoked default with my= compiler. I want to remove this flag because all the warning as taken as e= rrors due to which my compilation stops.=0A>> =0A>> Can you please help me = how/where to remove this flag. =0A> =0A> I have run across this in the p= ast, when building for a VIA C3-2 CPU; so=0A> I have this in my /etc/make.c= onf:=0A> =0A> # Inline limit warnings?=0A> # Userland:=0A> NO_WERROR=3Dyes= =0A> # Kernel: Just turn off inline warnings=0A> WERROR=3D-Wno-inline -Werr= or=0A> =0A> =0AThe kernel entry is in /sys/conf/kern.pre.mk=0A=0AMark Ting= uely=0A=0A=0A