Build driver raspberry pi4b
tonia211262 opened this issue · comments
while compiling the kernel via dkms I encountered the following error:
DKMS make.log for rtl8852au-1.15.0.1 for kernel 6.1.54-v8+ (aarch64)
#rm -f .symvers.8852au
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/6.1.54-v8+/build M=/var/lib/dkms/rtl8852au/1.15.0.1/build modules
make[1]: ingresso nella directory «/home/raspberry/linux-df4d584e66a660195422ca2b7ce1d68d1181f2a2»
....
LD [M] /var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.o
MODPOST /var/lib/dkms/rtl8852au/1.15.0.1/build/Module.symvers
ERROR: modpost: "__arch_copy_to_user" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "preempt_schedule_notrace" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "alt_cb_patch_nops" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "__udelay" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "csum_ipv6_magic" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "__rcu_read_unlock" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "__rcu_read_lock" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "_raw_spin_unlock" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "__arch_copy_from_user" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
ERROR: modpost: "__const_udelay" [/var/lib/dkms/rtl8852au/1.15.0.1/build/8852au.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:126: /var/lib/dkms/rtl8852au/1.15.0.1/build/Module.symvers] Errore 1
make[1]: *** [Makefile:1966: modpost] Errore 2
make[1]: uscita dalla directory «/home/raspberry/linux-df4d584e66a660195422ca2b7ce1d68d1181f2a2»
make: *** [Makefile:639: modules] Errore 2