LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2013, 04:00 PM   #1
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Slackware 14; CentOS; Vyatta
Posts: 372

Rep: Reputation: 33
Trouble recompiling vmware modules for new kernel


Hi all. I've built a new kernel which is working fine, but I'm struggling to rebuild the vmware modules for it. I have left the src in the right place, all the symlinks seem to be pointing in the correct places, but the vmware modconfig script just won't see them.

Unless it's looking for the wrong header because I've given the new kernel a custom name or something? I dunno, take a look below and help pls!

Code:
root@drbunsen:/usr/src# uname -a
Linux drbunsen 3.7.9-smp-cjt

root@drbunsen:/usr/src# ls -l
total 8
lrwxrwxrwx  1 root root   20 Feb 28 21:43 linux -> linux-3.7.9-smp-cjt//
drwxr-xr-x 24 root root 4096 Sep 17 19:33 linux-3.2.29/
drwxrwxr-x 24 root root 4096 Feb 25 20:47 linux-3.7.9-smp-cjt/

root@drbunsen:/usr/src# ls -l /lib/modules/3.7.9-smp-cjt/build 
lrwxrwxrwx 1 root root 29 Feb 28 21:47 /lib/modules/3.7.9-smp-cjt/build -> /usr/src/linux-3.7.9-smp-cjt//
Installer always gives me the following error :

Code:
C header files matching your running kernel were not found.  Refer to your distribution's documentation for installation instructions
Thanks in advance

spoov
 
Old 02-28-2013, 05:28 PM   #2
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Slackware 14; CentOS; Vyatta
Posts: 372

Original Poster
Rep: Reputation: 33
Found the answer on the Arch wiki - this additional symlink is required for kernels >3.7 :

Code:
ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/
 
  


Reply


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
[SOLVED] Recompiling kernel required to add modules? littlebigman Linux - Software 2 01-05-2011 11:57 AM
modify kernel source without recompiling modules? scottbiker Linux - Kernel 6 05-22-2008 01:39 AM
Does recompiling the kernel overwrite the modules ? ankit4u1 Linux - General 10 07-20-2007 12:33 PM
forget to install modules after recompiling kernel janos Suse/Novell 3 05-28-2006 07:17 AM
recompiling kernel goes fine, problem with make modules fritex Linux - Software 4 11-07-2002 10:17 PM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration