CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - General Support
  Compiling driver modules (missing kernel headers)

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  marcelops
      marcelops
Compiling driver modules (missing kernel headers)
#1
Peeking in the Member Window
Joined: 2012/3/1
From
Posts: 14
Hello guys,

I have been facing some problems with a NIC on my CentOS 5.6 box, and my next attempt is to use the newest version of the driver.

It's a Intel e1000e, I have already downloaded the latest version (1.9.5), and now I need to compile it.

When I first tried to compile it, I got:

Makefile:71: *** Kernel header files not it any of the expected locations.
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again. Stop.

Then I just did what he asked:

yum install kernel-devel

And, as I got the same result, I tried:

yum install kernel-headers

Both commands finished nicely. It asked me to confirm, then it downloaded the files and installed the package properly. I don't need to recompile the whole kernel, I just need to be able to compile the driver in order to make my network card work.

Could you help me out with this kernel compiling issue?

Thanks,
Marcelo
Posted on: 2012/3/4 12:30
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: Compiling driver modules (missing kernel headers)
#2
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6310
Yes. Don't do that. Google ELRepo instead then use their repository to install kmod-e1000e.
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/3/4 13:34
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com