ac600 driver dont compile The 2019 Stack Overflow Developer Survey Results Are InCould not find wx-config error when building Audacity from sourceError on Compiling Android Kernel on Ubuntu 16.04Compile gcc 3.2 on Ubuntu 16.04 (under compiler gcc 5.4.0)Apply menuconfig changes on current kernelTrying to install Tp-Link card | Make won't workcan't install Realtek RTL8723de on ubuntu 16.04 kernel 4.15Installing Drivers for Wifi-External card from cdtp-link ac600 driverProblem regarding space when installing modulesInstalling VMware on 18.10: Failed to build vmmon

Where to refill my bottle in India?

Is "plugging out" electronic devices an American expression?

Shouldn't "much" here be used instead of "more"?

Origin of "cooter" meaning "vagina"

What is the closest word meaning "respect for time / mindful"

How to manage monthly salary

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Worn-tile Scrabble

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Are there incongruent pythagorean triangles with the same perimeter and same area?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Am I thawing this London Broil safely?

Are children permitted to help build the Beis Hamikdash?

How to support a colleague who finds meetings extremely tiring?

Falsification in Math vs Science

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

Protecting Dualbooting Windows from dangerous code (like rm -rf)

Can someone be penalized for an "unlawful" act if no penalty is specified?

What to do when moving next to a bird sanctuary with a loosely-domesticated cat?

What does ひと匙 mean in this manga and has it been used colloquially?

Is bread bad for ducks?

One word riddle: Vowel in the middle

How come people say “Would of”?



ac600 driver dont compile



The 2019 Stack Overflow Developer Survey Results Are InCould not find wx-config error when building Audacity from sourceError on Compiling Android Kernel on Ubuntu 16.04Compile gcc 3.2 on Ubuntu 16.04 (under compiler gcc 5.4.0)Apply menuconfig changes on current kernelTrying to install Tp-Link card | Make won't workcan't install Realtek RTL8723de on ubuntu 16.04 kernel 4.15Installing Drivers for Wifi-External card from cdtp-link ac600 driverProblem regarding space when installing modulesInstalling VMware on 18.10: Failed to build vmmon



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom: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
























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

    – Thomas
    Jan 27 at 14:09











  • @Thomas okay, added

    – Влад Юлин
    Jan 27 at 14:12






  • 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
    Jan 27 at 14:20











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

    – Влад Юлин
    Jan 27 at 14:23

















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
























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

    – Thomas
    Jan 27 at 14:09











  • @Thomas okay, added

    – Влад Юлин
    Jan 27 at 14:12






  • 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
    Jan 27 at 14:20











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

    – Влад Юлин
    Jan 27 at 14:23













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
















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















share|improve this question













share|improve this question




share|improve this question








edited Jan 27 at 14:11







Влад Юлин

















asked Jan 27 at 13:56









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

11




11












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

    – Thomas
    Jan 27 at 14:09











  • @Thomas okay, added

    – Влад Юлин
    Jan 27 at 14:12






  • 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
    Jan 27 at 14:20











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

    – Влад Юлин
    Jan 27 at 14:23

















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

    – Thomas
    Jan 27 at 14:09











  • @Thomas okay, added

    – Влад Юлин
    Jan 27 at 14:12






  • 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
    Jan 27 at 14:20











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

    – Влад Юлин
    Jan 27 at 14:23
















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

– Thomas
Jan 27 at 14:09





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

– Thomas
Jan 27 at 14:09













@Thomas okay, added

– Влад Юлин
Jan 27 at 14:12





@Thomas okay, added

– Влад Юлин
Jan 27 at 14:12




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
Jan 27 at 14:20





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
Jan 27 at 14:20













I installed it from ukuu(Ubuntu Kernel Update Utility)

– Влад Юлин
Jan 27 at 14:23





I installed it from ukuu(Ubuntu Kernel Update Utility)

– Влад Юлин
Jan 27 at 14:23










1 Answer
1






active

oldest

votes


















0














I had the same error with Parrot OS. I know my solution is not pretty well but for me it worked.



Just edit file




include/rtmp.h




And uncomment the declaration of the ieee80211_radiotap_type enum.



/* enum ieee80211_radiotap_type 
IEEE80211_RADIOTAP_TSFT = 0,
IEEE80211_RADIOTAP_FLAGS = 1,
IEEE80211_RADIOTAP_RATE = 2,
IEEE80211_RADIOTAP_CHANNEL = 3,
IEEE80211_RADIOTAP_FHSS = 4,
IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
IEEE80211_RADIOTAP_ANTENNA = 11,
IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
IEEE80211_RADIOTAP_DB_ANTNOISE = 13
;*/


And then just continue with your installation






share|improve this answer








New contributor




Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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
    );



    );













    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

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I had the same error with Parrot OS. I know my solution is not pretty well but for me it worked.



    Just edit file




    include/rtmp.h




    And uncomment the declaration of the ieee80211_radiotap_type enum.



    /* enum ieee80211_radiotap_type 
    IEEE80211_RADIOTAP_TSFT = 0,
    IEEE80211_RADIOTAP_FLAGS = 1,
    IEEE80211_RADIOTAP_RATE = 2,
    IEEE80211_RADIOTAP_CHANNEL = 3,
    IEEE80211_RADIOTAP_FHSS = 4,
    IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
    IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
    IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
    IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
    IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
    IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
    IEEE80211_RADIOTAP_ANTENNA = 11,
    IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
    IEEE80211_RADIOTAP_DB_ANTNOISE = 13
    ;*/


    And then just continue with your installation






    share|improve this answer








    New contributor




    Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      I had the same error with Parrot OS. I know my solution is not pretty well but for me it worked.



      Just edit file




      include/rtmp.h




      And uncomment the declaration of the ieee80211_radiotap_type enum.



      /* enum ieee80211_radiotap_type 
      IEEE80211_RADIOTAP_TSFT = 0,
      IEEE80211_RADIOTAP_FLAGS = 1,
      IEEE80211_RADIOTAP_RATE = 2,
      IEEE80211_RADIOTAP_CHANNEL = 3,
      IEEE80211_RADIOTAP_FHSS = 4,
      IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
      IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
      IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
      IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
      IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
      IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
      IEEE80211_RADIOTAP_ANTENNA = 11,
      IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
      IEEE80211_RADIOTAP_DB_ANTNOISE = 13
      ;*/


      And then just continue with your installation






      share|improve this answer








      New contributor




      Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        I had the same error with Parrot OS. I know my solution is not pretty well but for me it worked.



        Just edit file




        include/rtmp.h




        And uncomment the declaration of the ieee80211_radiotap_type enum.



        /* enum ieee80211_radiotap_type 
        IEEE80211_RADIOTAP_TSFT = 0,
        IEEE80211_RADIOTAP_FLAGS = 1,
        IEEE80211_RADIOTAP_RATE = 2,
        IEEE80211_RADIOTAP_CHANNEL = 3,
        IEEE80211_RADIOTAP_FHSS = 4,
        IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
        IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
        IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
        IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
        IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
        IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
        IEEE80211_RADIOTAP_ANTENNA = 11,
        IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
        IEEE80211_RADIOTAP_DB_ANTNOISE = 13
        ;*/


        And then just continue with your installation






        share|improve this answer








        New contributor




        Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        I had the same error with Parrot OS. I know my solution is not pretty well but for me it worked.



        Just edit file




        include/rtmp.h




        And uncomment the declaration of the ieee80211_radiotap_type enum.



        /* enum ieee80211_radiotap_type 
        IEEE80211_RADIOTAP_TSFT = 0,
        IEEE80211_RADIOTAP_FLAGS = 1,
        IEEE80211_RADIOTAP_RATE = 2,
        IEEE80211_RADIOTAP_CHANNEL = 3,
        IEEE80211_RADIOTAP_FHSS = 4,
        IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5,
        IEEE80211_RADIOTAP_DBM_ANTNOISE = 6,
        IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
        IEEE80211_RADIOTAP_TX_ATTENUATION = 8,
        IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9,
        IEEE80211_RADIOTAP_DBM_TX_POWER = 10,
        IEEE80211_RADIOTAP_ANTENNA = 11,
        IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12,
        IEEE80211_RADIOTAP_DB_ANTNOISE = 13
        ;*/


        And then just continue with your installation







        share|improve this answer








        New contributor




        Fin Heuer 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 answer



        share|improve this answer






        New contributor




        Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 2 days ago









        Fin HeuerFin Heuer

        1




        1




        New contributor




        Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Fin Heuer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.



























            draft saved

            draft discarded
















































            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

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü