ac600 driver dont compile












0















I need to get driver for tp-link ac600. And I write this commands:



git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make


after make command I get this errors:



In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5723:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TSFT’
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:53:2: note: previous definition of ‘IEEE80211_RADIOTAP_TSFT’ was here
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5724:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FLAGS’
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:54:2: note: previous definition of ‘IEEE80211_RADIOTAP_FLAGS’ was here
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5725:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_RATE’
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:55:2: note: previous definition of ‘IEEE80211_RADIOTAP_RATE’ was here
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5726:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_CHANNEL’
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:56:2: note: previous definition of ‘IEEE80211_RADIOTAP_CHANNEL’ was here
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5727:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FHSS’
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:57:2: note: previous definition of ‘IEEE80211_RADIOTAP_FHSS’ was here
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5728:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:58:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5729:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:59:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’ was here
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5730:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_LOCK_QUALITY’
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:60:2: note: previous definition of ‘IEEE80211_RADIOTAP_LOCK_QUALITY’ was here
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5731:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TX_ATTENUATION’
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:61:2: note: previous definition of ‘IEEE80211_RADIOTAP_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5732:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:62:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5733:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_TX_POWER’
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:63:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_TX_POWER’ was here
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5734:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_ANTENNA’
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:64:2: note: previous definition of ‘IEEE80211_RADIOTAP_ANTENNA’ was here
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5735:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:65:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5736:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTNOISE’
IEEE80211_RADIOTAP_DB_ANTNOISE = 13
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:66:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTNOISE’ was here
IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:291: recipe for target '/home/yalef/mt7610u/os/linux/rt_profile.o' failed
make[2]: *** [/home/yalef/mt7610u/os/linux/rt_profile.o] Error 1
Makefile:1562: recipe for target '_module_/home/yalef/mt7610u' failed
make[1]: *** [_module_/home/yalef/mt7610u] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.20.5-042005-generic»
Makefile:370: recipe for target 'modules' failed
make: *** [modules] Error 2


I have Xubuntu 18.04
uname -r:



4.20.5-042005-generic


How can I fix it?










share|improve this question









New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What Ubuntu version version are you running? Please also add the output of uname -r to the question.

    – Thomas
    2 days ago











  • @Thomas okay, added

    – Влад Юлин
    2 days ago






  • 1





    That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

    – Thomas
    2 days ago











  • I installed it from ukuu(Ubuntu Kernel Update Utility)

    – Влад Юлин
    2 days ago
















0















I need to get driver for tp-link ac600. And I write this commands:



git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make


after make command I get this errors:



In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5723:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TSFT’
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:53:2: note: previous definition of ‘IEEE80211_RADIOTAP_TSFT’ was here
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5724:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FLAGS’
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:54:2: note: previous definition of ‘IEEE80211_RADIOTAP_FLAGS’ was here
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5725:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_RATE’
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:55:2: note: previous definition of ‘IEEE80211_RADIOTAP_RATE’ was here
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5726:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_CHANNEL’
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:56:2: note: previous definition of ‘IEEE80211_RADIOTAP_CHANNEL’ was here
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5727:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FHSS’
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:57:2: note: previous definition of ‘IEEE80211_RADIOTAP_FHSS’ was here
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5728:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:58:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5729:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:59:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’ was here
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5730:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_LOCK_QUALITY’
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:60:2: note: previous definition of ‘IEEE80211_RADIOTAP_LOCK_QUALITY’ was here
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5731:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TX_ATTENUATION’
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:61:2: note: previous definition of ‘IEEE80211_RADIOTAP_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5732:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:62:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5733:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_TX_POWER’
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:63:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_TX_POWER’ was here
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5734:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_ANTENNA’
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:64:2: note: previous definition of ‘IEEE80211_RADIOTAP_ANTENNA’ was here
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5735:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:65:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5736:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTNOISE’
IEEE80211_RADIOTAP_DB_ANTNOISE = 13
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:66:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTNOISE’ was here
IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:291: recipe for target '/home/yalef/mt7610u/os/linux/rt_profile.o' failed
make[2]: *** [/home/yalef/mt7610u/os/linux/rt_profile.o] Error 1
Makefile:1562: recipe for target '_module_/home/yalef/mt7610u' failed
make[1]: *** [_module_/home/yalef/mt7610u] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.20.5-042005-generic»
Makefile:370: recipe for target 'modules' failed
make: *** [modules] Error 2


I have Xubuntu 18.04
uname -r:



4.20.5-042005-generic


How can I fix it?










share|improve this question









New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • What Ubuntu version version are you running? Please also add the output of uname -r to the question.

    – Thomas
    2 days ago











  • @Thomas okay, added

    – Влад Юлин
    2 days ago






  • 1





    That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

    – Thomas
    2 days ago











  • I installed it from ukuu(Ubuntu Kernel Update Utility)

    – Влад Юлин
    2 days ago














0












0








0








I need to get driver for tp-link ac600. And I write this commands:



git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make


after make command I get this errors:



In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5723:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TSFT’
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:53:2: note: previous definition of ‘IEEE80211_RADIOTAP_TSFT’ was here
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5724:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FLAGS’
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:54:2: note: previous definition of ‘IEEE80211_RADIOTAP_FLAGS’ was here
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5725:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_RATE’
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:55:2: note: previous definition of ‘IEEE80211_RADIOTAP_RATE’ was here
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5726:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_CHANNEL’
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:56:2: note: previous definition of ‘IEEE80211_RADIOTAP_CHANNEL’ was here
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5727:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FHSS’
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:57:2: note: previous definition of ‘IEEE80211_RADIOTAP_FHSS’ was here
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5728:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:58:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5729:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:59:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’ was here
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5730:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_LOCK_QUALITY’
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:60:2: note: previous definition of ‘IEEE80211_RADIOTAP_LOCK_QUALITY’ was here
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5731:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TX_ATTENUATION’
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:61:2: note: previous definition of ‘IEEE80211_RADIOTAP_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5732:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:62:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5733:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_TX_POWER’
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:63:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_TX_POWER’ was here
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5734:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_ANTENNA’
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:64:2: note: previous definition of ‘IEEE80211_RADIOTAP_ANTENNA’ was here
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5735:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:65:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5736:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTNOISE’
IEEE80211_RADIOTAP_DB_ANTNOISE = 13
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:66:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTNOISE’ was here
IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:291: recipe for target '/home/yalef/mt7610u/os/linux/rt_profile.o' failed
make[2]: *** [/home/yalef/mt7610u/os/linux/rt_profile.o] Error 1
Makefile:1562: recipe for target '_module_/home/yalef/mt7610u' failed
make[1]: *** [_module_/home/yalef/mt7610u] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.20.5-042005-generic»
Makefile:370: recipe for target 'modules' failed
make: *** [modules] Error 2


I have Xubuntu 18.04
uname -r:



4.20.5-042005-generic


How can I fix it?










share|improve this question









New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I need to get driver for tp-link ac600. And I write this commands:



git clone https://github.com/ulli-kroll/mt7610u.git
cd mt7610u
make


after make command I get this errors:



In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5723:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TSFT’
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:53:2: note: previous definition of ‘IEEE80211_RADIOTAP_TSFT’ was here
IEEE80211_RADIOTAP_TSFT = 0,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5724:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FLAGS’
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:54:2: note: previous definition of ‘IEEE80211_RADIOTAP_FLAGS’ was here
IEEE80211_RADIOTAP_FLAGS = 1,
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5725:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_RATE’
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:55:2: note: previous definition of ‘IEEE80211_RADIOTAP_RATE’ was here
IEEE80211_RADIOTAP_RATE = 2,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5726:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_CHANNEL’
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:56:2: note: previous definition of ‘IEEE80211_RADIOTAP_CHANNEL’ was here
IEEE80211_RADIOTAP_CHANNEL = 3,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5727:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_FHSS’
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:57:2: note: previous definition of ‘IEEE80211_RADIOTAP_FHSS’ was here
IEEE80211_RADIOTAP_FHSS = 4,
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5728:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:58:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5729:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:59:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_ANTNOISE’ was here
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5730:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_LOCK_QUALITY’
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:60:2: note: previous definition of ‘IEEE80211_RADIOTAP_LOCK_QUALITY’ was here
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5731:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_TX_ATTENUATION’
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:61:2: note: previous definition of ‘IEEE80211_RADIOTAP_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5732:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:62:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_TX_ATTENUATION’ was here
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5733:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DBM_TX_POWER’
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:63:2: note: previous definition of ‘IEEE80211_RADIOTAP_DBM_TX_POWER’ was here
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5734:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_ANTENNA’
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:64:2: note: previous definition of ‘IEEE80211_RADIOTAP_ANTENNA’ was here
IEEE80211_RADIOTAP_ANTENNA = 11,
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5735:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:65:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTSIGNAL’ was here
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/yalef/mt7610u/include/rt_config.h:55:0,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
/home/yalef/mt7610u/include/rtmp.h:5736:5: error: redeclaration of enumerator ‘IEEE80211_RADIOTAP_DB_ANTNOISE’
IEEE80211_RADIOTAP_DB_ANTNOISE = 13
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./include/net/mac80211.h:26:0,
from /home/yalef/mt7610u/include/os/rt_linux.h:66,
from /home/yalef/mt7610u/include/rtmp_os.h:43,
from /home/yalef/mt7610u/include/rtmp_comm.h:44,
from /home/yalef/mt7610u/include/rt_config.h:33,
from /home/yalef/mt7610u/os/linux/rt_profile.c:28:
./include/net/ieee80211_radiotap.h:66:2: note: previous definition of ‘IEEE80211_RADIOTAP_DB_ANTNOISE’ was here
IEEE80211_RADIOTAP_DB_ANTNOISE = 13,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.build:291: recipe for target '/home/yalef/mt7610u/os/linux/rt_profile.o' failed
make[2]: *** [/home/yalef/mt7610u/os/linux/rt_profile.o] Error 1
Makefile:1562: recipe for target '_module_/home/yalef/mt7610u' failed
make[1]: *** [_module_/home/yalef/mt7610u] Error 2
make[1]: выход из каталога «/usr/src/linux-headers-4.20.5-042005-generic»
Makefile:370: recipe for target 'modules' failed
make: *** [modules] Error 2


I have Xubuntu 18.04
uname -r:



4.20.5-042005-generic


How can I fix it?







drivers kernel xubuntu compiling gcc






share|improve this question









New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago







Влад Юлин













New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









Влад ЮлинВлад Юлин

11




11




New contributor




Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Влад Юлин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • What Ubuntu version version are you running? Please also add the output of uname -r to the question.

    – Thomas
    2 days ago











  • @Thomas okay, added

    – Влад Юлин
    2 days ago






  • 1





    That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

    – Thomas
    2 days ago











  • I installed it from ukuu(Ubuntu Kernel Update Utility)

    – Влад Юлин
    2 days ago



















  • What Ubuntu version version are you running? Please also add the output of uname -r to the question.

    – Thomas
    2 days ago











  • @Thomas okay, added

    – Влад Юлин
    2 days ago






  • 1





    That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

    – Thomas
    2 days ago











  • I installed it from ukuu(Ubuntu Kernel Update Utility)

    – Влад Юлин
    2 days ago

















What Ubuntu version version are you running? Please also add the output of uname -r to the question.

– Thomas
2 days ago





What Ubuntu version version are you running? Please also add the output of uname -r to the question.

– Thomas
2 days ago













@Thomas okay, added

– Влад Юлин
2 days ago





@Thomas okay, added

– Влад Юлин
2 days ago




1




1





That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

– Thomas
2 days ago





That doesn't look like an official Ubuntu kernel. =0) Where did you get that? The module compiles without problems with 4.18.0-13-generic.

– Thomas
2 days ago













I installed it from ukuu(Ubuntu Kernel Update Utility)

– Влад Юлин
2 days ago





I installed it from ukuu(Ubuntu Kernel Update Utility)

– Влад Юлин
2 days ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Влад Юлин is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113279%2fac600-driver-dont-compile%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Влад Юлин is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Влад Юлин is a new contributor. Be nice, and check out our Code of Conduct.













Влад Юлин is a new contributor. Be nice, and check out our Code of Conduct.












Влад Юлин is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113279%2fac600-driver-dont-compile%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

迪纳利

How did Captain America manage to do this?

南乌拉尔铁路局