TL-WN881NDネットワークカードのドライバーをUbuntu 18.04.2にインストールしてインターネットに接続しようとしていますが、エラーが発生し続けます。 make
と入力すると、次のようになります。
"NO KSRC,we will use default KSRC"
"******************************************"
make Arch=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-15-generic/build M=/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:970: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
"******************************************"
"NO KSRC,we will use default KSRC"
"******************************************"
CC [M] /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.o
In file included from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h:41:0,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/drv_types.h:32,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.c:22:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service_linux.h:267:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service_linux.h:268:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
In file included from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/drv_types.h:32:0,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.c:22:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h: In function ‘thread_enter’:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
do_signal
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
if (signal_pending (current))
^~~~~~~~~~~~~~
timer_pending
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
do_signal
In file included from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/drv_types.h:95:0,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.c:22:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/hal_com.h: At top level:
/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/hal_com.h:413:13: error: ‘file_path’ redeclared as different kind of symbol
extern char file_path[PATH_LENGTH_MAX];
^~~~~~~~~
In file included from ./include/linux/compat.h:17:0,
from ./include/linux/ethtool.h:17,
from ./include/linux/netdevice.h:41,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service_linux.h:35,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/osdep_service.h:41,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/include/drv_types.h:32,
from /home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.c:22:
./include/linux/fs.h:2884:14: note: previous declaration of ‘file_path’ was here
extern char *file_path(struct file *, char *, int);
^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.o' failed
make[2]: *** [/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK/core/rtw_cmd.o] Error 1
Makefile:1534: recipe for target '_module_/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK' failed
make[1]: *** [_module_/home/cobradabest/rtl8192EE_linux_v4.3.15.1_19180_BTCOEX20150615-0041.20160824_OK] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:1696: recipe for target 'modules' failed
make: *** [modules] Error 2
そして、私がタイピングしたときに得られるものはmake install
"NO KSRC,we will use default KSRC"
"******************************************"
install -p -m 644 8192ee.ko /lib/modules/4.18.0-15-generic/kernel/drivers/net/wireless/
install: cannot stat '8192ee.ko': No such file or directory
Makefile:1702: recipe for target 'install' failed
make: *** [install] Error 1
私は何をしますか?
だから私はUSBドングルを手に入れました、そしてそれは問題を解決するようでした、そしていくつかのアップデートは後で私のネットワークカードで問題にパッチを当てることができたので、今ではドングルなしで動作します!
してください:
Sudo apt update && Sudo apt install git
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
Sudo make install
Sudo modprobe rtl8188ee
カーネルを更新するたびに、再コンパイルする必要があります。
cd rtlwifi_new
make clean
git pull
make
Sudo make install
Sudo modprobe rtl8188ee