Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make errors for Rocky 9.4 #1189

Open
dattilson opened this issue Sep 7, 2024 · 0 comments
Open

Make errors for Rocky 9.4 #1189

dattilson opened this issue Sep 7, 2024 · 0 comments

Comments

@dattilson
Copy link

dattilson commented Sep 7, 2024

I can see people have got this to work for rocky 9.3 and 9.2 from the issues. And as far as I can tell, these have been merged into the main branch.

Although, I'm curious why someone hasn't posted an issue yet for 9.4 considering its been out since May.

As a disclaimer, I'm not that experienced when it comes to linux, so I'm sure one possible reason for this not being a "post-worthy" issue is simply down to user error. However, provided I'm not completely mistaken as such, and based on the type of errors here, I'm more inclined to believe this is simply due to kernel version incompatibility.

I would also hazard a guess that minimal changes are required to get this to work. I'd attempt to make the changes myself, but I'm not very experienced with C, and I have no idea what I'm doing when it comes to drivers.

Here's the logs:

DKMS make.log for 8812au-5.6.4.2_35491.20191025 for kernel 5.14.0-427.31.1.el9_4                                                                                                             .x86_64 (x86_64)
Sat  7 Sep 01:53:55 BST 2024
make[1]: Entering directory '/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.14.0-427.31.1.el9_4.x86_64/bui                                                                                                             ld M=/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build  modules
make[2]: Entering directory '/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64'
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_ioctl_query                                                                                                             .o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_chplan.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/mesh/rtw_mesh_p                                                                                                             athtbl.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/mesh/rtw_mesh_h                                                                                                             wmp.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_xmit.o
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_ap.c:313:12: warning:                                                                                                              ‘issue_aka_chk_frame’ defined but not used [-Wunused-function]
  313 | static int issue_aka_chk_frame(_adapter *adapter, struct sta_info *psta)
      |            ^~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_btcoex_wifi                                                                                                             only.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_beamforming                                                                                                             .o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_rm.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/rtw_rm_fsm.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/core/efuse/rtw_efuse                                                                                                             .o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/osdep_service                                                                                                             .o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/linux/os_intf                                                                                                             s.o
  CC [M]  /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/linux/usb_int                                                                                                             f.o
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/osdep_service.c: In fun                                                                                                             ction ‘thread_exit’:
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/osdep_service.c:1205:9:                                                                                                              error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-f                                                                                                             unction-declaration]
 1205 |         complete_and_exit(comp, 0);
      |         ^~~~~~~~~~~~~~~~~
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/linux/os_intfs.c: In fu                                                                                                             nction ‘rtw_os_ndev_register’:
/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/linux/os_intfs.c:1709:9                                                                                                             : error: too many arguments to function ‘netif_napi_add’
 1709 |         netif_napi_add(ndev, &adapter->napi, rtw_recv_napi_poll, RTL_NAP                                                                                                             I_WEIGHT);
      |         ^~~~~~~~~~~~~~
In file included from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/                                                                                                             osdep_service_linux.h:34,
                 from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/                                                                                                             osdep_service.h:58,
                 from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/                                                                                                             drv_types.h:26,
                 from /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/os_dep/l                                                                                                             inux/os_intfs.c:17:
./include/linux/netdevice.h:2732:1: note: declared here
 2732 | netif_napi_add(struct net_device *dev, struct napi_struct *napi,
      | ^~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:299: /var/lib/dkms/8812au/5.6.4.2_35491.201                                                                                                             91025/build/os_dep/linux/os_intfs.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:299: /var/lib/dkms/8812au/5.6.4.2_35491.201                                                                                                             91025/build/os_dep/osdep_service.o] Error 1
make[2]: *** [Makefile:1936: /var/lib/dkms/8812au/5.6.4.2_35491.20191025/build]                                                                                                              Error 2
make[2]: Leaving directory '/usr/src/kernels/5.14.0-427.31.1.el9_4.x86_64'
make[1]: *** [Makefile:1730: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant