McMCCRU / rtl8188gu

Driver for Linux RTL8188GU (RTL8710B) (VID:PID = 0x0BDA:0xB711)
306 stars 103 forks source link

Make Error 2 on WSL2 Kali Rolling #68

Open TuanZiGit opened 7 months ago

TuanZiGit commented 7 months ago
System: Kali Rolling on WSL2 with Linux Kernel 5.15.90.2-3
Host System: Windows 11 25987.1000
Everything managed by apt is newest.
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.90.2-microsoft-standard-WSL2/build M=/home/kali/rtl8188gu-master  modules
make[1]: 进入目录“/home/kali/WSL2LK5.15.90.3”
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_cmd.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_security.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_debug.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_io.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_ioctl_query.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_ioctl_set.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_ieee80211.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_mlme.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_mlme_ext.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_mi.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_wlan_util.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_vht.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_pwrctrl.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_rf.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_recv.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_sta_mgt.o
/home/kali/rtl8188gu-master/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/home/kali/rtl8188gu-master/core/rtw_sta_mgt.c:352:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
  352 |         if (&psta->lock != NULL)
      |                         ^~
In file included from /home/kali/rtl8188gu-master/include/drv_types.h:106,
                 from /home/kali/rtl8188gu-master/core/rtw_sta_mgt.c:17:
/home/kali/rtl8188gu-master/include/sta_info.h:229:17: note: ‘lock’ declared here
  229 |         _lock   lock;
      |                 ^~~~
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_ap.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_xmit.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_p2p.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_rson.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_tdls.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_br_ext.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_iol.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_sreset.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_btcoex_wifionly.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_btcoex.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_beamforming.o
  CC [M]  /home/kali/rtl8188gu-master/core/rtw_odm.o
  CC [M]  /home/kali/rtl8188gu-master/core/efuse/rtw_efuse.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/osdep_service.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/os_intfs.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/usb_intf.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/usb_ops_linux.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/ioctl_linux.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/xmit_linux.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/mlme_linux.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/recv_linux.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/ioctl_cfg80211.o
/home/kali/rtl8188gu-master/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/home/kali/rtl8188gu-master/os_dep/linux/ioctl_cfg80211.c:2619:33: warning: the comparison will always evaluate as ‘tru’ for the address of ‘ssid’ will never be NULL [-Waddress]
 2619 |                 if (ssids->ssid != NULL
      |                                 ^~
In file included from /home/kali/rtl8188gu-master/include/osdep_service_linux.h:93,
                 from /home/kali/rtl8188gu-master/include/osdep_service.h:47,
                 from /home/kali/rtl8188gu-master/include/drv_types.h:27,
                 from /home/kali/rtl8188gu-master/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:2172:12: note: ‘ssid’ declared here
 2172 |         u8 ssid[IEEE80211_MAX_SSID_LEN];
      |            ^~~~
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/wifi_regd.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/rtw_android.o
  CC [M]  /home/kali/rtl8188gu-master/os_dep/linux/rtw_proc.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_intf.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_com.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_com_phycfg.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_phy.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_dm.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_dm_acs.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_btcoex_wifionly.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_btcoex.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_mp.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_mcc.o
  CC [M]  /home/kali/rtl8188gu-master/hal/hal_hci/hal_usb.o
  CC [M]  /home/kali/rtl8188gu-master/hal/led/hal_usb_led.o
  CC [M]  /home/kali/rtl8188gu-master/hal/HalPwrSeqCmd.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/Hal8710BPwrSeq.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_sreset.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_hal_init.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_phycfg.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_rf6052.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_dm.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_rxdesc.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_cmd.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/hal8710b_fw.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/rtl8710b_lps_poff.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/usb/usb_halinit.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/usb/rtl8710bu_led.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/usb/rtl8710bu_xmit.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/usb/rtl8710bu_recv.o
  CC [M]  /home/kali/rtl8188gu-master/hal/rtl8710b/usb/usb_ops.o
  CC [M]  /home/kali/rtl8188gu-master/hal/efuse/rtl8710b/HalEfuseMask8710B_USB.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_debug.o
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c: In function ‘phydm_cmd_parser’:
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2294:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2294 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2314:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2314 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2334:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2334 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2353:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2353 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2367:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2367 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2412:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2412 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2429:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2429 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2470:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2470 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2498:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2498 |                         if (input[i + 1])
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2540:21: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + 16’ must not be NULL [-Waddress]
 2540 |                 if (input[1]) {
      |                     ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2598:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2598 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2616:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2616 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2763:58: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + 16’ must not be NULL [-Waddress]
 2763 |                 if (p_dm->support_ic_type & ODM_RTL8822B && input[1]) {
      |                                                          ^~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2805:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2805 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2820:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2820 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2904:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + 16’ must not be NULL [-Waddress]
 2904 |                         if (input[1])
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2929:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 2929 |                         if (input[i + 1]) {
      |                             ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/phydm_debug.c:2974:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + 16’ must not be NULL [-Waddress]
 2974 |                         if (input[1])
      |                             ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_antdiv.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_soml.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_smt_ant.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_antdect.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_interface.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_phystatus.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_hwconfig.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm.o
/home/kali/rtl8188gu-master/hal/phydm/phydm.c: In function ‘phydm_pause_func_console’:
/home/kali/rtl8188gu-master/hal/phydm/phydm.c:1691:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 1691 |                         if (input[i + 1]) {
      |                             ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_dig.o
/home/kali/rtl8188gu-master/hal/phydm/phydm_dig.c: In function ‘phydm_dig_debug’:
/home/kali/rtl8188gu-master/hal/phydm/phydm_dig.c:1892:29: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)((int)i + 1) * 16)’ must not be NULL [-Waddress]
 1892 |                         if (input[i + 1])
      |                             ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_pathdiv.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_rainfo.o
/home/kali/rtl8188gu-master/hal/phydm/phydm_rainfo.c: In function ‘phydm_ra_debug’:
/home/kali/rtl8188gu-master/hal/phydm/phydm_rainfo.c:131:21: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)((int)i + 1) * 16)’ must not be NULL [-Waddress]
  131 |                 if (input[i + 1])
      |                     ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_dynamictxpower.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_adaptivity.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_cfotracking.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_noisemonitor.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_acs.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_beamforming.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_dfs.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/txbf/halcomtxbf.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/txbf/haltxbfinterface.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/txbf/phydm_hal_txbf_api.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_adc_sampling.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_ccx.o
/home/kali/rtl8188gu-master/hal/phydm/phydm_ccx.c: In function ‘phydm_clm_dbg’:
/home/kali/rtl8188gu-master/hal/phydm/phydm_ccx.c:1128:21: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)(i + 1) * 16)’ must not be NULL [-Waddress]
 1128 |                 if (input[i + 1]) {
      |                     ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_psd.o
/home/kali/rtl8188gu-master/hal/phydm/phydm_psd.c: In function ‘phydm_psd_debug’:
/home/kali/rtl8188gu-master/hal/phydm/phydm_psd.c:348:37: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)((int)i + 1) * 16)’ must not be NULL [-Waddress]
  348 |                                 if (input[i + 1]) {
      |                                     ^~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_primary_cca.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_cck_pd.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_rssi_monitor.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_auto_dbg.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_math_lib.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_api.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/phydm_pow_train.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.o
/home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.c: In function ‘halrf_support_ability_debug’:
/home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.c:891:21: warning: the comparison will always evaluate as ‘true’ for the pointer operand in ‘input + (sizetype)((long unsigned int)((int)i + 1) * 16)’ must not be NULL [-Waddress]
  891 |                 if (input[i + 1]) {
      |                     ^~~~~
/home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.c: At top level:
/home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.c:948:1: warning: conflicting types for ‘halrf_cmn_info_hook’ due to enum/integer mismatch; have ‘void(void *, enum halrf_cmninfo_hook_e,  void *)’ [-Wenum-int-mismatch]
  948 | halrf_cmn_info_hook(
      | ^~~~~~~~~~~~~~~~~~~
In file included from /home/kali/rtl8188gu-master/include/../hal/phydm/phydm.h:56,
                 from /home/kali/rtl8188gu-master/include/../hal/phydm/phydm_precomp.h:62,
                 from /home/kali/rtl8188gu-master/include/hal_data.h:20,
                 from /home/kali/rtl8188gu-master/hal/btc/mp_precomp.h:19,
                 from /home/kali/rtl8188gu-master/hal/phydm/halrf/halrf.c:20:
/home/kali/rtl8188gu-master/include/../hal/phydm/halrf/halrf.h:215:1: note: previous declaration of ‘halrf_cmn_info_hoo’ with type ‘void(void *, u32,  void *)’ {aka ‘void(void *, unsigned int,  void *)’}
  215 | halrf_cmn_info_hook(
      | ^~~~~~~~~~~~~~~~~~~
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/halphyrf_ce.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/halrf_powertracking_ce.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/halrf_powertracking.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/halrf_kfree.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/rtl8710b/halhwimg8710b_bb.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/rtl8710b/halhwimg8710b_mac.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/rtl8710b/halhwimg8710b_rf.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/rtl8710b/phydm_regconfig8710b.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/rtl8710b/phydm_rtl8710b.o
  CC [M]  /home/kali/rtl8188gu-master/hal/phydm/halrf/rtl8710b/halrf_8710b.o
  CC [M]  /home/kali/rtl8188gu-master/hal/btc/halbtc8723bwifionly.o
  CC [M]  /home/kali/rtl8188gu-master/hal/btc/halbtc8822bwifionly.o
  CC [M]  /home/kali/rtl8188gu-master/hal/btc/halbtc8821cwifionly.o
  CC [M]  /home/kali/rtl8188gu-master/platform/platform_ops.o
  LD [M]  /home/kali/rtl8188gu-master/8188gu.o
  MODPOST /home/kali/rtl8188gu-master/Module.symvers
ERROR: modpost: "wiphy_free" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_unlink_bss" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_connect_done" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_mgmt_tx_status" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_vendor_cmd_reply" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "ieee80211_freq_khz_to_channel" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_get_bss" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "wiphy_unregister" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_del_sta_sinfo" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
ERROR: modpost: "cfg80211_rx_mgmt_khz" [/home/kali/rtl8188gu-master/8188gu.ko] undefined!
WARNING: modpost: suppressed 18 unresolved symbol warnings because there were too many)
make[2]: *** [scripts/Makefile.modpost:133:/home/kali/rtl8188gu-master/Module.symvers] 错误 1
make[2]: *** 正在删除文件“/home/kali/rtl8188gu-master/Module.symvers”
make[1]: *** [Makefile:1817:modules] 错误 2
make[1]: 离开目录“/home/kali/WSL2LK5.15.90.3”
make: *** [Makefile:1895:modules] 错误 2
TuanZiGit commented 7 months ago

i'm running on x86_64