VMWare config won''t build modules

Tim Frost timfrost at xtra.co.nz
Mon Oct 31 06:01:22 UTC 2005


I have installed the latest version of ubuntu, and want to use VMWare to
run a couple of Windows programs. 

The VMware config script (/usr/bin/vmware-config.pl) complained about
the compiler versioms, until I installed the GCC 3.4 package (because
the kernel was compiled with gcc 3.4.5, but the version of gcc that was
installed was 4.0.2.  That has been overcome by installing gcc-3.4, and
setting CC=/usr/bin/gcc-3.4.

The script now complains about the kernel headers.  The message is:
	The directory of kernel headers (version 2.6.11) does not match
	your running kernel (version 2.6.12-9-386).  Even if the module
	were to compile successfully, it would not load into the running
	kernel.

The kernel headers package is the current one available from the ubuntu
site, but clearly the installed kernel is newer than the headers
package.  

What is the correct way to get a set of kernel headers that match the
running kernel, so that I can compile the kernel modules for VMWare?


Tim





More information about the ubuntu-users mailing list