cat /var/lib/dkms/rtw8852be/1.0.0/build/make.log
DKMS make.log for rtw8852be-1.0.0 for kernel 6.8.0-60-generic (x86_64)
Cum 13 Haz 2025 15:30:11 +03


*******************

IMPORTANT MESSAGE TO ALL USERS

The RTW8852BE driver in https://github.com/lwfinger/rtw89.git is now functional as of 10-OCT-2022

THIS REPO IS REDUNDANT AND WILL BE REMOVED 1-DEC-2022.

*******************


#rm -f .symvers.8852be
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.0-60-generic/build M=/var/lib/dkms/rtw8852be/1.0.0/build  modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.0-60-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/platform/platform_linux_pc_pci.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/rtw_cfg.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/mlme_linux.o
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service.c:247:13: warning: conflicting types for ‘dbg_rtw_vmfree’ due to enum/integer mismatch; have ‘void(void *, u32,  const enum mstat_f,  const char *, const int)’ {aka ‘void(void *, unsigned int,  const enum mstat_f,  const char *, const int)’} [-Wenum-int-mismatch]
  247 | inline void dbg_rtw_vmfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
      |             ^~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtw8852be/1.0.0/build/include/drv_types.h:25,
                 from /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service.c:17:
/var/lib/dkms/rtw8852be/1.0.0/build/include/osdep_service.h:141:6: note: previous declaration of ‘dbg_rtw_vmfree’ with type ‘void(void *, const enum mstat_f,  u32,  const char *, const int)’ {aka ‘void(void *, const enum mstat_f,  unsigned int,  const char *, const int)’}
  141 | void dbg_rtw_vmfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service.c:298:13: warning: conflicting types for ‘dbg_rtw_mfree’ due to enum/integer mismatch; have ‘void(void *, u32,  const enum mstat_f,  const char *, const int)’ {aka ‘void(void *, unsigned int,  const enum mstat_f,  const char *, const int)’} [-Wenum-int-mismatch]
  298 | inline void dbg_rtw_mfree(void *pbuf, u32 sz, const enum mstat_f flags, const char *func, const int line)
      |             ^~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/include/osdep_service.h:144:6: note: previous declaration of ‘dbg_rtw_mfree’ with type ‘void(void *, const enum mstat_f,  u32,  const char *, const int)’ {aka ‘void(void *, const enum mstat_f,  unsigned int,  const char *, const int)’}
  144 | void dbg_rtw_mfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
      |      ^~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:125:14: warning: no previous prototype for ‘rtw_classify8021d’ [-Wmissing-prototypes]
  125 | unsigned int rtw_classify8021d(struct sk_buff *skb)
      |              ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:284:5: warning: no previous prototype for ‘rtw_ndev_init’ [-Wmissing-prototypes]
  284 | int rtw_ndev_init(struct net_device *dev)
      |     ^~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:308:6: warning: no previous prototype for ‘rtw_ndev_uninit’ [-Wmissing-prototypes]
  308 | void rtw_ndev_uninit(struct net_device *dev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:352:6: warning: no previous prototype for ‘rtw_hook_if_ops’ [-Wmissing-prototypes]
  352 | void rtw_hook_if_ops(struct net_device *ndev)
      |      ^~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:441:5: warning: no previous prototype for ‘rtw_os_ndev_alloc’ [-Wmissing-prototypes]
  441 | int rtw_os_ndev_alloc(_adapter *adapter)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c: In function ‘rtw_ethtool_get_drvinfo’:
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:502:17: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’? [-Werror=implicit-function-declaration]
  502 |                 strlcpy(info->driver, wiphy_dev(wdev->wiphy)->driver->name,
      |                 ^~~~~~~
      |                 strscpy
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c: At top level:
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:607:5: warning: no previous prototype for ‘rtw_os_ndev_register’ [-Wmissing-prototypes]
  607 | int rtw_os_ndev_register(_adapter *adapter, const char *name)
      |     ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:728:5: warning: no previous prototype for ‘rtw_os_ndevs_alloc’ [-Wmissing-prototypes]
  728 | int rtw_os_ndevs_alloc(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:781:6: warning: no previous prototype for ‘rtw_os_ndevs_free’ [-Wmissing-prototypes]
  781 | void rtw_os_ndevs_free(struct dvobj_priv *dvobj)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:891:4: warning: no previous prototype for ‘rtw_init_default_value’ [-Wmissing-prototypes]
  891 | u8 rtw_init_default_value(_adapter *padapter)
      |    ^~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:1972:5: warning: no previous prototype for ‘rtw_os_ndevs_register’ [-Wmissing-prototypes]
 1972 | int rtw_os_ndevs_register(struct dvobj_priv *dvobj)
      |     ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:2090:6: warning: no previous prototype for ‘netdev_br_init’ [-Wmissing-prototypes]
 2090 | void netdev_br_init(struct net_device *netdev)
      |      ^~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:2365:5: warning: no previous prototype for ‘_pm_netdev_open’ [-Wmissing-prototypes]
 2365 | int _pm_netdev_open(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:2411:5: warning: no previous prototype for ‘_mi_pm_netdev_open’ [-Wmissing-prototypes]
 2411 | int _mi_pm_netdev_open(struct net_device *pnetdev)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:2433:5: warning: no previous prototype for ‘pm_netdev_open’ [-Wmissing-prototypes]
 2433 | int pm_netdev_open(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.c:40:6: warning: no previous prototype for ‘_rtw_skb_queue_purge’ [-Wmissing-prototypes]
   40 | void _rtw_skb_queue_purge(struct sk_buff_head *list)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:2541:5: warning: no previous prototype for ‘pm_netdev_close’ [-Wmissing-prototypes]
 2541 | int pm_netdev_close(struct net_device *pnetdev, u8 bnormal)
      |     ^~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:3090:5: warning: no previous prototype for ‘rtw_suspend_normal’ [-Wmissing-prototypes]
 3090 | int rtw_suspend_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.c:769:5: warning: no previous prototype for ‘rtw_change_ifname’ [-Wmissing-prototypes]
  769 | int rtw_change_ifname(_adapter *padapter, const char *ifname)
      |     ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:3461:6: warning: no previous prototype for ‘rtw_mi_resume_process_normal’ [-Wmissing-prototypes]
 3461 | void rtw_mi_resume_process_normal(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.c:3490:5: warning: no previous prototype for ‘rtw_resume_process_normal’ [-Wmissing-prototypes]
 3490 | int rtw_resume_process_normal(_adapter *padapter)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.c:179:6: warning: no previous prototype for ‘indicate_wx_scan_complete_event’ [-Wmissing-prototypes]
  179 | void indicate_wx_scan_complete_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.c:192:6: warning: no previous prototype for ‘rtw_indicate_wx_assoc_event’ [-Wmissing-prototypes]
  192 | void rtw_indicate_wx_assoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.c:215:6: warning: no previous prototype for ‘rtw_indicate_wx_disassoc_event’ [-Wmissing-prototypes]
  215 | void rtw_indicate_wx_disassoc_event(_adapter *padapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.c:1271:5: warning: no previous prototype for ‘wext_mode_to_rtw_mlme_state’ [-Wmissing-prototypes]
 1271 | u32 wext_mode_to_rtw_mlme_state(union iwreq_data *wrqu)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.c: In function ‘rtw_random32’:
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.c:854:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘get_random_u32’? [-Werror=implicit-function-declaration]
  854 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                get_random_u32
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_linux.c:6257:5: warning: no previous prototype for ‘rtw_phl_test_set’ [-Wmissing-prototypes]
 6257 | int rtw_phl_test_set(struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/xmit_linux.c:554:5: warning: no previous prototype for ‘rtw_os_is_adapter_ready’ [-Wmissing-prototypes]
  554 | int rtw_os_is_adapter_ready(_adapter *padapter, struct sk_buff *pkt)
      |     ^~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.o
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/osdep_service_linux.o] Error 1
make[3]: *** Bitmemiş işler için bekliyor....
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/os_intfs.o] Error 1
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:460:6: warning: no previous prototype for ‘rtw_cfg80211_allow_ch_switch_notify’ [-Wmissing-prototypes]
  460 | bool rtw_cfg80211_allow_ch_switch_notify(_adapter *adapter)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:502:17: error: too few arguments to function ‘cfg80211_ch_switch_started_notify’
  502 |                 cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtw8852be/1.0.0/build/include/osdep_service_linux.h:100,
                 from /var/lib/dkms/rtw8852be/1.0.0/build/include/osdep_service.h:42,
                 from /var/lib/dkms/rtw8852be/1.0.0/build/include/drv_types.h:25,
                 from /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8804:6: note: declared here
 8804 | void cfg80211_ch_switch_started_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:520:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
  520 |         cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/net/cfg80211.h:8787:6: note: declared here
 8787 | void cfg80211_ch_switch_notify(struct net_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:548:6: warning: no previous prototype for ‘rtw_2g_channels_init’ [-Wmissing-prototypes]
  548 | void rtw_2g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:553:6: warning: no previous prototype for ‘rtw_5g_channels_init’ [-Wmissing-prototypes]
  553 | void rtw_5g_channels_init(struct ieee80211_channel *channels)
      |      ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:558:6: warning: no previous prototype for ‘rtw_2g_rates_init’ [-Wmissing-prototypes]
  558 | void rtw_2g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:565:6: warning: no previous prototype for ‘rtw_5g_rates_init’ [-Wmissing-prototypes]
  565 | void rtw_5g_rates_init(struct ieee80211_rate *rates)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:572:34: warning: no previous prototype for ‘rtw_spt_band_alloc’ [-Wmissing-prototypes]
  572 | struct ieee80211_supported_band *rtw_spt_band_alloc(enum band_type band)
      |                                  ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:626:6: warning: no previous prototype for ‘rtw_spt_band_free’ [-Wmissing-prototypes]
  626 | void rtw_spt_band_free(struct ieee80211_supported_band *spt_band)
      |      ^~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:719:36: warning: no previous prototype for ‘nl80211_iftype_to_rtw_network_type’ [-Wmissing-prototypes]
  719 | NDIS_802_11_NETWORK_INFRASTRUCTURE nl80211_iftype_to_rtw_network_type(enum nl80211_iftype type)
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:754:5: warning: no previous prototype for ‘nl80211_iftype_to_rtw_mlme_state’ [-Wmissing-prototypes]
  754 | u32 nl80211_iftype_to_rtw_mlme_state(enum nl80211_iftype type)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:2394:5: warning: no previous prototype for ‘cfg80211_rtw_set_default_mgmt_key’ [-Wmissing-prototypes]
 2394 | int cfg80211_rtw_set_default_mgmt_key(struct wiphy *wiphy,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:3063:5: warning: no previous prototype for ‘rtw_cfg80211_is_target_wps_scan’ [-Wmissing-prototypes]
 3063 | int rtw_cfg80211_is_target_wps_scan(struct cfg80211_scan_request *scan_req, struct cfg80211_ssid *target_ssid)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:5707:6: warning: no previous prototype for ‘dump_station_parameters’ [-Wmissing-prototypes]
 5707 | void dump_station_parameters(void *sel, struct wiphy *wiphy, const struct station_parameters *params)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:6181:18: warning: no previous prototype for ‘rtw_sta_info_get_by_idx’ [-Wmissing-prototypes]
 6181 | struct sta_info *rtw_sta_info_get_by_idx(struct sta_priv *pstapriv, const int idx, u8 *asoc_list_num)
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:10428:5: warning: no previous prototype for ‘cfg80211_rtw_external_auth’ [-Wmissing-prototypes]
10428 | int cfg80211_rtw_external_auth(struct wiphy *wiphy, struct net_device *dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:10663:26: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ [-Werror=incompatible-pointer-types]
10663 |         .change_beacon = cfg80211_rtw_change_beacon,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.c:10663:26: note: (near initialization for ‘rtw_cfg80211_ops.change_beacon’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtw8852be/1.0.0/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.0-60-generic/Makefile:1925: /var/lib/dkms/rtw8852be/1.0.0/build] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-60-generic'
make: *** [Makefile:648: modules] Error 2
linux@linux-HP-Laptop-14-em0xxx:~/rtl8852be$