Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/12/2003, 23:05
Sperman
 
Fecha de Ingreso: noviembre-2003
Mensajes: 8
Antigüedad: 20 años, 5 meses
Puntos: 0
Tengo instalado el siguiente rpm
Nombre: glibc-devel
Versión: 2.3.2-14mdk
Tamaño: 8416 KB
Segun la info, este paquete instala el archivo "modversions.h", y lo ubica en /usr/include/linux (creo yo que este sería el directorio en donde esté ubicado el kernel source). No encontré ningún paquete que se llame "kernel-source" o parecido, lo que decían kernel (algo) parecían configuraciones para necesidades específicas (servidores, pcs con mucha memoria, etc). Si me podés confirmar específicamente cómo se llama el paquete "kernel-source" en Mandrake 9.2 voy a poder confirmar que lo tengo instalado.

Pretendí ver qué cosa tiene ese archivo modversion.h, no sé si será un archivo editable, pero cuando lo abro con un editor de texto da la siguiente información:

#error "================================================= ======"
#error "You should not include /usr/include/{linux,asm}/ header"
#error "files directly for the compilation of kernel modules."
#error ""
#error "glibc now uses kernel header files from a well-defined"
#error "working kernel version (as recommended by Linus Torvalds)"
#error "These files are glibc internal and may not match the"
#error "currently running kernel. They should only be"
#error "included via other system header files - user space"
#error "programs should not directly include <linux/*.h> or"
#error "<asm/*.h> as well."
#error ""
#error "To build kernel modules please do the following:"
#error ""
#error " o Have the kernel sources installed"
#error ""
#error " o Make sure that the symbolic link"
#error " /lib/modules/`uname -r`/build exists and points to"
#error " the matching kernel source directory"
#error ""
#error " o Now copy /boot/vmlinuz.version.h to"
#error " /lib/modules/`uname -r`/build/include/linux/version.h"
#error ""
#error " o When compiling, make sure to use the following"
#error " compiler option to use the correct include files:"
#error ""
#error " -I/lib/modules/`uname -r`/build/include"
#error ""
#error " instead of"
#error ""
#error " -I/usr/include/linux"
#error ""
#error " Please adjust the Makefile accordingly."
#error "================================================= ======"

Quise seguir las instrucciones, aunque no tengo idea de qué es lo que estoy haciendo, igual no lo pude hacer andar (al modem), me sigue tirando eso de que no encuentra al archivo modversion.h y que primero debo configurar el kernel.
Si me pueden dar una manito quedo muy agradecido, sin conexión no voy a poder aprender mucho.
Muchísimas gracias