From owner-freebsd-questions Thu Apr 8 12:48: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 1287815217 for ; Thu, 8 Apr 1999 12:48:02 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA04108; Thu, 8 Apr 1999 12:45:49 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 8 Apr 1999 12:45:48 -0700 (PDT) From: Doug White To: "Ptacek, Chris" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to get rid of warning messages during kernel make? In-Reply-To: <83A5B9068368D211BDE90060B06A21BA8A0244@bozeman.pwrh.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 8 Apr 1999, Ptacek, Chris wrote: > I am trying to automate the building process for the kernel for my system. > I am using a perl script to do the file modifications and using system calls > to do the make depend and make portions. The problem is that I would > like to not have any of the build information sent to the screen. I have > set > the CWARNFLAGS to " " by the following in my perl script: > > system("make CWARNFLAGS=\" \" depend >> logfile.log"); > system("make CWARNFLAGS=\" \" >> logfile.log"); > > But I still get the following messages: You need to redirect stderr too. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message