我在 Ubuntu 中遇到了 wifi 问题。我在 7 月 4 日安装了更新后,无线网络连接不再工作,但在 Windows 中仍然可以工作。wifi以前有时会停止工作,但我只需将这些命令复制到终端并重新启动,wifi就会再次工作:
cd rtlwifi_new
sudo make clean
make
sudo make install
但是这次当我尝试它时,命令不起作用。我输入 >sudo make install 后,有一大堆文字,然后是这个错误:
/home/josuehboy/rtlwifi_new/rc.c:336:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.alloc = rtl_rate_alloc,
^~~~~~~~~~~~~~
/home/josuehboy/rtlwifi_new/rc.c:336:11: note: (near initialization for ‘rtl_rate_ops.alloc’)
cc1: some warnings being treated as errors
我不知道现在该怎么办。有人知道发生了什么吗?
输出lspci -knn | grep Net -A3; uname -a
:
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]
Subsystem: Hewlett-Packard Company Device [103c:8319]
Linux josuehboy-HP-Laptop-14-cf0xxx 5.3.0-62-generic #56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux