Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 21st, 2005, 10:40 PM
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Building a kernel

Just purchased Beginning RHL 9.
In Chapter 10 on rebuilding the kernel there is reference to the source being located in /usr/src/linux-2.4.20-6.
It is not there. I started over and completely reloaded just in case something went wrong, but, same results.

Also, I can't install driver software because the config.h is missing from the same dir.

Also, RedHat's docs refer to the same directory.

Can anyone help?
Reply With Quote
  #2 (permalink)  
Old January 22nd, 2005, 08:39 PM
Registered User
Join Date: Jan 2005
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


You need to install the Kernel-Source package but it's not on the CD-ROMS! However, you can download it from here (assuming the kernel is the same build as mine)...


Not sure if you know how to install RPMs so just ignore this if you do. Save the RPM into a folder (e.g. /home/me) and then open a Terminal Window. Use the 'cd /home/me' command to switch to this folder. Then run this command to install the package ...

rpm -U kernel-source-2.4.20-6.i386.rpm

You should now be okay.

Reply With Quote
  #3 (permalink)  
Old January 23rd, 2005, 05:44 PM
Registered User
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks Kenny,

After a lot of wasted time I found this out.

I am disappointed that the book didn't make this clear.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation probelm shyjumon.n Linux 1 October 24th, 2006 07:49 AM
linux kernel compilation problem abhishekshrivastav Linux 4 October 13th, 2006 06:47 AM
Kernel Hooks J-Rod Need help with your homework? 0 August 30th, 2006 02:21 AM

All times are GMT -4. The time now is 10:12 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.