Ubuntu Pastebin

Paste from Lukesky at Sat, 14 Jan 2017 19:06:27 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
lukesky@lukesky-X550CL:~$ lsb_release -dc ; uname -a
Description:	Ubuntu 16.10
Codename:	yakkety
Linux lukesky-X550CL 4.8.0-30-generic #32-Ubuntu SMP Fri Dec 2 03:43:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
lukesky@lukesky-X550CL:~$ git clone https://github.com/kuba-moo/mt7630e
Cloning into 'mt7630e'...
remote: Counting objects: 233, done.
remote: Total 233 (delta 0), reused 0 (delta 0), pack-reused 233
Ricezione degli oggetti: 100% (233/233), 577.72 KiB | 369.00 KiB/s, done.
Risoluzione dei delta: 100% (129/129), done.
Checking connectivity... fatto.
lukesky@lukesky-X550CL:~$ cd mt7630e
lukesky@lukesky-X550CL:~/mt7630e$ make
make -C /lib/modules/`uname -r`/build M=/home/lukesky/mt7630e/rt2x00 modules
make[1]: ingresso nella directory "/usr/src/linux-headers-4.8.0-30-generic"
  CC [M]  /home/lukesky/mt7630e/rt2x00/rt2x00dev.o
In file included from /home/lukesky/mt7630e/rt2x00/rt2x00dev.c:32:0:
/home/lukesky/mt7630e/rt2x00/rt2x00.h:2166:40: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
  struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
                                        ^~~~~~~~~~~~~~~~~~~
/home/lukesky/mt7630e/rt2x00/rt2x00.h:2167:22: error: field ‘curr_band’ has incomplete type
  enum ieee80211_band curr_band;
                      ^~~~~~~~~
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_channel’:
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:945:32: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
  entry->band = channel <= 14 ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ;
                                ^~~~~~~~~~~~~~~~~~~
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:945:32: note: each undeclared identifier is reported only once for each function it appears in
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:945:54: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
  entry->band = channel <= 14 ? IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ;
                                                      ^~~~~~~~~~~~~~~~~~~
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_probe_hw_modes’:
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:1009:20: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
   rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_channels = 14;
                    ^~~~~~~~~~~~~~~~~~~
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:1025:20: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
   rt2x00dev->bands[IEEE80211_BAND_5GHZ].n_channels =
                    ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/linkage.h:4:0,
                 from ./include/linux/kernel.h:6,
                 from /home/lukesky/mt7630e/rt2x00/rt2x00dev.c:27:
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_remove_hw’:
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:1050:41: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
  if (likely(rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_2GHZ])) {
                                         ^
./include/linux/compiler.h:167:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
/home/lukesky/mt7630e/rt2x00/rt2x00dev.c:1054:31: error: ‘IEEE80211_BAND_5GHZ’ undeclared (first use in this function)
   rt2x00dev->hw->wiphy->bands[IEEE80211_BAND_5GHZ] = NULL;
                               ^~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:289: set di istruzioni per l'obiettivo "/home/lukesky/mt7630e/rt2x00/rt2x00dev.o" non riuscito
make[2]: *** [/home/lukesky/mt7630e/rt2x00/rt2x00dev.o] Errore 1
Makefile:1489: set di istruzioni per l'obiettivo "_module_/home/lukesky/mt7630e/rt2x00" non riuscito
make[1]: *** [_module_/home/lukesky/mt7630e/rt2x00] Errore 2
make[1]: uscita dalla directory "/usr/src/linux-headers-4.8.0-30-generic"
Makefile:7: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
lukesky@lukesky-X550CL:~/mt7630e$ sudo make install
[sudo] password di lukesky: 
cp -v firmware/*/* /lib/firmware/
'firmware/BT/mt76x0.bin' -> '/lib/firmware/mt76x0.bin'
'firmware/Wi-FI/MT7650E234.bin' -> '/lib/firmware/MT7650E234.bin'
cp rt2x00/mt7630e.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/
cp: impossibile eseguire stat di 'rt2x00/mt7630e.ko': File o directory non esistente
Makefile:15: set di istruzioni per l'obiettivo "install" non riuscito
make: *** [install] Errore 1
lukesky@lukesky-X550CL:~/mt7630e$ 
Download as text