LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-02-2005, 11:41 AM   #1
Linuxrat
LQ Newbie
 
Registered: Dec 2004
Location: SoCal
Distribution: Slackware 10.0, SUSE 9.3, Fedora Core 4
Posts: 23

Rep: Reputation: 15
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
 
Old 01-02-2005, 12:02 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
make > your_output_file 2>&1

So errors and standard output are logged in your_output_file
 
Old 01-02-2005, 12:29 PM   #3
Linuxrat
LQ Newbie
 
Registered: Dec 2004
Location: SoCal
Distribution: Slackware 10.0, SUSE 9.3, Fedora Core 4
Posts: 23

Original Poster
Rep: Reputation: 15
So use this?:

make all > kernout 2>&1

Thanks!
 
Old 01-02-2005, 12:35 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
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)

Last edited by Cedrik; 01-02-2005 at 12:37 PM.
 
Old 01-02-2005, 02:01 PM   #5
Linuxrat
LQ Newbie
 
Registered: Dec 2004
Location: SoCal
Distribution: Slackware 10.0, SUSE 9.3, Fedora Core 4
Posts: 23

Original Poster
Rep: Reputation: 15
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?

Last edited by Linuxrat; 01-02-2005 at 02:10 PM.
 
Old 01-03-2005, 07:54 AM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
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
 
Old 01-03-2005, 11:19 AM   #7
Linuxrat
LQ Newbie
 
Registered: Dec 2004
Location: SoCal
Distribution: Slackware 10.0, SUSE 9.3, Fedora Core 4
Posts: 23

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 04:45 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
why when redirecting output to a file any file extension seems to be fine? dr_zayus69 Linux - General 1 05-21-2005 05:09 AM
the sound gives output when using mic but no output when run a music file medo Debian 0 04-19-2004 08:17 PM
.config file for kernel compilation, is it universal format? csvke Linux - General 7 02-23-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration