rtl8188eus icon indicating copy to clipboard operation
rtl8188eus copied to clipboard

Build fix for linux 5.2.x

Open codito opened this issue 4 years ago • 6 comments

diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c
index b183a09..478f384 100644
--- a/os_dep/linux/os_intfs.c
+++ b/os_dep/linux/os_intfs.c
@@ -1099,7 +1099,10 @@ unsigned int rtw_classify8021d(struct sk_buff *skb)
 }
 
 
-#if (LINUX_VERSION_CODE>=KERNEL_VERSION(4,19,0))
+#if (LINUX_VERSION_CODE>=KERNEL_VERSION(5,2,0))
+static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
+		struct net_device *sb_dev)
+#elif (LINUX_VERSION_CODE>=KERNEL_VERSION(4,19,0))
 static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
 		struct net_device *sb_dev,
 		select_queue_fallback_t fallback)

Tested with 5.2.8 on Arch linux.

codito avatar Aug 17 '19 06:08 codito

i've a problem with rtl8188eus can't install it in kali linux 4.19 or 5.2.0 anyway for a month trying to do that . please want you to help me with that using anydesk. give me your email to contact you doing it.

Avatarrtl avatar Sep 12 '19 18:09 Avatarrtl

I've a problem with rtl8188eus can't install it in kali linux 5.2.0

Error! Bad return status for module build on kernel: 5.2.0-kali2-amd64 (x86_64)

Please help

FlaccidNic avatar Sep 28 '19 12:09 FlaccidNic

same here, can you help?

Building module: cleaning build area... 'make' all KVER=5.2.0-2parrot1-amd64...............(bad exit status: 2) Error! Bad return status for module build on kernel: 5.2.0-2parrot1-amd64 (x86_64) Consult /var/lib/dkms/8188eu/1.0/build/make.log for more information.

SirGrifo avatar Sep 29 '19 23:09 SirGrifo

Does the content of /var/lib/dkms/8188eu/1.0/build/make.log provide any hints?

codito avatar Sep 30 '19 00:09 codito

I confirm this patch fixes compilation in gentoo: linux 5.2.0-pf8 gcc version 8.3.0 (Gentoo 8.3.0-r1 p1.1) binutils x86_64-pc-linux-gnu-2.32

aleek avatar Oct 15 '19 19:10 aleek

I confirm this patch fixes compilation in gentoo: linux 5.2.0-pf8 gcc version 8.3.0 (Gentoo 8.3.0-r1 p1.1) binutils x86_64-pc-linux-gnu-2.32

Cloned a day before but make all is stuck up and giving error "-Werror=incompatible-pointer-types", already started a new issue, but no response yet.

shuq007 avatar Oct 19 '19 07:10 shuq007