Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-28-2013, 04:00 PM   #1
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

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!

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 :

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

Old 02-28-2013, 05:28 PM   #2
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

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

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


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 / openSUSE 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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:27 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration