Can't compile in Suse 11.1 (kernel 2.6.27.7-9

rtl-wifi
Jim Bo
2008-12-22
2013-05-02
  • Jim Bo
    Jim Bo
    2008-12-22

    Help!  Any ideas??

    Thanks!
    Jim

    linux-wjkf:/home/jimbo/rtl-wifi # uname -a
    Linux linux-wjkf 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386 GNU/Linux
    linux-wjkf:/home/jimbo/rtl-wifi # make clean
    make -C /lib/modules/2.6.27.7-9-pae/build M=/home/jimbo/rtl-wifi clean
    make[1]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
    make -C ../../../linux-2.6.27.7-9 O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. clean
      CLEAN   /home/jimbo/rtl-wifi/.tmp_versions
    make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
    linux-wjkf:/home/jimbo/rtl-wifi # make
    make -C /lib/modules/2.6.27.7-9-pae/build M=/home/jimbo/rtl-wifi modules
    make[1]: Entering directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
    make -C ../../../linux-2.6.27.7-9 O=/usr/src/linux-2.6.27.7-9-obj/i386/pae/. modules
      CC [M]  /home/jimbo/rtl-wifi/ieee80211/ieee80211_softmac.o
      CC [M]  /home/jimbo/rtl-wifi/ieee80211/ieee80211_rx.o
      CC [M]  /home/jimbo/rtl-wifi/ieee80211/ieee80211_tx.o
      CC [M]  /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.o
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c: In function ‘ieee80211_translate_scan’:
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:62: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:71: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:74: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:81: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:91: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:99: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:102: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:111: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:141: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:146: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:162: error: too few arguments to function ‘iwe_stream_add_event’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:169: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:183: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:198: error: too few arguments to function ‘iwe_stream_add_point’
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    /home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.c:209: error: too few arguments to function ‘iwe_stream_add_point’
    make[5]: *** [/home/jimbo/rtl-wifi/ieee80211/ieee80211_wx.o] Error 1
    make[4]: *** [/home/jimbo/rtl-wifi/ieee80211] Error 2
    make[3]: *** [_module_/home/jimbo/rtl-wifi] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae'
    make: *** [modules] Error 2
    linux-wjkf:/home/jimbo/rtl-wifi #

     
    • Scott Powell
      Scott Powell
      2009-02-22

      I have the same issue running OpenSuse 11.1. Can anyone shed some light on this?

       
    • Scott Powell
      Scott Powell
      2009-02-22

      Looks like a pointer to an iw_request_info struct has to be passed in for the iwe_stream_add_point and iwe_stream_add_event functions. Not sure yet if the values of the struct actually matter.

       
    • Scott Powell
      Scott Powell
      2009-02-22

      I got it to compile. A pointer to the iw_request_info can be passed in to the function making all the iwe_stream_add_point and iwe_stream_add_event functions, from the function calling it. There was another compile issue where <asm/semaphore.h> had to be changed to <linux/semaphore.h>.

      After compiling and installing the modules without any error messages from dmesg. lsmod shows that the module is running, along with the modified ieee80211 and eeprom modules. The wlan0 interface does not appear in ifconfig though. Not sure what to do now.