Codice: Seleziona tutto
5-What is the location of the directory of C header files that match your runningkernel? [/usr/src/linux-headers-2.6.15-23-386/include]Codice: Seleziona tutto
/usr/src/linux-headers-2.6.24-16/includeCodice: Seleziona tutto
The path "/usr/src/linux-headers-2.6.24-16/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.
This can happen if the kernel has never been built, or if you have invoked the
"make mrproper" command in your kernel directory. In any case, you may want to
rebuild your kernel.Codice: Seleziona tutto
sudo apt-get install linux-headers-`uname -r` Codice: Seleziona tutto
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Lettura delle informazioni di stato... Fatto
linux-headers-2.6.24-16-generic è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Codice: Seleziona tutto
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmmon-only'
make -C /lib/modules/2.6.24-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config5/vmmon-only/./include/vmware.h:25,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:48:
/tmp/vmware-config5/vmmon-only/./include/vm_basic_types.h:170: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
In file included from /tmp/vmware-config5/vmmon-only/./include/x86.h:23,
from /tmp/vmware-config5/vmmon-only/linux/driver.h:15,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:49:
/tmp/vmware-config5/vmmon-only/./include/x86cpuid.h:381:1: warning: "BIT_MASK" redefined
In file included from include/linux/kernel.h:15,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:11:
include/linux/bitops.h:7:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config5/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config5/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:49:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config5/vmmon-only/./include/vmci_kernel_defs.h:26,
from /tmp/vmware-config5/vmmon-only/./common/vmciContext.h:19,
from /tmp/vmware-config5/vmmon-only/linux/driver.h:21,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:49:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config5/vmmon-only/linux/driver.c:150: warning: initialization from incompatible pointer type
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1715: error: ‘struct mm_struct’ has no member named ‘dumpable’
make[2]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config5/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
