有人建议这个错误当运行我的 roswell 网络适配器 RnX-N180UBE 的 install.sh 脚本时,这些驱动程序与 ubuntu 13.04 不兼容,是这样吗?如果是,我该怎么办?
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.8.0-31-generic/build M=/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105 modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic'
CC [M] /home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/core/rtw_cmd.o
In file included from /home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/core/rtw_cmd.c:23:0:
/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/osdep_service.h: In function ‘thread_enter’:
/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/osdep_service.h:575:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
In file included from /home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/drv_types.h:69:0,
from /home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/core/rtw_cmd.c:24:
/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/rtw_recv.h: In function ‘rxmem_to_recvframe’:
/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/rtw_recv.h:626:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/include/rtw_recv.h:626:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cc1: some warnings being treated as errors
make[2]: *** [/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/user/Desktop/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-31-generic'
make: *** [modules] Error 2
答案1
我相信您的设备使用驱动程序 r8712u;请在此处确认:
lsmod
您可以尝试一个驱动程序参数:
sudo modprobe -r r8712u
sudo modprobe r8712u ht_enable=0
如果有帮助的话,请编写一个文件使其持久化:
sudo -i
echo "options r8712u ht_enable=0" > /etc/modprobe.d/r8712u.conf
exit
如果这没有帮助,还有其他选择可以尝试。您可能希望在这里检查任何线索:
dmesg | grep -e wlan -e r8712u
您还可以尝试在路由器中禁用 N 速度。