ChalesYu / rtl8822bs-aml

unoffical driver for linux (Support rtl8189es rtl8723bs rtl8822bs) and SCI(smartchip)WiFi(S9082C S9012P)
20 stars 6 forks source link

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

Open chris4git opened 2 months ago

chris4git commented 2 months ago

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 commented 2 months ago

Hmm, is this project still alive ?

Chris

ChalesYu commented 1 month ago

You need to know my situation is not quite well. I don't have this wifi  hardware to test , can't help a lot.

So,  as you have a compile issue, I advice you find some patch from other repo. https://github.com/jwrdegoede/rtl8189ES_linux https://github.com/ChalesYu/rtl8822bs-aml/commit/2a705862f25c0efb63f33cd00658a27db3740475

------------------ 原始邮件 ------------------ 发件人: "ChalesYu/rtl8822bs-aml" @.>; 发送时间: 2024年7月29日(星期一) 晚上11:22 @.>; @.***>; 主题: Re: [ChalesYu/rtl8822bs-aml] Can't compile rtl8189es module (for S9082C, kernel 6.6.41) (Issue #9)

Hmm, is this project still alive ?

Chris

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

chris4git commented 1 month ago

thanks for the advice.

Chris