Dear Alexey, Marv & et all, I have found a solution off the net: The errors are overcome [olivares@blackp4 martian-full-20080625]$ make clean make -C kmodule/ clean make[1]: Entering directory `/home/olivares/Downloads/martian-full-20080625/kmodule' make -C /lib/modules/2.6.32.10-90.fc12.i686.PAE/build M="/home/olivares/Downloads/martian-full-20080625/kmodule" clean make[2]: Entering directory `/usr/src/kernels/2.6.32.10-90.fc12.i686.PAE' CLEAN /home/olivares/Downloads/martian-full-20080625/kmodule/.tmp_versions make[2]: Leaving directory `/usr/src/kernels/2.6.32.10-90.fc12.i686.PAE' make[1]: Leaving directory `/home/olivares/Downloads/martian-full-20080625/kmodule' make -C modem/ clean make[1]: Entering directory `/home/olivares/Downloads/martian-full-20080625/modem' RM OBJS RM BINS RM TOOLS make[1]: Leaving directory `/home/olivares/Downloads/martian-full-20080625/modem' [olivares@blackp4 martian-full-20080625]$ make all make -C kmodule/ modules make[1]: Entering directory `/home/olivares/Downloads/martian-full-20080625/kmodule' make -C /lib/modules/2.6.32.10-90.fc12.i686.PAE/build M="/home/olivares/Downloads/martian-full-20080625/kmodule" modules make[2]: Entering directory `/usr/src/kernels/2.6.32.10-90.fc12.i686.PAE' CC [M] /home/olivares/Downloads/martian-full-20080625/kmodule/martian.o /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c: In function ‘martian_isr’: /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:131: warning: value computed is not used /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:148: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function) /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:148: error: (Each undeclared identifier is reported only once /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:148: error: for each function it appears in.) /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c: In function ‘martian_read’: /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:554: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function) /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:554: error: implicit declaration of function ‘signal_pending’ /home/olivares/Downloads/martian-full-20080625/kmodule/martian.c:554: error: implicit declaration of function ‘schedule’ make[3]: *** [/home/olivares/Downloads/martian-full-20080625/kmodule/martian.o] Error 1 make[2]: *** [_module_/home/olivares/Downloads/martian-full-20080625/kmodule] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.32.10-90.fc12.i686.PAE' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/olivares/Downloads/martian-full-20080625/kmodule' make: *** [all] Error 2 [olivares@blackp4 martian-full-20080625]$ cd kmodule/ [olivares@blackp4 kmodule]$ cp martian.c martian.c-orig using the fix in page: http://www.mail-archive.com/debian-bugs-closed@xxxxxxxxxxxxxxxx/msg264173.html only in patch2: unchanged: --- martian-modem-20080617.orig/kmodule/martian.c +++ martian-modem-20080617/kmodule/martian.c @@ -38,6 +38,10 @@ #include <linux/poll.h> #include <linux/interrupt.h> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 32) +#include <linux/sched.h> +#endif + #include "kmartian.h" #include "../martian.h" #include "marsio.h" applying the patch makes the modem compile and work :) [olivares@blackp4 ~]$ uname -r 2.6.32.10-90.fc12.i686.PAE [olivares@blackp4 ~]$ uname -a Linux blackp4 2.6.32.10-90.fc12.i686.PAE #1 SMP Tue Mar 23 10:04:28 UTC 2010 i686 i686 i386 GNU/Linux [olivares@blackp4 ~]$ dmesg | grep 'martian' martian loaded - 20080620 martian 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 martian: added device 11c1:44e BaseAddress = 0xcc00, CommAddres = 0xc800, irq = 19 martian: smp ioctls are obsolete martian_modem is attached. Just sharing the news. Should have looked for it before :( Regards, Antonio