[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?



Bruno Buys wrote:
> 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=3Dgcc-4.1
>>>
>>> e depois
>>>
>>> /usr/bin/vmware-config.pl
>>>
>>> e as =FAltimas linhas foram:
>>>
>>> make: Entrando no diret=F3rio `/tmp/vmware-config0/vmmon-only'
>>> make -C /lib/modules/2.6.24-1-686-bigmem/build/include/.. SUBDIRS=3D$=
PWD
>>> SRCROOT=3D$PWD/. modules
>>> make[1]: Entrando no diret=F3rio
>>> `/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:1=
9,
>>>                  from /tmp/vmware-config0/vmmon-only/common/hostif.h:=
18,
>>>                  from /tmp/vmware-config0/vmmon-only/common/cpuid.c:1=
5:
>>> 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=F3rio
>>> `/usr/src/linux-headers-2.6.24-1-686-bigmem'
>>> make: ** [vmmon.ko] Erro 2
>>> make: Saindo do diret=F3rio `/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=
=2Ehtml".
>>>
>>>
>>> Execution aborted.
>>>
>>> Esses dois links do vmware eu j=E1 conhecia, n=E3o ajudam nesse caso.=

>>>
>>> Qualquer ajuda =E9 bemvinda!
>>> Valeu,
>>>
>>>
>>> Bruno
>>>
>>>  =20
>=20
> fala emerson,
> o 116 n=E3o me ajudou muito:
>=20
>=20
> neutron:/home/bruno/vmware/vmware-any-any-update116# export CC=3Dgcc-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/avail=
able
> VMware modules in "/usr/lib/vmware/modules/source" has been updated.
>=20
> 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]
>=20
> Making sure services for VMware Server are stopped.
>=20
> Stopping VMware services:
>   Virtual machine monitor                                             d=
one
>   Bridged networking on /dev/vmnet0                                   d=
one
>   DHCP server on /dev/vmnet1                                          d=
one
>   Host-only networking on /dev/vmnet1                                 d=
one
>   DHCP server on /dev/vmnet8                                          d=
one
>   NAT service on /dev/vmnet8                                          d=
one
>   Host-only networking on /dev/vmnet8                                 d=
one
>   Virtual ethernet                                                    d=
one
>=20
> Configuring fallback GTK+ 2.4 libraries.
>=20
> In which directory do you want to install the mime type icons?
> [/usr/share/icons]
>=20
> What directory contains your desktop menu entry files? These files have=
 a
> .desktop file extension. [/usr/share/applications]
>=20
> In which directory do you want to install the application's icon?
> [/usr/share/pixmaps]
>=20
> /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.
>=20
> None of the pre-built vmmon modules for VMware Server is suitable for y=
our
> 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]
>=20
> Using compiler "/usr/bin/gcc-4.1". Use environment variable CC to overr=
ide.
>=20
> 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]
>=20
> Extracting the sources of the vmmon module.
>=20
> Building the vmmon module.
>=20
> Building for VMware Server 1.0.0.
> Using 2.6.x kernel build system.
> make: Entrando no diret=F3rio `/tmp/vmware-config0/vmmon-only'
> make -C /lib/modules/2.6.24-1-686-bigmem/build/include/.. SUBDIRS=3D$PW=
D
> SRCROOT=3D$
> PWD/. modules
> make[1]: Entrando no diret=F3rio `/usr/src/linux-headers-2.6.24-1-686-b=
igmem'
>  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=F3rio=

> n=E3o 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=F3rio `/usr/src/linux-headers-2.6.24-1-686-big=
mem'
> make: ** [vmmon.ko] Erro 2
> make: Saindo do diret=F3rio `/tmp/vmware-config0/vmmon-only'
> Unable to build the vmmon module.
>=20
> For more information on how to troubleshoot module-related problems, pl=
ease
> visit our Web site at
> "http://www.vmware.com/download/modules/modules.html"; and
> "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.h=
tml".
>=20
>=20
> Execution aborted.
>=20
> neutron:/home/bruno/vmware/vmware-any-any-update116#
>=20
>=20
>=20


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: