Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed on kernel version 5.4.0-58-generic #219

Open
mbs0221 opened this issue Jan 4, 2021 · 4 comments
Open

build failed on kernel version 5.4.0-58-generic #219

mbs0221 opened this issue Jan 4, 2021 · 4 comments

Comments

@mbs0221
Copy link

mbs0221 commented Jan 4, 2021

ubuntu@optiplex-5060:~$ sudo dkms build 8812au/4.2.2

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' all KVER=5.4.0-58-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for 8812au: 4.2.2 not found
Error! Bad return status for module build on kernel: 5.4.0-58-generic (x86_64)
Consult /var/lib/dkms/8812au/4.2.2/build/make.log for more information.

@pakair
Copy link

pakair commented Jan 16, 2021

do you have the headers for that kernel (linux-headers-5.4.0-58-generic) ?

$ git clone https://github.com/gnab/rtl8812au
$ sudo dkms add ./rtl8812au
$ sudo dkms install 8812au/4.2.2

@TCROC
Copy link

TCROC commented Jan 23, 2021

I get a similar error on Ubuntu 18.04 with:

Building module:
cleaning build area...(bad exit status: 2)
...(bad exit status: 2)4-generic
ERROR (dkms apport): binary package for 8812au: 4.2.3 not found
Error! Bad return status for module build on kernel: 5.4.0-64-generic (x86_64)
Consult /var/lib/dkms/8812au/4.2.3/build/make.log for more information.
Makefile:1097: recipe for target 'dkms_install' failed
make: *** [dkms_install] Error 10

and makefile log

DKMS make.log for 8812au-4.2.3 for kernel 5.4.0-64-generic (x86_64)
Sat Jan 23 12:10:02 EST 2021
make[1]: Entering directory '/var/lib/dkms/8812au/4.2.3/build'
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-64-generic
/build M=/var/lib/dkms/8812au/4.2.3/build  modules
make[2]: Entering directory '/var/lib/dkms/8812au/4.2.3/build'
make[2]: *** /lib/modules/5.4.0-64-generic
/build: No such file or directory.  Stop.
make[2]: Leaving directory '/var/lib/dkms/8812au/4.2.3/build'
Makefile:1077: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/var/lib/dkms/8812au/4.2.3/build'

@makangzhe
Copy link

makangzhe commented Nov 9, 2021

have you solve it ? ,i have same questions @gnab @gordboy

@pakair
Copy link

pakair commented Nov 9, 2021

Is the question for me? I just upgraded my kernel to 5.4.0-90 It rebuilt it for 4.5.0-90

sudo dkms status
8812au, 4.2.2, 5.4.0-88-generic, x86_64: installed
8812au, 4.2.2, 5.4.0-89-generic, x86_64: installed
8812au, 4.2.2, 5.4.0-90-generic, x86_64: installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants