Hi,
So I downloaded D-Link DWA-182 (which is a usb wifi dongle) drivers from
here because I require monitor mode support under linux. However, when I run
in the directory it produces these errors:
Code:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.0.0-kali1-amd64/build M=/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta modules
make[1]: Entering directory '/usr/src/linux-headers-4.0.0-kali1-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
CC [M] /root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_cmd.o
CC [M] /root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_security.o
CC [M] /root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.o
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c: In function ‘dump_drv_version’:
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
^
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.c:71:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.0.0-kali1-common/scripts/Makefile.build:263: recipe for target '/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.o' failed
make[4]: *** [/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta/core/rtw_debug.o] Error 1
/usr/src/linux-headers-4.0.0-kali1-common/Makefile:1407: recipe for target '_module_/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta' failed
make[3]: *** [_module_/root/Downloads/rtl8812AU_8821AU_linux_v4.3.22_15054.20150901_beta] Error 2
Makefile:145: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.0.0-kali1-amd64'
Makefile:1669: recipe for target 'modules' failed
make: *** [modules] Error 2
Any ideas? I have installed linux headers for my kernel/distribution and I have no idea what to do next. Any help would be greatly appreciated. Thanks!