私はUbuntu 20.04を使用していますが、すべての指示に従いました ここ が、実行時にエラーが発生し続けます
Sudo make clean
そして
Sudo make
それは私にエラーを与えます2:
$ Sudo make
make Arch=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-26-generic/build
M=/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222 modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-26-generic'
CC [M] /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:288:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
288 | ptimer->data = (unsigned long)cntx;
| ^~
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:289:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
289 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:35,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h: At top level:
/home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/wifi.h:1012: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1012 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service_linux.h:86,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/osdep_service.h:46,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/include/drv_types.h:32,
from /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1451: note: this is the location of the previous definition
1451 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1719: /home/ronan/Downloads/TP-Link_Driver_Linux_series7_beta/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-26-generic'
make: *** [Makefile:1911: modules] Error 2
貴重な時間をありがとうございました!
PS:lsusb
コマンドの出力:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 011: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy
series, misc. (MTP mode)
Bus 001 Device 003: ID 09da:2403 A4Tech Co., Ltd. 2.4G Device
Bus 001 Device 002: ID 0cf3:9271 Qualcomm Atheros Communications
AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
の
0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n device
linuxカーネル5.4でネイティブにサポートされており、ドライバーは必要ありません。
https://kernel.ubuntu.com/git/ubuntu/ubuntu-focal.git/tree/drivers/net/wireless/ath/ath9k/hif_usb.c を参照してください
まったく別のドライバーをインストールしようとしていたRTL8188EUS
端末。また、マニュアルの上部にあるように、そのドライバーはとにかく時代遅れです。 4.13カーネルを搭載したUbuntu 16.04用です。
どちらにしても、20.04にはインストールされません。