Alle 09:40, luned́ 28 luglio 2003, Gianluca ha scritto: > Alle 00:27, sabato 26 luglio 2003, Emmanuele Bassi ha scritto: > > * Gianluca <[EMAIL PROTECTED]>: > > > Sto provando a ricompilare il kernel 2.6 su una sarge (e prossimamente > > > anche su una woody aggiornata) ma tutto quello che ottengo sono dei > > > syntax error in vari driver. (oltre al non poter compilare alcuni file) > > > > Che GCC stai usando? > > Questo. > > gcc version 3.3.1 20030626 (Debian prerelease) > > Devo provare con il 2.95.x appena ho un po' di tempo.
Aggiornamento: ho provato il test2 con il 2.95 e ottengo questo errore: In file included from drivers/char/riscom8.c:51: drivers/char/riscom8.h:84: error: field `tqueue' has incomplete type drivers/char/riscom8.h:85: error: field `tqueue_hangup' has incomplete type drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE' drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration drivers/char/riscom8.c: In function `rc_mark_event': drivers/char/riscom8.c:344: warning: implicit declaration of function `queue_task' drivers/char/riscom8.c:344: error: `tq_riscom' undeclared (first use in this function) drivers/char/riscom8.c:344: error: (Each undeclared identifier is reported only once drivers/char/riscom8.c:344: error: for each function it appears in.) drivers/char/riscom8.c:345: warning: implicit declaration of function `mark_bh' drivers/char/riscom8.c:345: error: `RISCOM8_BH' undeclared (first use in this function) drivers/char/riscom8.c: In function `rc_receive_exc': drivers/char/riscom8.c:428: error: structure has no member named `tqueue' drivers/char/riscom8.c:428: error: `tq_timer' undeclared (first use in this function) drivers/char/riscom8.c: In function `rc_receive': drivers/char/riscom8.c:459: error: structure has no member named `tqueue' drivers/char/riscom8.c:459: error: `tq_timer' undeclared (first use in this function) drivers/char/riscom8.c: In function `rc_check_modem': drivers/char/riscom8.c:547: warning: implicit declaration of function `schedule_task' drivers/char/riscom8.c: In function `rc_open': drivers/char/riscom8.c:1050: warning: unused variable `flags' drivers/char/riscom8.c: In function `do_riscom_bh': drivers/char/riscom8.c:1662: warning: implicit declaration of function `run_task_queue' drivers/char/riscom8.c:1662: error: `tq_riscom' undeclared (first use in this function) drivers/char/riscom8.c: In function `rc_init_drivers': drivers/char/riscom8.c:1713: warning: implicit declaration of function `init_bh' drivers/char/riscom8.c:1713: error: `RISCOM8_BH' undeclared (first use in this function) drivers/char/riscom8.c: In function `rc_release_drivers': drivers/char/riscom8.c:1756: warning: implicit declaration of function `remove_bh' drivers/char/riscom8.c:1756: error: `RISCOM8_BH' undeclared (first use in this function) drivers/char/riscom8.c: At top level: drivers/char/riscom8.c:84: warning: `DECLARE_TASK_QUEUE' declared `static' but never defined make[2]: *** [drivers/char/riscom8.o] Error 1 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 Sembra proprio un errore del codice. Guardando su internet mi e' sembrato di capire che e' un problema di conversione del codice alle nuove API. Qualcuno conferma ? (e ce ne sono ancora in giro di errori simili) bye Gianluca -- We are the opensource. Existence as you know it is over. We will add your proprietary features and technological distinctiveness to own opensource project. Resistence is futile. Windows is closed. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Conto Arancio lo apri con un clic. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=664&d=29-7