Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jun 2008 14:17:56 -0400
From:      Chuck Robey <chuckr@telenix.org>
To:        dhuang2@cs.usfca.edu
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?
Message-ID:  <485E9754.600@telenix.org>
In-Reply-To: <3406.24.23.188.135.1214157813.squirrel@nexus.cs.usfca.edu>
References:  <3406.24.23.188.135.1214157813.squirrel@nexus.cs.usfca.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485E9754.600>