Autor Tópico: Erro na instalação do VMWare  (Lida 1590 vezes)

Offline marcus_sa

  • Usuário Ubuntu
  • *
  • Mensagens: 12
    • Ver perfil
Erro na instalação do VMWare
« Online: 22 de Janeiro de 2007, 15:03 »
Pessoal. quando rodo a instalação do VMWare tenho o seguinte problema....... Será que já aconteceu com alguem aqui, alguém pode me ajudar?

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Unable to find the compiler specified in the CC environnment variable:
"’/usr/bin/gcc-3.4".

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.20-5-generic/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-config3/vmmon-only'
make -C /lib/modules/2.6.20-5-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.20-5-generic'
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:80:
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
/tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
make[2]: ** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Erro 1
make[1]: ** [_module_/tmp/vmware-config3/vmmon-only] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.20-5-generic'
make: ** [vmmon.ko] Erro 2
make: Saindo do diretório `/tmp/vmware-config3/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.

Offline marcus_sa

  • Usuário Ubuntu
  • *
  • Mensagens: 12
    • Ver perfil
Re: Erro na instalação do VMWare
« Resposta #1 Online: 22 de Janeiro de 2007, 16:40 »
Pelo amor de Deus, alguém me ajude....

Offline ivandroconradi

  • Usuário Ubuntu
  • *
  • Mensagens: 91
  • User Ubuntu 8186
    • Ver perfil
    • Wiki Ivandro
Re: Erro na instalação do VMWare
« Resposta #2 Online: 22 de MAR?O de 2007, 20:17 »
Espero que eu nao tenha chego tarde de mais.  :)

Olha soh marcus_sa,
     Depois de migrar para o Ubuntu Feisty 7.04 eu tambem estava recebendo a msg acima citada...

Entao instalei mais os pacotes abaxio e um patch de correção para o kernel apartir do 2.6.20.1

No terminal:
sudo aptitude install build-essential linux-headers-$(uname -r) xinetd
Agora instale o vmware como de costume, agora faça o donwload do arquivo vmware-any-any... no site http://ftp.cvut.cz/vmware/ tem as versao 108...
Abra este aquivo, e execute como root o script em PERL chamado runme.pl. Este script instalara’ o patch e iniciara’ o script de configuracao vmware-config.pl, o que acontece toda vez que voce muda de kernel.
Interessado em aprender mais sobre o Ubuntu em português?
Comece aqui http://wiki.ubuntubrasil.org/ComeceAqui
http://wiki.ubuntubrasil.org/Ivandro_Conradi