PDA

View Full Version : Make error



drone_rider
2021-12-30, 15:18
Hello guys, I currently have a problem:
I tried to follow this tutorial:
"https://www.hackster.io/thatiotguy/enable-monitor-mode-in-tp-link-tl-wn722n-v2-v3-128fc6"


I created a virtual machine with Kali Linux on my Windows PC and copied the tutorial and the video. Up to the command "make" (with "commands used to setup the adapter"). I got the following error message:


"make ARCH = x86_64 CROSS_COMPILE = -C /lib/modules/5.9.0-kali1-amd64/build M = / home / ravan / rtl8188eus modules
make [1]: *** /lib/modules/5.9.0-kali1-amd64/build: No such file or directory. Stop.
make: *** [Makefile: 2059: modules] Error 2 "


I tried several things on this, such as:
"sudo apt-get install linux-headers-5.10.0-kali3-amd64".


Then there was always the following error message:
"E: Unable to locate package linux-headers-5.10.0-kali3-amd64
E: Couldn't find any package by glob 'linux-headers-5.10.0-kali3-amd64'
E: Couldn't find any package by regex 'linux-headers-5.10.0-kali3-amd64'
E: Unable to locate package Desktop
E: Unable to locate package documents
E: Unable to locate package downloads
E: Unable to locate package Music
E: Unable to locate package pictures
E: Unable to locate package Public
E: Unable to locate package rtl8188eus
E: Unable to locate package templates
E: Unable to locate package videos "


Then I came across the following article:


https://unix.stackexchange.com/questions/328655/cant-install-linux-headers-kali-linux


I then did the following:
"Or you can use the following command to upgrade you kernel to the latest available version and install the appropriate kernel headers:


apt update
apt dist-upgrade
reboot
apt install linux-headers - $ (uname -r) "


After that was done I restarted kali-linux and tried the tutorial again.
Now with the following error message:


https://www.toptal.com/developers/hastebin/ulutuhocuh.sql


Now I don't know what to do next and wanted to ask for help.
I would be very grateful if you could help me with this,


Greetings