Which file can I find the error message that shows on the screen when I build my kernel?

Chuck Robey chuckr at telenix.org
Sun Jun 22 18:29:09 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

dhuang2 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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-----


More information about the freebsd-questions mailing list