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

Re: error con las gcc en vmware 5.5



Q tal:

El Lunes, 24 de Octubre de 2005 02:31, Alfredo Casado escribió:
> Hola, avance algo con el vmware 5.5 pero aun tengo problemillas... os
> cuento:
>
> Tengo el kernel 2.6.8-11-amd64-k8 y necesito instalar el vmware 5.5. El
> problema es que cuando ejecuto "./vmware-config.pl" me dice que la
> version que quiero usar de gcc y la version de gcc que el kernel intenta
> usar son distintas :S... Os pongo el mensaje concreto
>
> 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]
>
> Using compiler "/usr/bin/gcc-3.4". Use environment variable CC to
> override.

Como te dice aquí, estas usando para compilar el gcc-3.4. y más adelante te 
dice que has compilado el kernel con la gcc-3.3.5

Además, tambien te dice que uses la variable de entorno CC para sobreescribir 
la detección automática del compilador de gcc, es decir

*Primero asegurate de que tienes instalado la versión que coincide con tu 
kernel

 nogates@quolet:~$ gcc-3.3 -v
[..]
gcc versión 3.3.6 (Debian 1:3.3.6-7

Como ves, yo tengo la 3.3.6... (si tuviera este problema, tendría que usar las 
fuentes de testing o de Sarge para bajar hasta la versión 3.3.5)

Sino, instala con

#apt-get install gcc-3.3

y luego usa la variable de entorno CC para asignarle el compilador a usar

export CC=/usr/bin/gcc-3.3

Y vuelve a probar

Salud!






>
> What is the location of the directory of C header files that match your
> running
> kernel? [/usr/src/kernel-headers-2.6.8-11-amd64-k8/include]
>
> Extracting the sources of the vmmon module.
>
> Building the vmmon module.
>
> Using 2.6.x kernel build system.
> make: Entering directory `/tmp/vmware-config6/vmmon-only'
> make -C /usr/src/kernel-headers-2.6.8-11-amd64-k8/include/.. SUBDIRS=
> $PWD SRCROOT=$PWD/. modules
> make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-11-amd64-k8'
> /tmp/vmware-config6/vmmon-only/Makefile:89: *** Inappropriate build
> environment: you wanted to use gcc version 3.4.4 while kernel attempts
> to use gcc version 3.3.5.
> /tmp/vmware-config6/vmmon-only/Makefile:91: *** For proper build you'll
> have to replace gcc with symbolic link to /usr/bin/gcc-3.4.  Alto.
> make[1]: *** [_module_/tmp/vmware-config6/vmmon-only] Error 2
> make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-11-amd64-k8'
> make: *** [vmmon.ko] Error 2
> make: Leaving directory `/tmp/vmware-config6/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.
>
> Alguien puede echarme un cable para hacer que usen el mismo gcc?
>
> Gracias de antemano



Reply to: