-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Same error here in Ubuntu with the same kernel. The modules, however, compile fine in Gentoo with a 2.6.21 kernel. I'll try with a vanilla 2.6.20 when I have the time, to see if it's a problem with Ubuntu or with 2.6.20 kernels as a whole. Firas Ludi Maciel wrote: > Em Ter, 2007-07-03 às 15:48 -0300, Ludi Maciel escreveu: > Forwarding to the list (I still have to get used to this reply system). > > Marvin and Alexei, > > Here is what I get here: > (Using the original Alpha + Alexei's patch) > > :~/agrsm$ make modules > make -C /lib/modules/2.6.20-16-generic/build > SUBDIRS=/home/desktop/agrsm > modules > make[1]: Entrando no diretório > `/usr/src/linux-headers-2.6.20-16-generic' > CC [M] /home/desktop/agrsm/agrsoftmodem.o > objcopy --weaken-symbol=LXHardwareInfoCreate \ > --weaken-symbol=LXHardwareInfoDestroy \ > /home/desktop/agrsm/agrmodemlib.o /home/desktop/agrsm/agrsm_core.o > CC [M] /home/desktop/agrsm/serial26.o > /home/desktop/agrsm/serial26.c: In function ‘serial8250_get_mctrl’: > /home/desktop/agrsm/serial26.c:1371: warning: unused variable ‘flags’ > /home/desktop/agrsm/serial26.c: In function ‘serial8250_config_port’: > /home/desktop/agrsm/serial26.c:2045: error: ‘UPF_BOOT_ONLYMCA’ > undeclared (first use in this function) > /home/desktop/agrsm/serial26.c:2045: error: (Each undeclared identifier > is reported only once > /home/desktop/agrsm/serial26.c:2045: error: for each function it > appears > in.) > /home/desktop/agrsm/serial26.c:2039: warning: unused variable ‘ret’ > /home/desktop/agrsm/serial26.c: At top level: > /home/desktop/agrsm/serial26.c:2131: warning: initialization from > incompatible pointer type > /home/desktop/agrsm/serial26.c:2132: warning: initialization from > incompatible pointer type > make[2]: ** [/home/desktop/agrsm/serial26.o] Erro 1 > make[1]: ** [_module_/home/desktop/agrsm] Erro 2 > make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.20-16-generic' > make: ** [modules] Erro 2 > > (Now using the 200702 version + Alexei's patch) > > :~/Desktop/agrsm$ make modules > make -C /lib/modules/2.6.20-16-generic/build > SUBDIRS=/home/desktop/Desktop/agrsm modules > make[1]: Entrando no diretório > `/usr/src/linux-headers-2.6.20-16-generic' > CC [M] /home/desktop/Desktop/agrsm/agrsoftmodem.o > objcopy --weaken-symbol=LXHardwareInfoCreate \ > --weaken-symbol=LXHardwareInfoDestroy \ > /home/desktop/Desktop/agrsm/agrmodemlib.o /home/desktop/Desktop/agrsm/agrsm_core.o > CC [M] /home/desktop/Desktop/agrsm/serial26.o > /home/desktop/Desktop/agrsm/serial26.c: In function > ‘serial8250_get_mctrl’: > /home/desktop/Desktop/agrsm/serial26.c:1371: warning: unused variable > ‘flags’ > /home/desktop/Desktop/agrsm/serial26.c: In function > ‘serial8250_config_port’: > /home/desktop/Desktop/agrsm/serial26.c:2045: error: ‘UPF_BOOT_ONLYMCA’ > undeclared (first use in this function) > /home/desktop/Desktop/agrsm/serial26.c:2045: error: (Each undeclared > identifier is reported only once > /home/desktop/Desktop/agrsm/serial26.c:2045: error: for each function > it > appears in.) > /home/desktop/Desktop/agrsm/serial26.c:2039: warning: unused variable > ‘ret’ > /home/desktop/Desktop/agrsm/serial26.c: At top level: > /home/desktop/Desktop/agrsm/serial26.c:2131: warning: initialization > from incompatible pointer type > /home/desktop/Desktop/agrsm/serial26.c:2132: warning: initialization > from incompatible pointer type > make[2]: ** [/home/desktop/Desktop/agrsm/serial26.o] Erro 1 > make[1]: ** [_module_/home/desktop/Desktop/agrsm] Erro 2 > make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.20-16-generic' > make: ** [modules] Erro 2 > > HTH > > Stan > > > > > - -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGitwsAHjp1iy8SzsRApTrAKC2GlqHnpkBt2nMTJAZBYnnr2hA/QCggSX0 Pdj/XnvaD88uIH1281cMBVg= =CxMj -----END PGP SIGNATURE-----