[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 11:23, Alfredo Casado escribió:
> Buenas, lo que pasa es que mi debian venia con las gcc 3.3 y cuando
> instalaba el vmware con el kernel 2.6.8-11-amd64-k8 me decia que mi
> kernel habia sido compilado con la version gcc 3.4 y que estaba
> intentando usar la version 3.3. Asi que actualize gcc a las 3.4 y le
> cambie el CC (export CC=/usr/bin/gcc-3.4 HOSTCC=/usr/bin/gcc-3.4).

Como que has actualizado a 3.4?? has instalado las gcc-3.4?

#apt-get install gcc-3.4

Salud!

>
> Asi ya el vmware no me decia nada del gcc, osea yo suponia que teniendo
> la version 3.4 funcionaria pero he visto que sigue estando la 3.3.5 por
> ahi porque cuando pongo "gcc-3.4 -v" me dice:
>
> gcc: 3.4: No existe el fichero o el directorio
> Leyendo especificaciones de /usr/lib/gcc-lib/i486-linux/3.3.5/specs
> Configurado con: ../src/configure -v --enable-languages=c,c
> ++,java,f77,pascal,objc,ada,treelang --prefix=/usr
> --mandir=/usr/share/man --infodir=/usr/share/info
> --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
> --enable-__cxa_atexit --with-system-zlib --enable-nls
> --without-included-gettext --enable-clocale=gnu --enable-debug
> --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
> i486-linux
> Modelo de hilos: posix
> gcc versión 3.3.5 (Debian 1:3.3.5-13)
>
> Y si pongo "gcc -dumpversion" me dice que es la 3.3.5 :S
>
> Como hago para que el kernel use la 3.4? es que el vmware solo me
> funciona con el kernel de 64bits si lo instalo con las gcc 3.4 sino me
> dice que no es compatible :S
>
> Gracias por adelantado
>
> El lun, 24-10-2005 a las 10:13 +0200, David escribió:
> > 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.h
> > >tml" .
> > >
> > > Execution aborted.
> > >
> > > Alguien puede echarme un cable para hacer que usen el mismo gcc?
> > >
> > > Gracias de antemano



Reply to: