fastoe / RTL8812BU

Realtek RTL8812BU Driver for Linux
346 stars 84 forks source link

Error! Bad return status for module build on kernel: 5.9.0-kali2-amd64 (x86_64) #7

Closed clbenoit closed 3 years ago

clbenoit commented 3 years ago

I get the following error trying to compile on Kali :

make -j8 KERNELRELEASE=5.9.0-kali2-amd64 KVER=5.9.0-kali2-amd64 src=/usr/src/rtl88x2bu-5.3.1....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.9.0-kali2-amd64 (x86_64)

make.log

Config :

clbenoit commented 3 years ago

The device is a PC

wukuy commented 3 years ago

可以尝试安装

sudo apt install bc -y
fastoe commented 3 years ago

You can download and install:

sudo dpkg -i linux-headers-5.9.0-kali1-common_5.9.1-1kali2_all.deb
sudo dpkg -i linux-kbuild-5.9_5.9.6-1kali1_amd64.deb
sudo dpkg -i linux-headers-5.9.0-kali1-amd64_5.9.1-1kali2_amd64.deb

and clone v5.6.1 branch:

git clone -b v5.6.1 https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU
make
sudo make install
sudo reboot

2222