Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

DKMS error on Kali Linux #41

Open
njaksch opened this issue Apr 23, 2020 · 0 comments
Open

DKMS error on Kali Linux #41

njaksch opened this issue Apr 23, 2020 · 0 comments

Comments

@njaksch
Copy link

njaksch commented Apr 23, 2020

kali@kali:~$ DRV_NAME=rtl8821CU
kali@kali:~$ DRV_VERSION=5.2.5.3
kali@kali:~$ sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION}
mkdir: cannot create directory ‘/usr/src/rtl8821CU-5.2.5.3’: File exists
kali@kali:~$ git archive master | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
kali@kali:~$ sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}

Creating symlink /var/lib/dkms/rtl8821CU/5.2.5.3/source ->
                 /usr/src/rtl8821CU-5.2.5.3

DKMS: add completed.
kali@kali:~$ sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' KVER=5.5.0-kali1-amd64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.5.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.2.5.3/build/make.log for more information.
kali@kali:~$ sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' KVER=5.5.0-kali1-amd64....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.5.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821CU/5.2.5.3/build/make.log for more information.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant