vmware2 en debian AMD64
Hola,
intento instalar vmware2 en mi vaio con amd64, siguiendo este how to (http://www.linux.com/community/blogs/howto-install-vmware-server-2-on-debian-lenny-amd64-64bit.html)
El problema ocurre cuando se intenta compilar,
- si uso gcc-4.1 , me pide utilizarl la laversion 4.3 debido a que con esa ver se instalo mi linux-headers
- cuando cambio y utilizo gcc-4.3 ocurre este ERROR:
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? [/lib/modules/2.6.32-5-amd64/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.32-5-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-5-amd64'
CC [M] /tmp/vmware-config4/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config4/vmmon-only/linux/driver.c:31:
/tmp/vmware-config4/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
/usr/src/linux-headers-2.6.32-5-common/include/linux/poll.h:70: error: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config4/vmmon-only/./common/vmx86.h:32,
from /tmp/vmware-config4/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config4/vmmon-only/linux/driver.c:101:
/tmp/vmware-config4/vmmon-only/./include/x86msr.h:164:1: warning: "MSR_THERM2_CTL" redefined
In file included from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr.h:4,
from /usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-headers-2.6.32-5-common/include/linux/prefetch.h:14,
from /usr/src/linux-headers-2.6.32-5-common/include/linux/list.h:6,
from /usr/src/linux-headers-2.6.32-5-common/include/linux/module.h:9,
from /tmp/vmware-config4/vmmon-only/./include/compat_module.h:27,
from /tmp/vmware-config4/vmmon-only/linux/driver.c:26:
/usr/src/linux-headers-2.6.32-5-common/arch/x86/include/asm/msr-index.h:230:1: warning: this is the location of the previous definition
/tmp/vmware-config4/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config4/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config4/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config4/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config4/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.32-5-amd64'
make: *** [vmmon.ko] Error 2
make: se sale del directorio `/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.
:S y ahi queda..
Si algien ha dado solucion al algo parecido, seria interesante saber como.. talvez ahun no hay soporte para el kernel o la version de distro (SID) que uso
# dpkg -l | grep 2.6.32-5-amd64
ii linux-headers-2.6.32-5-amd64 2.6.32-21 Header files for Linux 2.6.32-5-amd64
ii linux-image-2.6.32-5-amd64 2.6.32-20 Linux 2.6.32 for 64-bit PCs
saludos y disculpen las lineas
Alejandro
Reply to: