Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.7.16-lqx1-1-lqx KVER=5.7.16-lqx1-1-lqx.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.7.16-lqx1-1-lqx (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.14/build/make.log for more information.
make: *** [Makefile.dkms:19: build] Error 10
and
DKMS make.log for rtl8812au-4.3.14 for kernel 5.7.16-lqx1-1-lqx (x86_64)
Sat 22 Aug 2020 07:05:12 PM EDT
make[1]: Entering directory '/var/lib/dkms/rtl8812au/4.3.14/build'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.7.16-lqx1-1-lqx/build M=/var/lib/dkms/rtl8812au/4.3.14/build modules
make[2]: Entering directory '/usr/lib/modules/5.7.16-lqx1-1-lqx/build'
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_tdls.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/usb_intf.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/usb_ops_linux.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/hal/hal_intf.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/hal/hal_com.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/hal/hal_com_phycfg.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/hal/hal_phy.o
CC [M] /var/lib/dkms/rtl8812au/4.3.14/build/hal/hal_dm.o
/var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.c:73:67: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
73
entry = proc_create_data(name, S_IFREG
S_IRUGO
S_IWUGO, parent, fops, data);
^~~~
const struct file_operations *
In file included from /var/lib/dkms/rtl8812au/4.3.14/build/include/../os_dep/linux/rtw_proc.h:23,
from /var/lib/dkms/rtl8812au/4.3.14/build/include/osdep_intf.h:123,
from /var/lib/dkms/rtl8812au/4.3.14/build/include/drv_types.h:107,
from /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.c:21:
./include/linux/proc_fs.h:76:13: note: expected ‘const struct proc_ops ’ but argument is of type ‘const struct file_operations ’
76 | const struct proc_ops *,
| ^~~~~~~
cc1: all warnings being treated as errors
make[3]: [scripts/Makefile.build:267: /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.o] Error 1
make[3]: Waiting for unfinished jobs....
make[2]: [Makefile:1737: /var/lib/dkms/rtl8812au/4.3.14/build] Error 2
make[2]: Leaving directory '/usr/lib/modules/5.7.16-lqx1-1-lqx/build'
make[1]: [Makefile:1622: modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/rtl8812au/4.3.14/build'
When building with 5.7, you get the errors below
[ricochet@ricochet rtl8812AU_8821AU_linux-master]$ sudo make -f Makefile.dkms install [sudo] password for ricochet: make clean make[1]: Entering directory '/home/ricochet/Downloads/rtl8812AU_8821AU_linux-master' make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.7.16-lqx1-1-lqx/build M=/home/ricochet/Downloads/rtl8812AU_8821AU_linux-master clean make[2]: Entering directory '/usr/lib/modules/5.7.16-lqx1-1-lqx/build' make[2]: Leaving directory '/usr/lib/modules/5.7.16-lqx1-1-lqx/build' make[1]: Leaving directory '/home/ricochet/Downloads/rtl8812AU_8821AU_linux-master' mkdir -p '/usr/src/rtl8812au-4.3.14' cp -r dkms.conf Kconfig Makefile.dkms Makefile platform core hal include os_dep '/usr/src/rtl8812au-4.3.14' cp Makefile '/usr/src/rtl8812au-4.3.14/Makefile' sed 's/#MODULE_VERSION#/4.3.14/' dkms.conf > '/usr/src/rtl8812au-4.3.14/dkms.conf' dkms add -m rtl8812au -v 4.3.14 2>/dev/null || true dkms build -m rtl8812au -v 4.3.14
Kernel preparation unnecessary for this kernel. Skipping...
Building module: cleaning build area... make -j8 KERNELRELEASE=5.7.16-lqx1-1-lqx KVER=5.7.16-lqx1-1-lqx.....(bad exit status: 2) Error! Bad return status for module build on kernel: 5.7.16-lqx1-1-lqx (x86_64) Consult /var/lib/dkms/rtl8812au/4.3.14/build/make.log for more information. make: *** [Makefile.dkms:19: build] Error 10
and
In file included from /var/lib/dkms/rtl8812au/4.3.14/build/include/../os_dep/linux/rtw_proc.h:23, from /var/lib/dkms/rtl8812au/4.3.14/build/include/osdep_intf.h:123, from /var/lib/dkms/rtl8812au/4.3.14/build/include/drv_types.h:107, from /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.c:21: ./include/linux/proc_fs.h:76:13: note: expected ‘const struct proc_ops ’ but argument is of type ‘const struct file_operations ’ 76 | const struct proc_ops *, | ^
~~~~~~ cc1: all warnings being treated as errors make[3]: [scripts/Makefile.build:267: /var/lib/dkms/rtl8812au/4.3.14/build/os_dep/linux/rtw_proc.o] Error 1 make[3]: Waiting for unfinished jobs.... make[2]: [Makefile:1737: /var/lib/dkms/rtl8812au/4.3.14/build] Error 2 make[2]: Leaving directory '/usr/lib/modules/5.7.16-lqx1-1-lqx/build' make[1]: [Makefile:1622: modules] Error 2 make[1]: Leaving directory '/var/lib/dkms/rtl8812au/4.3.14/build'