Make Error

rtl-wifi
dr gonzo
2010-09-29
2013-05-02
  • dr gonzo
    dr gonzo
    2010-09-29

    hey so i'm having troubles when I try to make the drivers.

    This is what the terminal is telling me.. .

    make -C /lib/modules/2.6.31-14-generic/build M=/home/savage/rtl-wifi modules
    make: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
      CC   /home/savage/rtl-wifi/ieee80211/ieee80211_softmac.o
      CC   /home/savage/rtl-wifi/ieee80211/ieee80211_rx.o
      CC   /home/savage/rtl-wifi/ieee80211/ieee80211_tx.o
      CC   /home/savage/rtl-wifi/ieee80211/ieee80211_wx.o
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c: In function ‘ieee80211_translate_scan’:
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:62: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:62: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:71: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:71: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:74: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘u8 *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:74: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:81: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:81: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:91: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:91: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:99: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:99: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:102: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:102: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:111: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘u8 *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:111: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:141: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:141: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:146: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:146: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 1 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 3 of ‘iwe_stream_add_event’ from incompatible pointer type
    include/net/iw_handler.h:517: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:162: warning: passing argument 4 of ‘iwe_stream_add_event’ makes pointer from integer without a cast
    include/net/iw_handler.h:517: note: expected ‘struct iw_event *’ but argument is of type ‘unsigned int’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:162: error: too few arguments to function ‘iwe_stream_add_event’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:169: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:169: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:183: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:183: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:198: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:198: error: too few arguments to function ‘iwe_stream_add_point’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 1 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_request_info *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 3 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘char *’ but argument is of type ‘struct iw_event *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:209: warning: passing argument 4 of ‘iwe_stream_add_point’ from incompatible pointer type
    include/net/iw_handler.h:542: note: expected ‘struct iw_event *’ but argument is of type ‘char *’
    /home/savage/rtl-wifi/ieee80211/ieee80211_wx.c:209: error: too few arguments to function ‘iwe_stream_add_point’
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2
    make: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
    make: ***  Error 2

    everything else before that has been going smoothly.