Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 03-09-2006, 12:26 AM   #1
Registered: Dec 2002
Location: CA,USA
Distribution: RHCE in training :)
Posts: 57

Rep: Reputation: 15
kernel includes at /usr/src/linux/include do not match current kernel.

What did I mess up? I was trying to install the kernel src rpm and I did
rpmbuild -bp --target=i686 kernel-2.6.spec
and now its finding kernel_version=kernel-2.6.spec in my include dir. wth!
Old 03-09-2006, 08:53 AM   #2
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Is "/usr/src/linux/" a softlink or a real directory?

You can always just remove the directory and re-install the src.rpm, there should not be any adverse side effects (just make sure to backup any kernel .config files you may have).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kernel includes do not match current kernel rafc Linux - Newbie 5 04-23-2010 01:28 AM
VMware and /usr/src/linux/include neraka Linux - Newbie 6 03-21-2009 10:01 PM
location of kernel /usr/src/linux/include ??????? Lord Lance Mandriva 7 12-13-2003 08:41 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM
no kernel in usr/src/Linux elite Linux - General 11 10-28-2002 06:10 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration