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

Impossible to compile due to error on rtl8812au/Module.symvers #1192

Open
gizmochefmogwai opened this issue Sep 22, 2024 · 1 comment
Open

Comments

@gizmochefmogwai
Copy link

gizmochefmogwai commented Sep 22, 2024

System : Raspberry 5, with Kali, Kernels 6.1.64-v8+ to 6.6.45-v8+

When make, getting the following error :

  CC [M]  /home/kali/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.o
  CC [M]  /home/kali/rtl8812au/hal/phydm/rtl8814a/phydm_regconfig8814a.o
  CC [M]  /home/kali/rtl8812au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o
  CC [M]  /home/kali/rtl8812au/hal/phydm/rtl8814a/phydm_rtl8814a.o
  CC [M]  /home/kali/rtl8812au/hal/phydm/txbf/haltxbf8814a.o
  CC [M]  /home/kali/rtl8812au/platform/platform_ops.o
  CC [M]  /home/kali/rtl8812au/core/rtw_mp.o
  LD [M]  /home/kali/rtl8812au/88XXau.o
  MODPOST /home/kali/rtl8812au/Module.symvers
WARNING: Module.symvers is missing.
         Modules may not have dependencies or modversions.
         You may get many unresolved symbol warnings.
WARNING: modpost: "skb_pull" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "rtnl_is_locked" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "usb_free_coherent" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "__arch_copy_to_user" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "cancel_work_sync" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "memcmp" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "cfg80211_sinfo_alloc_tid_stats" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "vfree" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "wiphy_register" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: "cfg80211_remain_on_channel_expired" [/home/kali/rtl8812au/88XXau.ko] undefined!
WARNING: modpost: suppressed 182 unresolved symbol warnings because there were too many)
  CC [M]  /home/kali/rtl8812au/88XXau.mod.o
  LD [M]  /home/kali/rtl8812au/88XXau.ko
make[1]: Leaving directory '/usr/src/kernel'
---------------------------------------------------------------------------
Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues
or check for newer versions (branches) of these drivers.
---------------------------------------------------------------------------

Commands were :

apt-get install bc mokutil build-essential libelf-dev

# Following replace apt-get install linux-headers-* following this documentation : https://www.kali.org/docs/arm/raspberry-pi-5/
cd /usr/src/kernel
sudo git clean -fdx && sudo make bcm2711_defconfig && sudo make modules_prepare

sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
export ARCH=arm64
sed -i 's/^MAKE="/MAKE="ARCH=arm64\ /' dkms.conf

Any idea what happens ?

@MaxJoseph4
Copy link

Hi, could you find a solution? I have the same adapter and I can't compile the drivers.

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

2 participants