Re: error con las gcc en vmware 5.5

2005-10-24 Por tema Alfredo Casado
Uf lo que hace el no saber :$ El caso es que mi kernel esta
compilado con gcc-3.3? Porque cuando le meto las gcc-3.3 el vmware me
dice esto?

Your kernel was built with "gcc" version "3.4.4", while you are trying
to use
"/usr/bin/gcc" version "3.3.5". This configuration is not recommended
and VMware
Workstation may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with
compiler
"/usr/bin/gcc" version "3.3.5" anyway? [no] yes

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-config9/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'
  CC [M]  /tmp/vmware-config9/vmmon-only/linux/driver.o
cc1: error: code model `kernel' not supported in the 32 bit mode
make[2]: *** [/tmp/vmware-config9/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config9/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-config9/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.

Como me decia que mi kernel estaba compilado con 3.4 por eso las meti :S

Y con la gcc-3.3 me daba el mensaje de que el kernel no soportaba modo
32 bits :S

El caso es que con el kernel 2.6.8-2-386 y sin tocarle las gcc me
instala el vmware perfectamente y funciona todo bien, pero no se porke
con este kernel no :S

El lun, 24-10-2005 a las 12:20 +0200, David escribió:
> Q tal:
> 
> El Lunes, 24 de Octubre de 2005 12:14, Alfredo Casado escribió:
> > Sip, lo hice con el synaptic pero si:
> >
> > debian:~# apt-get install gcc-3.4
> > Leyendo lista de paquetes... Hecho
> > Creando árbol de dependencias... Hecho
> > gcc-3.4 ya está en su versión más reciente.
> > 0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
> > debian:~#
> >
> > Se supone que ya estan instaladas no? Y aun asi el kernel dice ke es
> > 3.3.5 :S
> 
> Ya, se me ha pirado... lo que te tienes que instalar son las gcc-3.3.5, ya 
> que 
> tu kernel esta compilado con esa gcc.
> 
> es decir
> 
> # apt-get install gcc-3.3
> 
> Y luego esportar la variable CC para que apunte a las gcc que quieres
> 
> export CC=/usr/bin/gcc-3.3
> 
> O eso, o tienes que recompilar tu kernel con las versiones gcc que tengas
> 
> Salud!
> 
> 
> 
> >
> > El lun, 24-10-2005 a las 12:07 +0200, David escribió:
> > > 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 p

Re: error con las gcc en vmware 5.5

2005-10-24 Por tema David
Q tal:

El Lunes, 24 de Octubre de 2005 12:14, Alfredo Casado escribió:
> Sip, lo hice con el synaptic pero si:
>
> debian:~# apt-get install gcc-3.4
> Leyendo lista de paquetes... Hecho
> Creando árbol de dependencias... Hecho
> gcc-3.4 ya está en su versión más reciente.
> 0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
> debian:~#
>
> Se supone que ya estan instaladas no? Y aun asi el kernel dice ke es
> 3.3.5 :S

Ya, se me ha pirado... lo que te tienes que instalar son las gcc-3.3.5, ya que 
tu kernel esta compilado con esa gcc.

es decir

# apt-get install gcc-3.3

Y luego esportar la variable CC para que apunte a las gcc que quieres

export CC=/usr/bin/gcc-3.3

O eso, o tienes que recompilar tu kernel con las versiones gcc que tengas

Salud!



>
> El lun, 24-10-2005 a las 12:07 +0200, David escribió:
> > 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
> > > >
> > > >  [EMAIL PROTECTED]:~$ 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 direct

Re: error con las gcc en vmware 5.5

2005-10-24 Por tema Alfredo Casado
Sip, lo hice con el synaptic pero si:

debian:~# apt-get install gcc-3.4
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
gcc-3.4 ya está en su versión más reciente.
0 actualizados, 0 se instalarán, 0 para eliminar y 0 no actualizados.
debian:~#

Se supone que ya estan instaladas no? Y aun asi el kernel dice ke es
3.3.5 :S


El lun, 24-10-2005 a las 12:07 +0200, David escribió:
> 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
> > >
> > >  [EMAIL PROTECTED]:~$ 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
> > > > mak

Re: error con las gcc en vmware 5.5

2005-10-24 Por tema David
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
> >
> >  [EMAIL PROTECTED]:~$ 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



Re: error con las gcc en vmware 5.5

2005-10-24 Por tema Alfredo Casado
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).

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
> 
>  [EMAIL PROTECTED]:~$ 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



Re: error con las gcc en vmware 5.5

2005-10-24 Por tema David
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

 [EMAIL PROTECTED]:~$ 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



error con las gcc en vmware 5.5

2005-10-23 Por tema Alfredo Casado
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.

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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]