Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/11/2003, 00:12
Sperman
 
Fecha de Ingreso: noviembre-2003
Mensajes: 8
Antigüedad: 20 años, 5 meses
Puntos: 0
Muchas gracias, solucioné ese problema, pero ahora tengo otro.
Me voy acercando pero no llego.

Parece que no puedo dar con el "kernel source", probé de 2 maneras diferentes

1)
cd /usr/src/

ln -sf /usr/include/linux linux (efectivamente el archivo modversions.h está ubicado en /usr/include/linux, creo que ese el directorio de mi kernel source, pero no estoy seguro)

cd /pctel-0.9.6

./configure --with-hal=cm8738

y me tira:

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... 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 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 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!

2) También probé

./configure --with-hal=cm8738 --with-kernel-includes=/usr/include/linux

y me tira el mismo error

Repito que tengo mandrake 9.2 y que el archivo bendito ese modversions.h efectivamente está en el directorio /usr/include/linux

Muchísimas gracias!!!!!!!!