LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble recompiling vmware modules for new kernel (http://www.linuxquestions.org/questions/slackware-14/trouble-recompiling-vmware-modules-for-new-kernel-4175452137/)

spoovy 02-28-2013 05:00 PM

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

spoovy 02-28-2013 06:28 PM

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/


All times are GMT -5. The time now is 02:19 PM.