[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compilando módulos vmmon em debian sid com kernel 2.6.24?



Emerson Pinter wrote:
Procura no google: vmware-any-any-update116

Eu uso vmware server 1.0.4 com kernel 2.6.24.3 amd64.


Bruno Buys wrote:
Alguem aqui conseguiu instalar o 2.6.24 e reconfigurar o vmware de
acordo? Estou usando o 2.6.24-1-686-bigmem em debian sid. Fiz:

export CC=gcc-4.1

e depois

/usr/bin/vmware-config.pl

e as últimas linhas foram:

make: Entrando no diretório `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-1-686-bigmem/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.24-1-686-bigmem'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
In file included from include/asm/bitops.h:2,
                 from /tmp/vmware-config0/vmmon-only/./include/vcpuset.h:74,
                 from /tmp/vmware-config0/vmmon-only/./include/modulecall.h:23,
                 from /tmp/vmware-config0/vmmon-only/common/vmx86.h:19,
                 from /tmp/vmware-config0/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config0/vmmon-only/common/cpuid.c:15:
include/asm/bitops_32.h:9:2: error: #error only <linux/bitops.h> can
be included directly
make[2]: ** [/tmp/vmware-config0/vmmon-only/common/cpuid.o] Erro 1
make[1]: ** [_module_/tmp/vmware-config0/vmmon-only] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-1-686-bigmem'
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/download/modules/modules.html"; and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html";.

Execution aborted.

Esses dois links do vmware eu já conhecia, não ajudam nesse caso.

Qualquer ajuda é bemvinda!
Valeu,


Bruno


fala emerson,
o 116 não me ajudou muito:


neutron:/home/bruno/vmware/vmware-any-any-update116# export CC=gcc-4.1
neutron:/home/bruno/vmware/vmware-any-any-update116# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/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]

Making sure services for VMware Server are stopped.

Stopping VMware services:
  Virtual machine monitor                                             done
  Bridged networking on /dev/vmnet0                                   done
  DHCP server on /dev/vmnet1                                          done
  Host-only networking on /dev/vmnet1                                 done
  DHCP server on /dev/vmnet8                                          done
  NAT service on /dev/vmnet8                                          done
  Host-only networking on /dev/vmnet8                                 done
  Virtual ethernet                                                    done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

/usr/share/applications/vmware-server.desktop: warning: value
"vmware-server.png
" for key "Icon" in group "Desktop Entry" is an icon name with an
extension, but
there should be no extension as described in the Icon Theme
Specification if th
e value is not an absolute path
/usr/share/applications/vmware-console-uri-handler.desktop: warning:
value "vmwa
re-server.png" for key "Icon" in group "Desktop Entry" is an icon name
with an e
xtension, but there should be no extension as described in the Icon
Theme Specif
ication if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Server 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]

Using compiler "/usr/bin/gcc-4.1". 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.24-1-686-bigmem/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entrando no diretório `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.24-1-686-bigmem/build/include/.. SUBDIRS=$PWD
SRCROOT=$
PWD/. modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.24-1-686-bigmem'
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/driverLog.o
 CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/comport.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
 CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
gcc-4.1: error trying to exec 'cc1plus': execvp: Arquivo ou diretório
não encont                                                           rado
make[2]: ** [/tmp/vmware-config0/vmmon-only/common/task.o] Erro 1
make[1]: ** [_module_/tmp/vmware-config0/vmmon-only] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.24-1-686-bigmem'
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/download/modules/modules.html"; and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html";.

Execution aborted.

neutron:/home/bruno/vmware/vmware-any-any-update116#



Reply to: