LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-15-2018, 05:37 PM   #1
lukk1n
LQ Newbie
 
Registered: Jul 2018
Posts: 1

Rep: Reputation: Disabled
getting an error when trying to compile wireless driver with kernel headers installed.


hello, i'm having issues when i'm trying to compile the wireless driver for the TP-Link 722n V3, i always get:

Quote:
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.16.0-kali2-common/scripts/Makefile.build:329: recipe for target '/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o' failed
make[4]: *** [/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.16.0-kali2-common/Makefile:1578: recipe for target '_module_/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222' failed
make[3]: *** [_module_/root/Downloads/rtl8188EUS_linux_v5.2.2.4_25483.20171222] Error 2
Makefile:146: 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.16.0-kali2-amd64'
Makefile:1911: recipe for target 'modules' failed
make: *** [modules] Error 2
and i have the kernel drivers installed, already tried using ubuntu and kali, following the tp-link instructions with the right compiler and everything but i'm always getting this error. HELP
 
Old 07-15-2018, 06:49 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,519

Rep: Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014Reputation: 1014
I wouldn't count on Kali for driver compilation. It's an advanced distro for advanced users. Look in the readme file to see which kernel the driver is for. Your adapter uses the Realtek 8188EUS chip, rtl8188eu kernel module. Try this: https://github.com/mfruba/kernel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to compile driver without kernel headers??? seattleweb Linux - General 3 07-20-2008 05:56 PM
installed new kernel module -- now wireless driver fails to load properly geomatt Slackware 3 12-05-2007 03:52 PM
elive/debian: Installed kernel headers and source, still make:65-error ikonqueror Linux - Software 3 08-07-2007 08:58 PM
bcraid 64bit driver compile error with kernel 2.6.16 Soynuts Linux - Hardware 0 07-15-2006 09:31 PM
NVIDIA Driver Error after Kernel Compile lasindi Linux - General 2 04-26-2004 06:55 PM

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

All times are GMT -5. The time now is 11:27 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