[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel Header Error



I found something on-line, but I get errors using the ($uname -r).
sudo apt install linux-headers-$(uname -r)
Glenn
----- Original Message -----
From: K0LNY
Sent: Saturday, July 8, 2023 1:08 PM
Subject: Kernel Header Error

Hey All,
I tried to install a utility that is on github for accessing the TP-Link, and I ran the make install on it and got an error on the kernel headers, and I am looking for some suggestions for the steps to fix it.
Here's the error message:
Glenn
root@Asus701:~# cd rtl8812au                                                                                           
root@Asus701:~/rtl8812au# make dkms_install reboot                                                                     
mkdir: created directory '/usr/src/8812au-5.6.4.2_35491.20191025'                                                       graphic 22 cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
                                                                        
dkms add -m 8812au -v 5.6.4.2_35491.20191025                                                                           
                                                                                                                       
Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->                                                  graphic 22                  /usr/src/8812au-5.6.4.2_35491.20191025
                                                               
                                                                                                                       
DKMS: add completed.                                                                                                   
dkms build -m 8812au -v 5.6.4.2_35491.20191025                                                                         
Error! Your kernel headers for kernel 5.10.0-23-686 cannot be found.                                                    graphic 22 Please install the linux-headers-5.10.0-23-686
package,                                                                
or use the --kernelsourcedir option to tell DKMS where it's located                                                    
make: *** [Makefile:1784: dkms_install] Error 1                                                                        
root@Asus701:~/rtl8812au#

Reply to: