LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where is kernel compilation output file? (https://www.linuxquestions.org/questions/slackware-14/where-is-kernel-compilation-output-file-272930/)

Linuxrat 01-02-2005 10:41 AM

Where is kernel compilation output file?
 
I see a warning message when the compilation gets to the pcmcia section. I
want to read this but I can not find an output file after the kernel compilation
is finished. Is this output file automatically generated? If not, what command
do I need to invoke at 'make all' in order to get an output file?

Thanks!

Slackware 10.0/Kernel 2.6.10/Gateway SOLO5300

Cedrik 01-02-2005 11:02 AM

make > your_output_file 2>&1

So errors and standard output are logged in your_output_file

Linuxrat 01-02-2005 11:29 AM

So use this?:

make all > kernout 2>&1

Thanks!

Cedrik 01-02-2005 11:35 AM

Yes, that should work.

But I would do make instead of make all

(Edit: it seem to be the same after reading the kernel Makefile)

Linuxrat 01-02-2005 01:01 PM

Excellent... exactly what I needed it to do.

Thanks for your help!

Another tool for the arsenal.

P.S.
What is the purpose of the "2>&1" portion?

Cedrik 01-03-2005 06:54 AM

Quote:

What is the purpose of the "2>&1" portion?
there are two outputs:
- standard output
- standard error

if you do :
make 1> output
only standard output is logged

make 2> output
only errors are logged

make 1> output 2> output
both output are logged, but that can be written shortly:
make > output 2>&1

Linuxrat 01-03-2005 10:19 AM

Thank you once again, this was quite frustrating
when trying to troubleshoot but now I am able
to see a lot more information which helps me with
the entire procedure.

Greatly appreciated!


All times are GMT -5. The time now is 09:02 PM.