coolshou / rtl8814au

Drivers for the rtl8814au chipset wireless adapters (D-Link DWA-192 rev A1)
22 stars 7 forks source link

Compile Error on CentOS 8.4 ( like RHEL 8.4 ) #10

Open jtome7 opened 2 years ago

jtome7 commented 2 years ago

/root/GIT/rtl8814au/driver/os_dep/linux/os_intfs.c:1697:22: error: initialization of ‘u16 ()(struct net_device , struct sk_buff , struct net_device , u16 ()(struct net_device , struct sk_buff , struct net_device ))’ {aka ‘short unsigned int ()(struct net_device , struct sk_buff , struct net_device , short unsigned int ()(struct net_device , struct sk_buff , struct net_device ))’} from incompatible pointer type ‘u16 ()(struct net_device , struct sk_buff , void , u16 ()(struct net_device , struct sk_buff , struct net_device ))’ {aka ‘short unsigned int ()(struct net_device , struct sk_buff , void , short unsigned int ()(struct net_device , struct sk_buff , struct net_device ))’} [-Werror=incompatible-pointer-types] .ndo_select_queue = rtw_select_queue, ^~~~ /root/GIT/rtl8814au/driver/os_dep/linux/os_intfs.c:1697:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)

coolshou commented 2 years ago

which kernel version are you using?

jtome7 commented 2 years ago

uname -r

4.18.0-305.19.1.el8_4.x86_64

cat /etc/centos-release

CentOS Linux release 8.4.2105

*Thanks!*Joel

*** Joel Tome *

*jtome7 @ gmail.com http://gmail.com****

On Thu, Oct 28, 2021 at 9:30 PM coolshou @.***> wrote:

which kernel version are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coolshou/rtl8814au/issues/10#issuecomment-954339096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGGSOEGFEVOJ3F3WOKGQ53UJH2JXANCNFSM5G5Z57YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

coolshou commented 2 years ago

try branch CentOS_8.4

jtome7 commented 2 years ago

Thank you for taking the time to create the fix for the RealTek 8814au driver for CentOS_8.4 I'll be using it for the TP-LINK AC1900 ARCHER T9UH wireless adapter shown here:

[image: TP-Link-Archer-T9UH-WIFI-Adapter.jpg] Since I don't have any coding talent ... just an everyday Linux user ... may I ask how I get the fix downloaded? Do I use the same "git clone" statement as the original and it will include the new files & fixes?

*Thanks!*Joel

*** Joel Tome*

Greensboro, North Carolina

*jtome7 @ gmail.com http://gmail.com****

On Sun, Oct 31, 2021 at 9:41 PM coolshou @.***> wrote:

try branch CentOS_8.4

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coolshou/rtl8814au/issues/10#issuecomment-955854087, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQGGSOBBFNCUVMIWFRZICCTUJXV6FANCNFSM5G5Z57YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

coolshou commented 2 years ago

after git clone, in the git folder

git pull

checkout branch

git checkout CentOS_8.4 cd driver make

... the branch "CentOS_8.4" only fix compile error.