/home/james/rtl8811au/os_dep/linux/ioctl_linux.c:15619:5: error: implicit declaration of function ‘is_compat_task’ [-Werror=implicit-function-declaration]
if(is_compat_task())
^~~~~~~~~~~~~~
...
/home/james/rtl8811au/os_dep/linux/rtw_android.c:581:6: error: implicit declaration of function ‘is_compat_task’ [-Werror=implicit-function-declaration]
if (is_compat_task()) {
^~~~~~~~~~~~~~
...
james@james-Streacom:~$ git clone https://github.com/sloretz/rtl8811au.git
Cloning into 'rtl8811au'...
remote: Counting objects: 460, done.
remote: Total 460 (delta 0), reused 0 (delta 0), pack-reused 460
Receiving objects: 100% (460/460), 1.91 MiB | 580.00 KiB/s, done.
Resolving deltas: 100% (180/180), done.
james@james-Streacom:~$ cd rtl8811au
james@james-Streacom:~/rtl8811au$ sudo make clean
[sudo] password for james:
cd hal/OUTSRC/ ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal/OUTSRC/ ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/led ; 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
james@james-Streacom:~/rtl8811au$ make -j 8
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.10.0-35-generic/build M=/home/james/rtl8811au modules
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-35-generic'
CC [M] /home/james/rtl8811au/core/rtw_cmd.o
CC [M] /home/james/rtl8811au/core/rtw_security.o
CC [M] /home/james/rtl8811au/core/rtw_debug.o
CC [M] /home/james/rtl8811au/core/rtw_ioctl_query.o
CC [M] /home/james/rtl8811au/core/rtw_io.o
CC [M] /home/james/rtl8811au/core/rtw_ieee80211.o
CC [M] /home/james/rtl8811au/core/rtw_ioctl_set.o
CC [M] /home/james/rtl8811au/core/rtw_mlme.o
/home/james/rtl8811au/core/rtw_security.c: In function ‘aes_cipher’:
/home/james/rtl8811au/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (j = 0; j < 8; j++)
^~~
/home/james/rtl8811au/core/rtw_security.c:1601:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
payload_index = hdrlen + 8;
^~~~~~~~~~~~~
/home/james/rtl8811au/core/rtw_mlme.c: In function ‘rtw_restructure_ht_ie’:
/home/james/rtl8811au/core/rtw_mlme.c:3971:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (stbc_rx_enable)
^~
/home/james/rtl8811au/core/rtw_mlme.c:3974:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
set_mcs_rate_by_mask(ht_capie.supp_mcs_set, MCS_RATE_1R);
^~~~~~~~~~~~~~~~~~~~
/home/james/rtl8811au/core/rtw_security.c: In function ‘aes_decipher’:
/home/james/rtl8811au/core/rtw_security.c:1984:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (j = 0; j < 8; j++)
^~~
/home/james/rtl8811au/core/rtw_security.c:1987:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
payload_index = hdrlen + 8;
^~~~~~~~~~~~~
CC [M] /home/james/rtl8811au/core/rtw_mlme_ext.o
CC [M] /home/james/rtl8811au/core/rtw_wlan_util.o
CC [M] /home/james/rtl8811au/core/rtw_vht.o
CC [M] /home/james/rtl8811au/core/rtw_pwrctrl.o
CC [M] /home/james/rtl8811au/core/rtw_rf.o
CC [M] /home/james/rtl8811au/core/rtw_recv.o
CC [M] /home/james/rtl8811au/core/rtw_sta_mgt.o
CC [M] /home/james/rtl8811au/core/rtw_ap.o
CC [M] /home/james/rtl8811au/core/rtw_xmit.o
CC [M] /home/james/rtl8811au/core/rtw_p2p.o
CC [M] /home/james/rtl8811au/core/rtw_tdls.o
CC [M] /home/james/rtl8811au/core/rtw_br_ext.o
CC [M] /home/james/rtl8811au/core/rtw_iol.o
CC [M] /home/james/rtl8811au/core/rtw_sreset.o
CC [M] /home/james/rtl8811au/core/rtw_btcoex.o
CC [M] /home/james/rtl8811au/core/rtw_beamforming.o
CC [M] /home/james/rtl8811au/core/rtw_odm.o
CC [M] /home/james/rtl8811au/core/efuse/rtw_efuse.o
CC [M] /home/james/rtl8811au/os_dep/osdep_service.o
CC [M] /home/james/rtl8811au/os_dep/linux/os_intfs.o
CC [M] /home/james/rtl8811au/os_dep/linux/usb_intf.o
CC [M] /home/james/rtl8811au/os_dep/linux/usb_ops_linux.o
CC [M] /home/james/rtl8811au/os_dep/linux/ioctl_linux.o
CC [M] /home/james/rtl8811au/os_dep/linux/xmit_linux.o
CC [M] /home/james/rtl8811au/os_dep/linux/mlme_linux.o
CC [M] /home/james/rtl8811au/os_dep/linux/recv_linux.o
CC [M] /home/james/rtl8811au/os_dep/linux/wifi_regd.o
CC [M] /home/james/rtl8811au/os_dep/linux/rtw_cfgvendor.o
CC [M] /home/james/rtl8811au/os_dep/linux/ioctl_cfg80211.o
CC [M] /home/james/rtl8811au/os_dep/linux/rtw_android.o
/home/james/rtl8811au/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_read_reg’:
/home/james/rtl8811au/os_dep/linux/ioctl_linux.c:11255:8: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if ( data[i] != '\0' )
^~
/home/james/rtl8811au/os_dep/linux/ioctl_linux.c:11258:10: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
j++;
^
/home/james/rtl8811au/os_dep/linux/ioctl_linux.c: In function ‘rtw_ioctl_wext_private’:
/home/james/rtl8811au/os_dep/linux/ioctl_linux.c:15619:5: error: implicit declaration of function ‘is_compat_task’ [-Werror=implicit-function-declaration]
if(is_compat_task())
^~~~~~~~~~~~~~
CC [M] /home/james/rtl8811au/os_dep/linux/rtw_proc.o
CC [M] /home/james/rtl8811au/hal/hal_intf.o
CC [M] /home/james/rtl8811au/hal/hal_com.o
CC [M] /home/james/rtl8811au/hal/hal_com_phycfg.o
/home/james/rtl8811au/os_dep/linux/rtw_android.c: In function ‘rtw_android_priv_cmd’:
/home/james/rtl8811au/os_dep/linux/rtw_android.c:581:6: error: implicit declaration of function ‘is_compat_task’ [-Werror=implicit-function-declaration]
if (is_compat_task()) {
^~~~~~~~~~~~~~
CC [M] /home/james/rtl8811au/hal/hal_phy.o
CC [M] /home/james/rtl8811au/hal/hal_dm.o
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/james/rtl8811au/os_dep/linux/rtw_android.o' failed
make[2]: *** [/home/james/rtl8811au/os_dep/linux/rtw_android.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/home/james/rtl8811au/os_dep/linux/ioctl_linux.o' failed
make[2]: *** [/home/james/rtl8811au/os_dep/linux/ioctl_linux.o] Error 1
Makefile:1524: recipe for target '_module_/home/james/rtl8811au' failed
make[1]: *** [_module_/home/james/rtl8811au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-35-generic'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2