RTL88x2BU无线网卡驱动编译失败求助
RTL88x2BU无线网卡驱动编译失败求助
各位大佬好,我最近在编译RTL88x2BU无线网卡的驱动时卡壳了,折腾了好一阵都没搞定,特地来这儿求助!
编译过程中直接弹出了致命错误,具体信息如下:
/home/ubuntu/Desktop/driver/RTL88x2BU_WiFi_linux_v5.13.1-20gbd7c7eb9d_COEX20210316-18317b7b.20210702/driver/rtl88x2BU_WiFi_linux_v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b/core/rtw_br_ext.c:20:11: fatal error: net/ipx.h: No such file or directory 20 | #include <net/ipx.h> | ^~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:297: /home/ubuntu/Desktop/driver/RTL88x2BU_WiFi_linux_v5.13.1-20-gbd7c7eb9d_COEX20210316-18317b7b.20210702/driver/rtl88x2BU_WiFi_linux_v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b/core/rtw_br_ext.o] Error 1 make[1]: *** [Makefile:1906: /home/ubuntu/Desktop/driver/RTL88x2BU_WiFi_linux_v5.13.1-20-gbd7c7eb9d_COEX20210316-18317b7b.20210702/driver/rtl88x2BU_WiFi_linux_v5.13.1-20-gbd7c7eb9d.20210702_COEX20210316-18317b7b] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-67-generic' make: *** [Makefile:2449: modules] Error 2 ################################################## Compile make driver error: 2 Please check error Mesg ##################################################
我已经先尝试安装了基础编译依赖:
sudo apt install build-essential git dkms linux-headers-generic
但还是没能解决找不到net/ipx.h这个文件的问题。这个驱动是从对应网卡的官方渠道下载的,有没有大佬指点下该怎么解决这个报错呀?
备注:内容来源于stack exchange,提问作者Denatunium
相关产品推荐
相关产品推荐

