I am trying to install the drivers and the kernel gives me this error:

RaxoCoding

I am trying to install the drivers and the kernel gives me this error:

Kernel preparation unnecessary for this kernel.  Skipping...


Building module:

cleaning build area...

make -j1 KERNELRELEASE=5.10.0-kali6-amd64 KVER=5.10.0-kali6-amd64...(bad exit status: 2)

Error! Bad return status for module build on kernel: 5.10.0-kali6-amd64 (x86_64)

Consult /var/lib/dkms/rtl88x2bu/5.2.4.4/build/make.log for more information.

im using rtl8812bu from Realtek

any way I can fix this?

This is the error log:

DKMS make.log for rtl88x2bu-5.2.4.4 for kernel 5.10.0-kali6-amd64 (x86_64)

Thu 08 Apr 2021 05:19:05 AM CDT

/bin/sh: 1: bc: not found

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.10.0-kali6-amd64/build M=/var/lib/dkms/rtl88x2bu/5.2.4.4/build modules

make[1]: Entering directory '/usr/src/linux-headers-5.10.0-kali6-amd64'

/bin/sh: 1: bc: not found

CC [M] /var/lib/dkms/rtl88x2bu/5.2.4.4/build/core/rtw_cmd.o

In file included from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/include/drv_types.h:77,

             from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/core/rtw_cmd.c:17:

/var/lib/dkms/rtl88x2bu/5.2.4.4/build/include/rtw_security.h:246:8: error: redefinition of ‘struct sha256_state’

246 | struct sha256_state {

  |        ^~~~~~~~~~~~

In file included from /usr/src/linux-headers-5.10.0-kali6-common/include/linux/filter.h:24,

             from /usr/src/linux-headers-5.10.0-kali6-common/include/net/sock.h:59,

             from /usr/src/linux-headers-5.10.0-kali6-common/include/linux/tcp.h:19,

             from /usr/src/linux-headers-5.10.0-kali6-common/include/linux/ipv6.h:87,

             from /usr/src/linux-headers-5.10.0-kali6-common/include/net/addrconf.h:50,

             from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/include/osdep_service_linux.h:51,

             from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/include/osdep_service.h:42,

             from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/include/drv_types.h:27,

             from /var/lib/dkms/rtl88x2bu/5.2.4.4/build/core/rtw_cmd.c:17:

/usr/src/linux-headers-5.10.0-kali6-common/include/crypto/sha.h:84:8: note: originally defined here

84 | struct sha256_state {

  |        ^~~~~~~~~~~~

make[3]: *** [/usr/src/linux-headers-5.10.0-kali6-common/scripts/Makefile.build:284: /var/lib/dkms/rtl88x2bu/5.2.4.4/build/core/rtw_cmd.o] Error 1

make[2]: *** [/usr/src/linux-headers-5.10.0-kali6-common/Makefile:1821: /var/lib/dkms/rtl88x2bu/5.2.4.4/build] Error 2

make[1]: *** [/usr/src/linux-headers-5.10.0-kali6-common/Makefile:185: __sub-make] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-kali6-amd64'

make: *** [Makefile:1795: modules] Error 2

GAD3R

For 5.10 kernel use this git repository:

sudo apt update
sudo apt install -y dkms git bc
git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU
make
sudo make install
sudo reboot

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

I am getting this Error: while I am trying to install the Firmware for linux kernel Drivers

When I am trying to create a pipeline in amazon elastic transcoder using amazon console with IAM it gives me an error

I am trying to make Selenium click on the first google result, but it always gives me an error

I am trying to make a discord bot in JavaScript on repl.it but it gives me an error

I am trying to install new component using npm. But it gives error

I'm trying to install NumPy into VS Code and it gives me a syntax error

I'm trying to install Kivy with Python 3.9.0 and it gives me an error after I type: python -m pip install kivy

I am trying to make a discord bot in java script on repl.it but it gives me an error error above code below

I am trying to click on element using array using xpath but it gives me "can only concatenate str (not "int") to str" error message

Kernel configuration is invalid error while trying to install paragon ufsd professional drivers for HFS+

The id I am trying to add to use navigation in Kotlin gives an error

I am trying to call Web api Post method (i.e.PostMedication)written by me from ajax call ,It gives me error "The resource cannot be found."

I'm trying to manipulate a simple props in React but it gives me an error

I'm trying to connect to mysql database with php, but it gives me an error

I just started to learn java. I am trying to make a program that takes in decimal. But it gives me error when i enter a decimal

SQL: I am trying to add a foreign key but it give me error

I am trying to build my game in unity but it is giving me an error

Why am I getting an error when trying to install and run npm?

Why am i getting this error when trying to install mongoDB?

I am getting an error while trying to install kali tools in ubuntu

I am trying to connect to mysql database with php code but it gives me this errors (see below)

i am trying to create a simple hibernate application.It gives following error.how to solve that error

I am trying to install Kali linux on virtual box i am getting error

I am trying to share a project in github using IntelliJ IDEA but i gives a following error

Whenever I try flutter run, it gives me the same error and I am not sure what to do

I am giving the generic type to the function parameter, when i call the function it gives me an error

I am making a game on pygame but when I come a to the 'WIN.blit', it gives me an error

I am trying to add authorization header in AJAX call using pure JavaScript. But gives error

I am trying to create udp socket and send a string through it. but it gives 10038 error at sendto()