kuba-moo / mt7630e

Mediatek driver for MT7630E WiFi+BT combo with my fixes
42 stars 8 forks source link

Unable to install on Debian 7.6 #17

Open nileshcool opened 9 years ago

nileshcool commented 9 years ago

I am unable to install the driver on a Debian 7.6 system this time, I had posted the problem previouslly for installing the driver on Cetos 7, where I was told the kernel version is old, but here the kernel is also 3.2.0-4 so, don;t think that should be a problem either, the o/p error is as given below

nilesh@NileshDBl:~/$ make make -C /lib/modules/uname -r/build M=/home/nilesh//rt2x00 modules make[1]: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC [M] /home/nilesh//rt2x00/rt2x00dev.o In file included from /home/nilesh//rt2x00/rt2x00dev.c:32:0: /home/nilesh//rt2x00/rt2x00.h:2741:12: warning: ‘struct ieee80211_tx_control’ declared inside parameter list [enabled by default] /home/nilesh//rt2x00/rt2x00.h:2741:12: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /home/nilesh//rt2x00/rt2x00dev.c: In function ‘rt2x00lib_intf_scheduled’: /home/nilesh//rt2x00/rt2x00dev.c:200:10: error: ‘IEEE80211_IFACE_ITER_RESUME_ALL’ undeclared (first use in this function) /home/nilesh//rt2x00/rt2x00dev.c:200:10: note: each undeclared identifier is reported only once for each function it appears in /home/nilesh//rt2x00/rt2x00dev.c:202:10: error: too many arguments to function ‘ieee80211_iterate_active_interfaces’ /usr/src/linux-headers-3.2.0-4-common/include/net/mac80211.h:3047:6: note: declared here /home/nilesh//rt2x00/rt2x00dev.c: In function ‘rt2x00lib_beacondone’: /home/nilesh//rt2x00/rt2x00dev.c:270:18: error: ‘IEEE80211_IFACE_ITER_RESUME_ALL’ undeclared (first use in this function) /home/nilesh//rt2x00/rt2x00dev.c:271:3: error: too many arguments to function ‘ieee80211_iterate_active_interfaces_atomic’ /usr/src/linux-headers-3.2.0-4-common/include/net/mac80211.h:3065:6: note: declared here /home/nilesh//rt2x00/rt2x00dev.c:283:3: error: too many arguments to function ‘ieee80211_iterate_active_interfaces_atomic’ /usr/src/linux-headers-3.2.0-4-common/include/net/mac80211.h:3065:6: note: declared here /home/nilesh//rt2x00/rt2x00dev.c: In function ‘rt2x00lib_pretbtt’: /home/nilesh//rt2x00/rt2x00dev.c:293:18: error: ‘IEEE80211_IFACE_ITER_RESUME_ALL’ undeclared (first use in this function) /home/nilesh//rt2x00/rt2x00dev.c:294:3: error: too many arguments to function ‘ieee80211_iterate_active_interfaces_atomic’ /usr/src/linux-headers-3.2.0-4-common/include/net/mac80211.h:3065:6: note: declared here /home/nilesh//rt2x00/rt2x00dev.c: In function ‘rt2x00lib_rxdone_check_ba’: /home/nilesh//rt2x00/rt2x00dev.c:603:3: error: implicit declaration of function ‘ether_addr_equal_64bits’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[4]: *** [/home/nilesh//rt2x00/rt2x00dev.o] Error 1 make[3]: *** [_module_/home/nilesh//rt2x00] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.2.0-4-amd64' make: *\ [all] Error 2

and the o/p of uname is as given nilesh@NileshDBl:~/Downloads/mt7630e-master$ uname -a Linux NileshDBl 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux nilesh@NileshDBl:~/Downloads/mt7630e-master$

Hope the report will be helpfull for furture debugging