Foros del Web » Administración de Sistemas » Unix / Linux »

configure: error: modversions.h is missing - you should configure your kernel first!

Estas en el tema de configure: error: modversions.h is missing - you should configure your kernel first! en el foro de Unix / Linux en Foros del Web. Hola: Necesito ayuda, tengo un HSP56 MicroModem, mi procesador es celeron a 600 Mhz con SuSE 9.1 mi kernel es 2.6.4-52, quiero navegar en internet, ...
  #1 (permalink)  
Antiguo 05/05/2005, 19:12
 
Fecha de Ingreso: abril-2005
Mensajes: 4
Antigüedad: 19 años
Puntos: 0
Exclamación configure: error: modversions.h is missing - you should configure your kernel first!

Hola:
Necesito ayuda, tengo un HSP56 MicroModem, mi procesador es celeron a 600 Mhz con SuSE 9.1 mi kernel es 2.6.4-52, quiero navegar en internet, pero al tratar de instalar el modem
recovi@linux:~/Desktop/pctel-0.9.6> ./configure --with-hal=cm8738
me manda el siguiente mensaje:

configure: loading cache /dev/null
./configure: line 1: ./configure:: No such file or directory
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build driver for... HAL_CM8738
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux/include/linux/modversions.h usability... no
checking /usr/src/linux/include/linux/modversions.h presence... no
checking for /usr/src/linux/include/linux/modversions.h... no
configure: error: modversions.h is missing - you should configure your kernel first!

Buscando en la red, indicaron que instalara kernel-source y lo instalé , tambien leí que instalara kernel-headers, pero ese no lo encuentro. Se creó el include, pero no tengo el archivo modversions.h, no se en donde buscarlo, me metí al Yast y no encuentro por ningùn lado el kernel-headers.

Tambien me dijeron que hiciera lo siguiente:

> cd /usr/src
>ln -sf /usr/src/linux-2.4.21-99-include/athlon/ linux
nota: anotas la version de tu kernel. Sino sabes teclea uname -ra y listo
lo hice y me salio la versión 2.6.4-52

entonces escribí
> cd /usr/src
>ln -sf /usr/src/kernel-2.6.4-52/include/ linux
me mandaba que no era permitido, lo hice como root y no me mandó el error,
pero aun me sigue mandando el error de modversions.h.

Voy a intentar instalar otro kernel-source ya que me aparecen 3 cuando entro a Yast para instalarlo, pero cuando quiero cambiarlo me dice que Suse instala el adecuado para mi sistema, ¿es recomendable cambiar asi el kernel-source?
Gracias por la ayuda que puedan brindarme.
  #2 (permalink)  
Antiguo 06/05/2005, 10:54
Avatar de ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 22 años
Puntos: 35
Instala el kernel-source correspondiente al kernel que estás usando (uname -r). Además, lee esto.
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:28.