mt7610u-linksys-ae6000-wifi-fixes icon indicating copy to clipboard operation
mt7610u-linksys-ae6000-wifi-fixes copied to clipboard

Compile Errors on 4.19.0-kali4-amd64 #1 SMP Debian 4.19.28-2kali1 (2019-03-18) x86_64

Open gjdunga opened this issue 5 years ago • 4 comments

A whole bunch of errors on redeclaration of enumerator ‘IEEE80211_RADIOTAP_*’ (All of the different flags) I'm assuming it's coming from ../../os/linux/rt_profile.c:28: I'm attaching the make log. ae6000.txt

The device lists as a 0e8d:7610 MediaTek Inc.
Willing to open this piece of garbage to verify chipsets.

gjdunga avatar Apr 21 '19 06:04 gjdunga

I am also having this issue on Gentoo, Kernel 4.19.27.

JackHunt avatar Apr 22 '19 13:04 JackHunt

Same on Alpine, Kernel 4.19.51-0-vanilla. Any idea how to solve issue?

v01tag3 avatar Jun 20 '19 18:06 v01tag3

My kernel is 4.19.49-1-MANJARO. When I commet enum ieee80211_radiotap_type in mt7610u-linksys-ae6000-wifi-fixes/include/rtmp.h, near 7119 line, code can be compiled. After code modification, the compile results are as follows, the final part:

  CC [M]  /home/**/Downloads/mt7610u-linksys-ae6000-wifi-fixes/os/linux/../../common/frq_cal.o
  LD [M]  /home/**/Downloads/mt7610u-linksys-ae6000-wifi-fixes/os/linux/mt7610u_sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/**/Downloads/mt7610u-linksys-ae6000-wifi-fixes/os/linux/mt7610u_sta.mod.o
  LD [M]  /home/**/Downloads/mt7610u-linksys-ae6000-wifi-fixes/os/linux/mt7610u_sta.ko
make[1]: Leaving directory '/usr/lib/modules/4.19.49-1-MANJARO/build'
cp -f /home/**/Downloads/mt7610u-linksys-ae6000-wifi-fixes/os/linux/mt7610u_sta.ko /tftpboot 2>/dev/null || :

It may conflict with the new kernel headers at include/net/ieee80211_radiotap.h.

bridgeQiao avatar Jun 26 '19 08:06 bridgeQiao

I had exactly the same issue. With the above modification to rtmp.h I am now able to compile successfully.

Adapter: 0e8d:7610 MediaTek Inc. Device: Raspberry Pi 3b+ Kernel: Linux 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux

tcdtech avatar Aug 04 '20 17:08 tcdtech