LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2015, 11:07 PM   #1
qwertyatom100
LQ Newbie
 
Registered: Oct 2015
Distribution: Arch
Posts: 3

Rep: Reputation: Disabled
Question Make producing error 'Makefile:1669: recipe for target 'modules' failed' on Kali 2.0


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
Code:
make
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!
 
Old 11-14-2015, 11:12 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Perhaps the driver is incompatible with your kernel. On the page you reference, I see somebody commenting
Quote:
Unfortunately, it doesn't compile on recent kernels
Find out if it supports your kernel, and if not find a version that does. Or wait until Realtek creates one.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recipe for target opncls.lo failed aqua123 Linux From Scratch 1 07-22-2014 09:20 PM
[SOLVED] otcl-1.14 make failed [recipe for target `libotcl.a' failed] for ns-allinone-2.35-RC8 pratikjoshi Linux - Newbie 4 08-23-2013 06:44 AM
MAKEFILE ERROR:' make: *** No rule to make target `MacroCompletudeExe', needed by all ssica Linux - Newbie 5 04-23-2012 10:56 AM
make: Fatal error: Command failed for target `all-recursive' vous Linux - Software 1 07-13-2009 07:23 AM
Error in Makefile:No rule to make target `g++',needed by... stop karthik.c Programming 5 03-09-2009 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration