clnhub / rtl8192eu-linux

Realtek rtl8192eu official Linux driver, versions: 5.2.19.1 (master), 5.6.3.1, 5.6.4 and 5.11.2.1 (default)
462 stars 92 forks source link

Unable to install driver on Jetson TK1 #103

Open stm32h757 opened 4 months ago

stm32h757 commented 4 months ago

Hello. I followed your official guide and result was this :

ubuntu@tegra-ubuntu:~/Desktop/WirelessDriver/rtl8192eu-linux-driver$ make make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.10.40-ga7da876/build M=/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver modules make[1]: Entering directory /usr/src/linux-headers-3.10.40-ga7da876' CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_cmd.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_security.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_debug.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_io.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ioctl_set.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ieee80211.o /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ieee80211.c: In function ‘dump_ht_cap_ie’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ieee80211.c:1652:24: warning: ‘ht_cap_ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized] dump_ht_cap_ie_content(sel, ht_cap_ie + 2, ht_cap_ielen); ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ieee80211.c: In function ‘dump_ht_op_ie’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_ieee80211.c:1685:23: warning: ‘ht_op_ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized] dump_ht_op_ie_content(sel, ht_op_ie + 2, ht_op_ielen); ^ CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme.o CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.o /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:76:3: error: ‘WLAN_CATEGORY_RADIO_MEASUREMENT’ undeclared here (not in a function) {WLAN_CATEGORY_RADIO_MEASUREMENT, "ACTION_RADIO_MEAS", &on_action_rm}, ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:87:3: error: ‘WLAN_CATEGORY_WNM_UNPROTECTED’ undeclared here (not in a function) {WLAN_CATEGORY_WNM_UNPROTECTED, "ACTION_UNPROTECTED_WNM", &DoReserved}, ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:261:3: warning: empty declaration [enabled by default] __attribute__((__fallthrough__)); ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:261:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function ‘issue_action_BSSCoexistPacket’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:33: error: ‘WLAN_EID_BSS_INTOLERANT_CHL_REPORT’ undeclared (first use in this function) pframe = rtw_set_ie(pframe, WLAN_EID_BSS_INTOLERANT_CHL_REPORT, k, InfoContent, &(pattrib->pktlen)); ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:33: note: each undeclared identifier is reported only once for each function it appears in /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:5: warning: passing argument 2 of ‘rtw_set_ie’ makes integer from pointer without a cast [enabled by default] pframe = rtw_set_ie(pframe, WLAN_EID_BSS_INTOLERANT_CHL_REPORT, k, InfoContent, &(pattrib->pktlen)); ^ In file included from /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/include/drv_types.h:31:0, from /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:17: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/include/ieee80211.h:1030:5: note: expected ‘sint’ but argument is of type ‘struct action_handler *’ u8 *rtw_set_ie(u8 *pbuf, sint index, uint len, const u8 *source, uint *frlen); ^ make[2]: *** [/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.o] Error 1 make[1]: *** [_module_/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver] Error 2 make[1]: Leaving directory/usr/src/linux-headers-3.10.40-ga7da876' make: [modules] Error 2 ubuntu@tegra-ubuntu:~/Desktop/WirelessDriver/rtl8192eu-linux-driver$ sudo make make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.10.40-ga7da876/build M=/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver modules make[1]: Entering directory `/usr/src/linux-headers-3.10.40-ga7da876' CC [M] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.o /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:76:3: error: ‘WLAN_CATEGORY_RADIO_MEASUREMENT’ undeclared here (not in a function) {WLAN_CATEGORY_RADIO_MEASUREMENT, "ACTION_RADIO_MEAS", &on_action_rm}, ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:87:3: error: ‘WLAN_CATEGORY_WNM_UNPROTECTED’ undeclared here (not in a function) {WLAN_CATEGORY_WNM_UNPROTECTED, "ACTION_UNPROTECTED_WNM", &DoReserved}, ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:261:3: warning: empty declaration [enabled by default] attribute((fallthrough)); ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:261:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c: In function ‘issue_action_BSSCoexistPacket’: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:33: error: ‘WLAN_EID_BSS_INTOLERANT_CHL_REPORT’ undeclared (first use in this function) pframe = rtw_set_ie(pframe, WLAN_EID_BSS_INTOLERANT_CHL_REPORT, k, InfoContent, &(pattrib->pktlen)); ^ /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:33: note: each undeclared identifier is reported only once for each function it appears in /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:10499:5: warning: passing argument 2 of ‘rtw_set_ie’ makes integer from pointer without a cast [enabled by default] pframe = rtw_set_ie(pframe, WLAN_EID_BSS_INTOLERANT_CHL_REPORT, k, InfoContent, &(pattrib->pktlen)); ^ In file included from /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/include/drv_types.h:31:0, from /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.c:17: /home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/include/ieee80211.h:1030:5: note: expected ‘sint’ but argument is of type ‘struct action_handler ’ u8 rtw_set_ie(u8 pbuf, sint index, uint len, const u8 source, uint frlen); ^ make[2]: ** [/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver/core/rtw_mlme_ext.o] Error 1 make[1]: [module/home/ubuntu/Desktop/WirelessDriver/rtl8192eu-linux-driver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.10.40-ga7da876' make: *** [modules] Error 2 ubuntu@tegra-ubuntu:~/Desktop/WirelessDriver/rtl8192eu-linux-driver$

I'm using Jetson TK1, so linux version is Linux_for_Tegra 21.8.0(actually it is ubuntu 14.04) and kernel version is 3.10.40-ga7da876

clnhub commented 3 months ago

The driver supports kernel 5 or higher.