Thread: [Rtl-wifi-devel] Problems and some ideas with "rtl818x-newstack"
Status: Alpha
Brought to you by:
hauke-m
From: Festor <fes...@gm...> - 2007-07-24 14:30:07
|
I use Ubuntu 7.04 with 2.6.18.8 , 2.6.20, 2.6.21 kernel vanilla and when I use "make" I get this: festor@sniper-win:~/rtl-wifi$ make make -C /lib/modules/2.6.18.8-custom/build M=3D/home/festor/rtl-wifi module= s make[1]: se ingresa al directorio `/usr/src/linux-2.6.18.8' CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_softmac.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_rx.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_tx.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_wx.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_module.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_softmac_wx.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip.o CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211-rtl.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt-rtl.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep-rtl.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp-rtl.o CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187_core.o CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_93cx6.o CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_wx.o CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_rtl8225.o CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_rtl8225z2.o LD [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_core.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_sa2400.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_93cx6.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.o /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.c:469: aviso: se defini=F3 'r8180_wx_set_monitor_type' pero no se usa CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_max2820.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_gct.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8225.o CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.o /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c: En la funci=F3n 'rtl8255_rf_init': /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c:1710: aviso: ISO C90 proh=EDbe las declaraciones mezcladas y c=F3digo LD [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180.o Building modules, stage 2. MODPOST CC /home/festor/rtl-wifi/ieee80211/ieee80211-rtl.mod.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211-rtl.ko CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt-rtl.mod.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt-rtl.ko CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp-rtl.ko CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.mod.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.ko CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep-rtl.mod.o LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep-rtl.ko CC /home/festor/rtl-wifi/rtl8187-newstack/r8187.mod.o LD [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187.ko CC /home/festor/rtl-wifi/rtl818x-newstack/r8180.mod.o LD [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180.ko make[1]: se sale del directorio `/usr/src/linux-2.6.18.8' In English: /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.c:469: warning: `was define= d r8180_wx_set_monitor_type' but it is not used /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c: In the function `rtl8255_rf_init': /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c:1710: warning: ISO C90 prohibits the mixed declarations and code Building modules, stage 2. MODPOST Any ideas? |
From: Bruce R. <bns...@ho...> - 2007-07-24 22:38:04
|
Festor wrote: > I use Ubuntu 7.04 with 2.6.18.8 <http://2.6.18.8> , 2.6.20, 2.6.21 > kernel vanilla and when I use "make" I get this: > > festor@sniper-win :~/rtl-wifi$ make > make -C /lib/modules/2.6.18.8-custom/build M=/home/festor/rtl-wifi modules > make[1]: se ingresa al directorio `/usr/src/linux-2.6.18.8 > <http://2.6.18.8>' > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_softmac.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_rx.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_tx.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_wx.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_module.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_softmac_wx.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip.o > CC [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211- rtl.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt-rtl.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep- rtl.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp- rtl.o > CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187_core.o > CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_93cx6.o > CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_wx.o > CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_rtl8225.o > CC [M] /home/festor/rtl-wifi/rtl8187-newstack/r8180_rtl8225z2.o > LD [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_core.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_sa2400.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_93cx6.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.o > /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.c:469: aviso: se definió > 'r8180_wx_set_monitor_type' pero no se usa > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_max2820.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_gct.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8225.o > CC [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.o > /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c: En la función > 'rtl8255_rf_init': > /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c:1710: aviso: ISO > C90 prohíbe las declaraciones mezcladas y código > LD [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180.o > Building modules, stage 2. > MODPOST > CC /home/festor/rtl-wifi/ieee80211/ieee80211-rtl.mod.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211- rtl.ko > CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt-rtl.mod.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt- rtl.ko > CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_ccmp-rtl.ko > CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.mod.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_tkip-rtl.ko > CC /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep- rtl.mod.o > LD [M] /home/festor/rtl-wifi/ieee80211/ieee80211_crypt_wep-rtl.ko > CC /home/festor/rtl-wifi/rtl8187-newstack/r8187.mod.o > LD [M] /home/festor/rtl-wifi/rtl8187-newstack/r8187.ko > CC /home/festor/rtl-wifi/rtl818x-newstack/r8180.mod.o > LD [M] /home/festor/rtl-wifi/rtl818x-newstack/r8180.ko > make[1]: se sale del directorio `/usr/src/linux-2.6.18.8 <http://2.6.18.8>' > > In English: > > /home/festor/rtl-wifi/rtl818x-newstack/r8180_wx.c:469: warning: `was > defined r8180_wx_set_monitor_type' but it is not used > > /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c: In the function > `rtl8255_rf_init': > /home/festor/rtl-wifi/rtl818x-newstack/r8180_rtl8255.c:1710: warning: > ISO C90 prohibits the mixed declarations and code > Building modules, stage 2. > MODPOST > > Any ideas? > I'm running on Debian "Sarge" kernel 2.6.8-4-686 I do get the warning CC [M] /home/bruce/rtl-wifi/rtl818x-newstack/r8180_wx.o /home/bruce/rtl-wifi/rtl818x-newstack/r8180_wx.c:469: warning: `r8180_wx_set_monitor_type' defined but not used I've just been ignoring this warning. I don't get the warning about ISO C90 not liking mixed declarations and code. Checking the version of my C compiler gives ~/rtl-wifi$ cc -v Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gci486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) I expect that you have a different version/configuration that causes you to get the warning. I think you can ignore this warning as well. |
From: Festor <fes...@gm...> - 2007-07-25 06:03:18
|
> > I don't get the warning about ISO C90 not liking mixed declarations and > code. Checking the version of my C compiler gives > ~/rtl-wifi$ cc -v > Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs > Configured with: ../src/configure -v > --enable-languages=3Dc,c++,java,f77,pascal,objc,ada,treelang --prefix=3D/= usr > --mandir=3D/usr/share/man > --infodir=3D/usr/share/info--with-gxx-include-dir=3D/usr/include/c++/3.3 > --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls > --without-included-gettext --enable-clocale=3Dgnu --enable-debug > --enable-java-gc=3Dboehm --enable-java-awt=3Dxlib --enable-objc-gci486-li= nux > Thread model: posix > gcc version 3.3.5 (Debian 1:3.3.5-13) festor@sniper-win:~$ cc -v Usando especificaciones internas. Objetivo: i486-linux-gnu Configurado con: ../src/configure -v --enable-languages=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr --enable-shared --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --enable-nls --program-suffix=3D-4.1 --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=3Drelease i486-linux-gnu Modelo de hilos: posix gcc versi=F3n 4.1.2 (Ubuntu 4.1.2-0ubuntu4) I expect that you have a different version/configuration that causes you > to get the warning. I think you can ignore this warning as well. ok, but when I do this: insmod rtl818x-newstack/r8180.ko The system is blocked and I cannot work nor do nothing. Does not have anything to do with the errors of before? More info: https://sourceforge.net/forum/forum.php?thread_id=3D1784690&forum_id=3D6521= 49 Sorry for my bad English |