LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2004, 12:14 AM   #1
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Rep: Reputation: 16
Kernel Libraries


Hello,

I recently upgraded the kernel on my Redhat 9 box to 2.4.20-30smp. I did this using the binary RPM from Redhat's update site (this time compiled for the Athlon MPs I have, making it a bit more stable). It runs just fine. However, I use VMware to run a copy of Winblows XP Pro for a couple apps. After upgrading the kernel, VMware gave me an error about how it couldn't find some required modules in the new kernel. I had the same problem during installation, and had the installer script compile the modules for me, which it did just fine. I figured I could simply run the vmware-config.pl script again, like it told me to.

Well, apparently with the new kernel it couldn't find a bunch of header files it needed to compile the modules. With the previous kernel, it had looked in the directory /usr/src/linux-2.4/include. This directory also had the kernel source in it. With the 2.4.20-30smp kernel, it was looking for the /usr/src/linux-2.4.20-30smp/include directory, which doesn't exist because I installed from a binary RPM.

I looked on RedHat's update site again and found the source RPM for the kernel I had just upgraded to. I installed it with rpm -ihv kernel-2.4.20-30.9.src.rpm, thinking this would put the source in the /usr/src/ directory, which it didn't. Anyone have any ideas? I also tried downloading the tar source code, unpacking it, and putting it in /usr/src/, but I couldn't find the tarball with the -30 in the name, so VMware still wouldn't recognize it.

Thanks for any ideas.

 
Old 04-08-2004, 12:26 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
You picked up the wrong rpm. You're looking for kernel-source-2.4.20-30.9.rpm.

That should put the sources in /usr/src

Dave
 
Old 04-08-2004, 12:58 PM   #3
linuxpyro
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 16
Thanks, it works beautifully now.
 
  


Reply



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
libraries sharapchi Slackware 2 06-18-2005 11:43 AM
QT libraries Mephisto Slackware 2 07-31-2004 02:21 PM
programs and libraries needed for a kernel update darkleaf Linux - Software 4 06-25-2004 08:12 AM
g++ libraries ofada Programming 1 04-09-2004 11:47 AM
Missing shared object libraries/Kernel problems? vrooje Linux - Newbie 3 02-19-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:46 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
Open Source Consulting | Domain Registration