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

Can't compile rtl8189es module (for S9082C, kernel 6.6.41) #9

Open
chris4git opened this issue Jul 24, 2024 · 3 comments
Open

Can't compile rtl8189es module (for S9082C, kernel 6.6.41) #9

chris4git opened this issue Jul 24, 2024 · 3 comments

Comments

@chris4git
Copy link

Hi, I'm very interested by your version of rtl8189es for the S9082C of my box (S905x) which is under
Armbian_community 24.8.0-trunk.434 Noble with Linux 6.6.41-current-meson64
Here is what I tried :

git clone https://github.com/ChalesYu/rtl8822bs-aml.git
git checkout remotes/origin/rtl8188e_usb_sdio_5.13.3-17-test            -> is it good ?
In the Makefile :
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_RPI_ARM64 = y

/tmp/rtl8822bs-aml$ make -j2
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.6.41-current-meson64/build M=/tmp/rtl8822bs-aml  modules
make[1]: Entering directory '/usr/src/linux-headers-6.6.41-current-meson64'
[...]
CC [M]  /tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.o
CC [M]  /tmp/rtl8822bs-aml/os_dep/linux/rtw_cfgvendor.o
/tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.c:458:17: error: too few arguments to function ‘cfg80211_ch_switch_started_notify’
  458 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/rtl8822bs-aml/include/osdep_service_linux.h:98,
                 from /tmp/rtl8822bs-aml/include/osdep_service.h:54,
                 from /tmp/rtl8822bs-aml/include/drv_types.h:27,
                 from /tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8616:6: note: declared here
 8616 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.c:481:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
  481 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8599:6: note: declared here
 8599 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:243: /tmp/rtl8822bs-aml/os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-headers-6.6.41-current-meson64/Makefile:1921: /tmp/rtl8822bs-aml] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.6.41-current-meson64'
make: *** [Makefile:2495: modules] Error 2

Any advice ?

Thanks
Chris

@chris4git
Copy link
Author

Hmm, is this project still alive ?

Chris

@ChalesYu
Copy link
Owner

ChalesYu commented Aug 26, 2024 via email

@chris4git
Copy link
Author

thanks for the advice.

Chris

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

2 participants