-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't compile in Linux Kernel 4.8.0 #40
Comments
I will try t install and test it again. |
The repo is updated. Try the new one from release branch or branch 2.0.7 Note: You seem to have the headers installed. No need to reinstall. |
I update to the last Firmware Linux dac-TP300LA 4.8.0-040800rc4-generic #201608312129 SMP Thu Sep 1 01:31:59 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux and then install the drivers, and It worked PERFECTLY !!!!! ./installmake -C /lib/modules/ The driver has been successfully installed. SOLVED NOW !!!! dac |
I have problem with compile:
|
@glats I have tried to build on latest commit. How to install build-essential package? |
./install return the same result. What additional details needed? |
I think the error is related to the version of kernel. I could compile it with some versions, and NOT with other versions.... not sure exactly the kind of error. |
@dcialdella : forgot to mention, this problem is fixed in 2.0.8. issue #42 |
https://github.com/neurobin/MT7630E/tree/2.0.7 |
make -C /lib/modules/
uname -r
/build M=/opt/MT7630E-release/rt2x00 modulesmake[1]: Entering directory '/usr/src/linux-headers-4.8.0-040800rc3-generic'
CC [M] /opt/MT7630E-release/rt2x00/rt2x00dev.o
In file included from /opt/MT7630E-release/rt2x00/rt2x00dev.c:32:0:
/opt/MT7630E-release/rt2x00/rt2x00.h:2166:40: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function)
struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
^
/opt/MT7630E-release/rt2x00/rt2x00.h:2167:22: error: field ‘curr_band’ has incomplete type
enum ieee80211_band curr_band;
^
/opt/MT7630E-release/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_channel’:
/opt/MT7630E-release/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;
^
/opt/MT7630E-release/rt2x00/rt2x00dev.c:945:32: note: each undeclared identifier is reported only once for each function it appears in
/opt/MT7630E-release/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;
^
/opt/MT7630E-release/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_probe_hw_modes’:
/opt/MT7630E-release/rt2x00/rt2x00dev.c:1009:20: error: ‘IEEE80211_BAND_2GHZ’ undeclared (first use in this function)
rt2x00dev->bands[IEEE80211_BAND_2GHZ].n_channels = 14;
^
/opt/MT7630E-release/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 /opt/MT7630E-release/rt2x00/rt2x00dev.c:27:
/opt/MT7630E-release/rt2x00/rt2x00dev.c: In function ‘rt2x00lib_remove_hw’:
/opt/MT7630E-release/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)
/opt/MT7630E-release/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: recipe for target '/opt/MT7630E-release/rt2x00/rt2x00dev.o' failed
make[2]: *** [/opt/MT7630E-release/rt2x00/rt2x00dev.o] Error 1
Makefile:1477: recipe for target 'module/opt/MT7630E-release/rt2x00' failed
make[1]: *** [module/opt/MT7630E-release/rt2x00] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-040800rc3-generic'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: