Problem mit Linux Kernel 2.6.24.3 als Gast - VMWare Tools
Verfasst: 03.03.2008, 14:06
Hallo,
ich versuche die VMWare Tools für den 2.6.24.3 Kernel zu kompilieren, der gcc bricht aber immer mit Fehlermeldungen ab:
-----------------------------------------------
Using 2.6.x kernel build system.
In file included from include/linux/string.h:11,
from /tmp/vmware-config6/vmhgfs-only/cpName.h:18,
from /tmp/vmware-config6/vmhgfs-only/cpName.c:18:
include/linux/types.h:40: error: conflicting types for 'uintptr_t'
/tmp/vmware-config6/vmhgfs-only/vm_basic_types.h:161: error: previous declaration of 'uintptr_t' was here
make[2]: *** [/tmp/vmware-config6/vmhgfs-only/cpName.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmhgfs-only] Error 2
make: *** [vmhgfs.ko] Error 2
Using 2.6.x kernel build system.
In file included from /tmp/vmware-config7/vmxnet-only/vmxnet.c:36:
/tmp/vmware-config7/vmxnet-only/vm_basic_types.h:161: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
/tmp/vmware-config7/vmxnet-only/vmxnet.c: In function 'vmxnet_probe_device':
/tmp/vmware-config7/vmxnet-only/vmxnet.c:473: error: implicit declaration of function 'SET_MODULE_OWNER'
/tmp/vmware-config7/vmxnet-only/vmxnet.c: In function 'vmxnet_open':
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: 'SA_SHIRQ' undeclared (first use in this function)
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: (Each undeclared identifier is reported only once
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: for each function it appears in.)
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/tmp/vmware-config7/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config7/vmxnet-only] Error 2
make: *** [vmxnet.ko] Error 2
---------------------------------------------
Habe auch das vmware-any-any-update116 versucht, das sucht aber /etc/vmware und meine Tools installieren nach /etc/vmware-tools ... daher findet das vmware-any-any-update116 nichts ...
---------------------------------------------
spamd:~/vmware-any-any-update116# ./runme.pl
Updating /usr/bin/vmware-config.pl ... corrupted
Updating /usr/bin/vmware ... failed
Cannot open /usr/bin/vmware: No such file or directory
Updating /usr/bin/vmnet-bridge ... failed
Cannot open /usr/bin/vmnet-bridge: No such file or directory
Updating /usr/lib/vmware-tools/bin/vmware-vmx ... failed
Cannot open /usr/lib/vmware-tools/bin/vmware-vmx: No such file or directory
Updating /usr/lib/vmware-tools/bin-debug/vmware-vmx ... failed
Cannot open /usr/lib/vmware-tools/bin-debug/vmware-vmx: No such file or directory
VMware modules in "/usr/lib/vmware-tools/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
sh: /usr/bin/vmware-config.pl: No such file or directory
spamd:~/vmware-any-any-update116#
---------------------------------------------------------
Zusätzlich: das vmware-any-any-update116 bringt einen Patch für den vmnet Driver mit, meine Tools verwenden aber den vmxnet Driver ...
Weis jemand Rat wie man dir VMWare Tools kompilieren kann?
Walter
ich versuche die VMWare Tools für den 2.6.24.3 Kernel zu kompilieren, der gcc bricht aber immer mit Fehlermeldungen ab:
-----------------------------------------------
Using 2.6.x kernel build system.
In file included from include/linux/string.h:11,
from /tmp/vmware-config6/vmhgfs-only/cpName.h:18,
from /tmp/vmware-config6/vmhgfs-only/cpName.c:18:
include/linux/types.h:40: error: conflicting types for 'uintptr_t'
/tmp/vmware-config6/vmhgfs-only/vm_basic_types.h:161: error: previous declaration of 'uintptr_t' was here
make[2]: *** [/tmp/vmware-config6/vmhgfs-only/cpName.o] Error 1
make[1]: *** [_module_/tmp/vmware-config6/vmhgfs-only] Error 2
make: *** [vmhgfs.ko] Error 2
Using 2.6.x kernel build system.
In file included from /tmp/vmware-config7/vmxnet-only/vmxnet.c:36:
/tmp/vmware-config7/vmxnet-only/vm_basic_types.h:161: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
/tmp/vmware-config7/vmxnet-only/vmxnet.c: In function 'vmxnet_probe_device':
/tmp/vmware-config7/vmxnet-only/vmxnet.c:473: error: implicit declaration of function 'SET_MODULE_OWNER'
/tmp/vmware-config7/vmxnet-only/vmxnet.c: In function 'vmxnet_open':
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: 'SA_SHIRQ' undeclared (first use in this function)
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: (Each undeclared identifier is reported only once
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: error: for each function it appears in.)
/tmp/vmware-config7/vmxnet-only/vmxnet.c:671: warning: passing argument 2 of 'request_irq' from incompatible pointer type
make[2]: *** [/tmp/vmware-config7/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config7/vmxnet-only] Error 2
make: *** [vmxnet.ko] Error 2
---------------------------------------------
Habe auch das vmware-any-any-update116 versucht, das sucht aber /etc/vmware und meine Tools installieren nach /etc/vmware-tools ... daher findet das vmware-any-any-update116 nichts ...
---------------------------------------------
spamd:~/vmware-any-any-update116# ./runme.pl
Updating /usr/bin/vmware-config.pl ... corrupted
Updating /usr/bin/vmware ... failed
Cannot open /usr/bin/vmware: No such file or directory
Updating /usr/bin/vmnet-bridge ... failed
Cannot open /usr/bin/vmnet-bridge: No such file or directory
Updating /usr/lib/vmware-tools/bin/vmware-vmx ... failed
Cannot open /usr/lib/vmware-tools/bin/vmware-vmx: No such file or directory
Updating /usr/lib/vmware-tools/bin-debug/vmware-vmx ... failed
Cannot open /usr/lib/vmware-tools/bin-debug/vmware-vmx: No such file or directory
VMware modules in "/usr/lib/vmware-tools/modules/source" has been updated.
Before running VMware for the first time after update, you need to configure it
for your running kernel by invoking the following command:
"/usr/bin/vmware-config.pl". Do you want this script to invoke the command for
you now? [yes]
sh: /usr/bin/vmware-config.pl: No such file or directory
spamd:~/vmware-any-any-update116#
---------------------------------------------------------
Zusätzlich: das vmware-any-any-update116 bringt einen Patch für den vmnet Driver mit, meine Tools verwenden aber den vmxnet Driver ...
Weis jemand Rat wie man dir VMWare Tools kompilieren kann?
Walter