fastoe/RTL8812BU

Error in kernel 6.3.0-kali1-amd64

Opened this issue · 2 comments

Here is the error which showing in image, can it be solve?
Screenshot_2023-07-26_10_57_01

I opened a pull request with a fix, meanwhile you can try my branch that includes the fix: https://github.com/henriqueqc/RTL8812BU/tree/add-punct-bitmap-arg

GJoe2 commented

I tried in a VM and get:

/home/kali/custom/RTL8812BU/hal/phydm/halrf/rtl8822b/halrf_iqk_8822b.c:960:13: warning: enum constant in boolean context [-Wint-in-bool-context]
  960 |         if (DBG_RF_IQK) {
      |             ^~~~~~~~~~
  CC [M]  /home/kali/custom/RTL8812BU/hal/phydm/halrf/rtl8822b/halrf_rfk_init_8822b.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/phydm/rtl8822b/phydm_regconfig8822b.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/phydm/rtl8822b/phydm_rtl8822b.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/phydm/txbf/haltxbf8822b.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/btc/halbtc8822bwifionly.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/btc/halbtc8822b1ant.o
  CC [M]  /home/kali/custom/RTL8812BU/hal/btc/halbtc8822b2ant.o
  CC [M]  /home/kali/custom/RTL8812BU/platform/platform_ops.o
  LD [M]  /home/kali/custom/RTL8812BU/88x2bu.o
  MODPOST /home/kali/custom/RTL8812BU/Module.symvers
  CC [M]  /home/kali/custom/RTL8812BU/88x2bu.mod.o
  LD [M]  /home/kali/custom/RTL8812BU/88x2bu.ko
  BTF [M] /home/kali/custom/RTL8812BU/88x2bu.ko
Skipping BTF generation for /home/kali/custom/RTL8812BU/88x2bu.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-kali2-amd64'

I looked for some solutions:
https://askubuntu.com/questions/1348250/skipping-btf-generation-xxx-due-to-unavailability-of-vmlinux-on-ubuntu-21-04
https://forum.proxmox.com/threads/kernel-module-not-found-when-compile-skipping-btf-generation.100974/

And found some possible solutions:

  1. apt install dwarves
  2. Sign some drivers to kernel

What do you think is happening?