From owner-freebsd-questions@FreeBSD.ORG Sun Jun 22 18:29:09 2008 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 15B841065671 for ; Sun, 22 Jun 2008 18:29:09 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id ECD688FC14 for ; Sun, 22 Jun 2008 18:29:08 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 27515 invoked from network); 22 Jun 2008 18:29:07 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jun 2008 18:29:07 -0000 Message-ID: <485E9754.600@telenix.org> Date: Sun, 22 Jun 2008 14:17:56 -0400 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: dhuang2@cs.usfca.edu References: <3406.24.23.188.135.1214157813.squirrel@nexus.cs.usfca.edu> In-Reply-To: <3406.24.23.188.135.1214157813.squirrel@nexus.cs.usfca.edu> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Which file can I find the error message that shows on the screen when I build my kernel? 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: Sun, 22 Jun 2008 18:29:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 dhuang2@cs.usfca.edu wrote: > Hi: > I have make some changes to the kernel files and rebuild the kernel, but > when I rebuild the kernel, it show some errors and stop rebuild. The > question I want ask is that: Is there any file that store all these error > message, If there is, where can I find it? > Because there are too many errors occur, I can't see all the errors on the > screen, if there is a file that store these error messages, then I can > find all the errors and fixed them. > Thanks! > Best Wishes Not zutomatically. When I run builds, I save rthe output. I normally do this in tcsh, so the command here is make |& tee makeout where the complete ooutput goes into the "makeout" file. The "&" there doesn't take it's normal meaning of throwing the task into the background, instead, what it does is to capture both the regular output plus the stderr output. If you don't use it, you'll get the listing UNTIL the error, and it won't register the error, so don't forget it, nor change it's placement. This can also be done in sh shell, but I'm not used to using the sh syntax for that (both piping and tossing the stdout with stderr), so if you need that, I will let someone else tell you how to do that. Be wary of the fact that, that makeout file's gonna be LARGE. Several megs in size. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXpdUz62J6PPcoOkRAhfLAJ0Zis2ahvh+Gto8u2eJt/vSkJwZugCfUgrK tEfIlZMl6A2YSTJJqPKOhQA= =GHLz -----END PGP SIGNATURE-----