Article 5J88R Linux Drivers for gembird adapter wnpua300p-01 have bunch of bugs, running manjaro 21.0.5

Linux Drivers for gembird adapter wnpua300p-01 have bunch of bugs, running manjaro 21.0.5

by
povolnid
from LinuxQuestions.org on (#5J88R)
I was trying to install drivers from their website i ran the install.sh script, there were some errors that make could not find directory "adaper", I changed the directory to "adapter" and it ended up having these errors:

##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047.tar.g
--bunch of files--
rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047

Authentication requested [root] for make clean:
#make -C /lib/modules/5.10.36-2-MANJARO/build M=/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.36-2-MANJARO/build M=/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
make[1]: Entering directory '/usr/lib/modules/5.10.36-2-MANJARO/build'
CC [M] /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function _init_timer':
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:299:8: error: _timer' {aka struct timer_list'} has no member named data'
299 | ptimer->data = (unsigned long)cntx;
| ^~
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:300:2: error: implicit declaration of function init_timer'; did you mean _init_timer'? [-Werror=implicit-function-declaration]
300 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:30,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h: At top level:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h:1031: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1031 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:83,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1656: note: this is the location of the previous definition
1656 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:78,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/rtw_security.h:243:8: error: redefinition of struct sha256_state'
243 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:24,
from ./include/net/sock.h:59,
from ./include/linux/tcp.h:19,
from ./include/linux/ipv6.h:87,
from ./include/net/addrconf.h:50,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:48,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1821: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.36-2-MANJARO/build'
make: *** [Makefile:1815: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
[danielp@daniel-aspiree1572g linux]$ sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:

re/rtw_vht.c

Authentication requested [root] for make clean:
#make -C /lib/modules/5.10.36-2-MANJARO/build M=/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.36-2-MANJARO/build M=/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules
make[1]: Entering directory '/usr/lib/modules/5.10.36-2-MANJARO/build'
CC [M] /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function _init_timer':
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:299:8: error: _timer' {aka struct timer_list'} has no member named data'
299 | ptimer->data = (unsigned long)cntx;
| ^~
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:300:2: error: implicit declaration of function init_timer'; did you mean _init_timer'? [-Werror=implicit-function-declaration]
300 | init_timer(ptimer);
| ^~~~~~~~~~
| _init_timer
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:30,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h: At top level:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h:1031: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1031 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:83,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1656: note: this is the location of the previous definition
1656 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:78,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/rtw_security.h:243:8: error: redefinition of struct sha256_state'
243 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:24,
from ./include/net/sock.h:59,
from ./include/linux/tcp.h:19,
from ./include/linux/ipv6.h:87,
from ./include/net/addrconf.h:50,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:48,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1821: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.36-2-MANJARO/build'
make: *** [Makefile:1815: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
/include/drv_types.h:30,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h: At top level:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h:1031: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
1031 | #define IEEE80211_MAX_AMPDU_BUF 0x40
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:83,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/linux/ieee80211.h:1656: note: this is the location of the previous definition
1656 | #define IEEE80211_MAX_AMPDU_BUF 0x100
|
In file included from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:78,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/rtw_security.h:243:8: error: redefinition of struct sha256_state'
243 | struct sha256_state {
| ^~~~~~~~~~~~
In file included from ./include/linux/filter.h:24,
from ./include/net/sock.h:59,
from ./include/linux/tcp.h:19,
from ./include/linux/ipv6.h:87,
from ./include/net/addrconf.h:50,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:48,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
./include/crypto/sha.h:84:8: note: originally defined here
84 | struct sha256_state {
| ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1821: /home/danielp/Downloads/adaper/adaper/Driver/linux/driver/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.36-2-MANJARO/build'
make: *** [Makefile:1815: modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################latest?d=yIl2AUoC8zA latest?i=8zXa4ftI2L8:bVIlCHPRM3M:F7zBnMy latest?i=8zXa4ftI2L8:bVIlCHPRM3M:V_sGLiP latest?d=qj6IDK7rITs latest?i=8zXa4ftI2L8:bVIlCHPRM3M:gIN9vFw8zXa4ftI2L8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments