Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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?
Thanks
Joe
  #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
Default

Joe,

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)...

http://fr2.rpmfind.net//linux/RPM/so...20-6.i386.html

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.



Kenny
  #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
Default

Thanks Kenny,

After a lot of wasted time I found this out.

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

Joe


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





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