El Domingo, 2 de Abril de 2006 12:25, Josep M. Queralt escribió:
Hola:
Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir.
En "makefile" tienes que decirle donde se hallan las fuentes del kernel (tiene que ser versión 2.6.xxx)
Probablemente antes tendrás que instalarlas, puesto que SuSE me parece que no lo hace por defecto. Pon el DVD/o CD y con YAST busca "kernel-source" o algo parecido y instalalas.
Así ha sido las he tenido que instalar.
Edita, entra como root, la variable "KERNEL_DIR" en "makefile" y ponle el "path", luego también como "root" ya puedes ejecutar makefile.
No querría parecer muy torpe, pero no sé como hacer esto. De momento he hecho lo que me ha sugerido Carlos E.R. según las instrucciones que están en /usr/src/linux/README.SUSE # make cloneconfig # make modules_prepare # cd /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6 # make -C /usr/src/linux M=$(pwd) # make -C /usr/src/linux M=$(pwd) modules_install Llegado a este punto sigo igual. Lo siguiente sale al hacer: # make -C /usr/src/linux M=$(pwd) make: Entering directory `/usr/src/linux-2.6.15-jad2' WARNING: Symbol version dump /usr/src/linux-2.6.15-jad2/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.o /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.c: In function ‘sqcam_open’: /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.c:561: warning: ISO C90 forbids mixed declarations and code /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.c: In function ‘sqcam_mmap’: /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.c:795: warning: ISO C90 forbids mixed declarations and code /home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.c:816: error: implicit declaration of function ‘remap_page_range’ make[1]: *** [/home/jhosue/Desktop/sqcam_driver_for_kernel_2_6/sq905.o] Error 1 make: *** [_module_/home/jhosue/Desktop/sqcam_driver_for_kernel_2_6] Error 2 make: Leaving directory `/usr/src/linux-2.6.15-jad2' ¿Que hago mal? -- Salu2 Jhosue