[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#407303: Failed to compile vmware modules with linux-headers-2.6.18-3-686



Package: linux-headers-2.6.18-3-686
Version: 2.6.18-7
Severity: important

When I try to compile vmware modules (as always with a new kernel) I get a strange error:

# /usr/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.
...
...
...
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18-3-686).  Even if the module were to compile
successfully, it would not load into the running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.18-3/include

The path "/usr/src/linux-headers-2.6.18-3/include" is an existing directory, but
it does not contain at least one of these directories "linux", "asm", "net" as
expected.


In fact, /usr/src/linux/include should work, since:

$ ll /usr/src/
total 1707
lrwxrwxrwx  1 root src       27 2006-12-12 13:21 linux -> linux-headers-2.6.18-3-686/
drwxr-xr-x 18 root root     520 2006-07-24 17:35 linux-headers-2.6.15-1
drwxr-xr-x  5 root root     544 2006-07-24 17:35 linux-headers-2.6.15-1-686-smp
drwxr-xr-x 17 root root     432 2006-12-12 12:27 linux-headers-2.6.18-3
drwxr-xr-x  4 root root     544 2006-12-12 12:27 linux-headers-2.6.18-3-686
drwxr-xr-x  3 root root      72 2006-12-12 12:27 linux-kbuild-2.6.18
drwxr-xr-x  2 root root      48 2003-04-08 23:27 modules
-rw-r--r--  1 root root 1743387 2006-12-04 03:04 nvidia-kernel-source.tar.gz
drwxr-xr-x  7 root root     168 2003-11-03 13:21 rpm

¿So? I understand that the problem is that the version of the headers
does not match the running kernel, which, in this case, is an
important bug since:

$ uname -a
Linux xxxxxx 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686
GNU/Linux

I have always been able (till kernel 2.6.15, I have updated from
kernel 2.6.15 to 2.6.18 as shipped by debian etch) to compile
vmware. ¿Is this the fault of linux-headers-2.6.18-3-686 or maybe
linux-kbuild-2.6.18?

Thanks a lot for your time and efforts!

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=es_ES@euro, LC_CTYPE=es_ES@euro (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES@euro)

Versions of packages linux-headers-2.6.18-3-686 depends on:
ii  gcc-4.1                       4.1.1-21   The GNU C compiler
ii  linux-headers-2.6.18-3        2.6.18-7   Common header files for Linux 2.6.
ii  linux-kbuild-2.6.18           2.6.18-1   Kbuild infrastructure for Linux 2.

linux-headers-2.6.18-3-686 recommends no packages.

-- no debconf information



Reply to: