Open s283 opened 10 years ago
I had never tried building the driver on this old a kernel. The symbol WLAN_EID_SECONDARY_CHANNEL_OFFSET was not defined for your kernel. Thar has been fixed. Please try again.
Many thanks for the quick response. That has fixed the first error, but I still get ‘WLAN_EID_HT_OPERATION’ undeclared, as shown below. Could that also be fixed?
Sam
root@11s:/home/sam/Downloads/rtl8723au# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/sam/Downloads/rtl8723au modules
make[1]: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC [M] /home/sam/Downloads/rtl8723au/core/rtw_cmd.o CC [M] /home/sam/Downloads/rtl8723au/core/rtw_security.o CC [M] /home/sam/Downloads/rtl8723au/core/rtw_debug.o CC [M] /home/sam/Downloads/rtl8723au/core/rtw_io.o CC [M] /home/sam/Downloads/rtl8723au/core/rtw_ioctl_set.o CC [M] /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.o /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_ieee802_11_parse_elems’: /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c:1161:8: error: ‘WLAN_EID_HT_OPERATION’ undeclared (first use in this function) /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c:1161:8: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [/home/sam/Downloads/rtl8723au/core/rtw_ieee80211.o] Error 1 make[3]: *** [_module_/home/sam/Downloads/rtl8723au] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.2.0-4-amd64'
make: *\ [modules] Error 2
Sorry that I missed the second one. It shou;d be OK now.
Thanks, but I still get an error when running make, as shown below. (I'm pretty sure I'm using the latest set of files - I deleted the previous set and then used git to download again). Let me know if it's something I'm doing wrong! Appreciate your help with this...
Sam
root@11s:/home/sam/Downloads/rtl8723au# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/sam/Downloads/rtl8723au modules
make[1]: Entering directory /usr/src/linux-headers-3.2.0-4-amd64' CC [M] /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.o In file included from /home/sam/Downloads/rtl8723au/include/rtw_ht.h:26:0, from /home/sam/Downloads/rtl8723au/include/drv_types.h:46, from /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c:22: /home/sam/Downloads/rtl8723au/include/wifi.h:55:0: warning: "WLAN_EID_SECONDARY_CHANNEL_OFFSET" redefined [enabled by default] /home/sam/Downloads/rtl8723au/include/wifi.h:54:0: note: this is the location of the previous definition /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_ieee802_11_parse_elems’: /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c:1161:8: error: ‘WLAN_EID_HT_OPERATION’ undeclared (first use in this function) /home/sam/Downloads/rtl8723au/core/rtw_ieee80211.c:1161:8: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [/home/sam/Downloads/rtl8723au/core/rtw_ieee80211.o] Error 1 make[3]: *** [_module_/home/sam/Downloads/rtl8723au] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.2.0-4-amd64'
make: *\ [modules] Error 2
You are not doing anything wrong. With git, a pull will always get you the updated files - there is never a need to delete everything and start over.
I had guests yesterday, and I tried to do it in a hurry, and I messed up the change. It should build now; however, I have no idea if it will run with a 3.2 kernel.
It builds without error now and I'm pleased to say the driver works fine with a 3.2 kernel. I now have have WiFi...! Thanks for all your help.
Sam
Hi,
I'm trying to install the rtl8723au driver on a Lenovo Yoga 11s running current stable version of Debian (7.3 "wheezy"). I download the files using git as advised, but when running make in the rtl8723au directory, I get an error as show in the extract below. I have tried to ensure I have the relevant packages installed - e.g. linux-headers, gcc, etc.
I'd be very grateful for any advice on what the problem could be (I'm still fairly new to Linux!). Many thanks for making this driver available.
Sam
root@11s:/home/sam/Downloads/wifi/rtl8723au# make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/sam/Downloads/wifi/rtl8723au modules make[1]: Entering directory
/usr/src/linux-headers-3.2.0-4-amd64' CC [M] /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.o /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_set_ie_secondary_ch_offset’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:204:25: error: ‘WLAN_EID_SECONDARY_CHANNEL_OFFSET’ undeclared (first use in this function) /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:204:25: note: each undeclared identifier is reported only once for each function it appears in /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_ieee802_11_parse_elems’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:1161:8: error: ‘WLAN_EID_HT_OPERATION’ undeclared (first use in this function) /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c: In function ‘rtw_set_ie_secondary_ch_offset’: /home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.c:205:1: warning: control reaches end of non-void function [-Wreturn-type] make[4]: *** [/home/sam/Downloads/wifi/rtl8723au/core/rtw_ieee80211.o] Error 1 make[3]: *** [_module_/home/sam/Downloads/wifi/rtl8723au] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.2.0-4-amd64' make: *\ [modules] Error 2