Fedora Linux Support Community & Resources Center
  #1  
Old 31st July 2006, 06:38 PM
Linux_Weary Offline
Registered User
 
Join Date: Jul 2006
Posts: 81
c header files for kernel

where is the location of the directory containing all the C header files for my running kernel? I need to compile a module for workstation that will run with my kernel version.
__________________
FC5_32bit
Reply With Quote
  #2  
Old 31st July 2006, 07:19 PM
Linux_Weary Offline
Registered User
 
Join Date: Jul 2006
Posts: 81
UPDATE: I installed the kernel src (yum install kernel-devel 2.6.17) and now I give it the directory and it tells me that it does not match the current running kernel, this is bull because if we look at uname -a it says 2.6.17. What must I do? Could this be a mistaken identity issue relating to i686 as upposed to 386?
__________________
FC5_32bit
Reply With Quote
  #3  
Old 31st July 2006, 10:22 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
You need he kernel-devel package that has exactly the same version, build and architecture as the running kernel, not just the same "base" version. E.g. if your kernel is version 2.6.17-1.2157_FC5 for i686 you need kernel-devel-2.6.17-1.2157_FC5.i686
Reply With Quote
  #4  
Old 1st August 2006, 01:06 AM
Linux_Weary Offline
Registered User
 
Join Date: Jul 2006
Posts: 81
Yeah well not just that... there is a bug in the way vmware interacts with 2.7 kernels so it wouldn't matter how much kernel source I had the situation could be assimilated to flogging a dead horse. Actually to get it running you need to install the vmware update any any version and then compile the new modules with vmware. That's just to answer other people's questions in the future when they find out they can't get vmware to work :P

I do have another question though, since I'm too lazy to read all the documentation, must I install my drivers in my windows xp guest OS? I'd imagine no, since vmware virtualizes all the hardware it must have the drivers in-built.
__________________
FC5_32bit
Reply With Quote
  #5  
Old 1st August 2006, 09:42 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
Install VMware Tools in the guest OS, that contains the drivers for the virtual devices.
Reply With Quote
Reply

Tags
files, header, kernel

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No available header and build files for kernel Mshawabkeh Using Fedora 2 15th March 2009 06:31 PM
What's the easiest way to get kernel header files on FC6? scottnavarre Using Fedora 5 8th November 2006 11:54 PM
fedora 5 kernel header files ilbh Using Fedora 12 2nd June 2006 02:33 PM
FC5 kernel & header files louspag Using Fedora 5 30th March 2006 03:52 PM
C header files for my kernel benv84 Using Fedora 3 18th April 2005 11:09 PM


Current GMT-time: 13:57 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
De Bilt - Kayalpattinam - Gahanna Travel Photos