|
Erro com vmware-config.pl: Unable to build the vmmon module |
|
|
|
A execução de vmware-config.pl dá o erro seguinte: "vmware-config.pl: Unable to build the vmmon module"
...
Os passos iniciais não estão inseridos aqui propositadamente.
...
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20-9-generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.20-1.2948.fc6/build/include/.. SUBDIRS=$PWD \
SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2948.fc6-i586'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:80:
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: \
expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: error: \
expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config2/vmmon-only/./include/compat_kernel.h:21: warning: \
type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2948.fc6-i586'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/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.
Solução:
Extrair o vmmon.tar file (em /usr/lib/vmware/modules/source)
# tar xvf /usr/lib/vmware/modules/source/vmmon.tar
# cd vmmon-only/include
copiar o patch para a directoria vmmon-only/include e aplicar ao ficheiro compat_kernel.h
# patch -p0 < file.patch.txt
recriar o arquivo:
# cd ../..
# tar cvf /usr/lib/vmware/modules/source/vmmon.tar vmmon-only
reconfigurar o vmware
# vmware-config.pl -d
|
|
|
|
Ponha-nos à prova: coloque-nos questões ou dúvidas sobre Tecnologias de Informação. Quer seja em scripting em Disaster & Recovery (Continuidade de Serviços de Informação), ITIL, Gestão de Projectos, a Importância dos Sistemas de Informação, Bash, Linux, Solaris, Programação Informática, OpenOffice.org, Tecnologias Microsoft, Informática Pessoal ou outros, teremos todo o gosto em responder-lhe GRATUITAMENTE em apenas algumas horas!
Para isso, envie-nos as suas questões / dúvidas através do nosso Formulário.
|
|