pessoal, uso o squeeze e recentemente o kernel foi atualizado para o 2.6.30.
tentei reajustar o vmware e nao obtive sucesso. a saida do erro:

Your kernel was built with "gcc" version "4.3.3", while you are trying to
use
"/usr/bin/gcc" version "4.3.4". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with
compiler
"/usr/bin/gcc" version "4.3.4" anyway? [no] yes

What is the location of the directory of C header files that match your
running
kernel? [/lib/modules/2.6.30-1-686/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entrando no diretório `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.30-1-686/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.30-1-686'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78: error:
conflicting types for ‘poll_initwait’
/usr/src/linux-headers-2.6.30-1-common/include/linux/poll.h:67: error:
previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function
‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1423: error: too many
arguments to function ‘smp_call_function’
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function
‘LinuxDriver_Ioctl’:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct
task_struct’ has no member named ‘euid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1987: error: ‘struct
task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct
task_struct’ has no member named ‘fsuid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1988: error: ‘struct
task_struct’ has no member named ‘uid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct
task_struct’ has no member named ‘egid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1989: error: ‘struct
task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct
task_struct’ has no member named ‘fsgid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:1990: error: ‘struct
task_struct’ has no member named ‘gid’
/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many
arguments to function ‘smp_call_function’
make[4]: ** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Erro 1
make[3]: ** [_module_/tmp/vmware-config0/vmmon-only] Erro 2
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.30-1-686'
make: ** [vmmon.ko] Erro 2
make: Saindo do diretório `/tmp/vmware-config0/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/go/unsup-linux-products"; and
"http://www.vmware.com/go/unsup-linux-tools";.

Execution aborted.

fiz esse comando para ver se resolvia:

export CC=/usr/bin/gcc-4.3
ln -s -f /usr/bin/gcc-4.3 /usr/bin/gcc

mas nao obtive resposta.



-- 
linux user nº 432194

Eu sou livre e você?

Responder a