Errr. Forwarding again... Em Qui, 2007-07-05 às 16:30 -0300, Ludi Maciel escreveu: > Em Qui, 2007-07-05 às 08:39 -0400, Marvin Stodolsky escreveu: > > > Again, this is Not Necessary until 2.6.19 kernels. > > Sorry that I can't help further with the remaining problems below. > > But I'm just not knowledgeable in this code area. > No problem. :) > OK. So far we have this (reporting using the latest Ubuntu 7.04 generic kernel+headers): > make -C /lib/modules/`uname -r`/build > SUBDIRS=/home/desktop/Desktop/agrsmsss modules > make[1]: Entrando no diretório > `/usr/src/linux-headers-2.6.20-16-generic' > CC [M] /home/desktop/Desktop/agrsmsss/agrsoftmodem.o > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c: In function > ‘SetAgrModemInterface’: > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:106: warning: implicit > declaration of function ‘inter_module_get_request’ > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:106: warning: assignment > makes pointer from integer without a cast > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:109: warning: implicit > declaration of function ‘inter_module_put’ > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c: In function > ‘modem_init_module’: > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:139: warning: implicit > declaration of function ‘inter_module_register’ > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c: In function > ‘modem_cleanup_module’: > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:151: warning: implicit > declaration of function ‘inter_module_unregister’ > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c: In function > ‘x_request_irq’: > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:226: warning: passing > argument 2 of ‘request_irq’ from incompatible pointer type > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:370:53: error: macro > "INIT_WORK" passed 3 arguments, but takes just 2 > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c: In function > ‘x_task_queue_init’: > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:370: error: ‘INIT_WORK’ > undeclared (first use in this function) > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:370: error: (Each > undeclared identifier is reported only once > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:370: error: for each > function it appears in.) > /home/desktop/Desktop/agrsmsss/agrsoftmodem.c:369: warning: unused > variable ‘x_tqueue’ > make[2]: ** [/home/desktop/Desktop/agrsmsss/agrsoftmodem.o] Erro 1 > make[1]: ** [_module_/home/desktop/Desktop/agrsmsss] Erro 2 > make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.20-16-generic' > make: ** [module] Erro 2 > Should I open a bug report on launchpad.net? Thx. Stan