astsam / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
352 stars 950 forks source link

8812au: disagrees about version of symbol module_layout #37

Closed regisin closed 7 years ago

regisin commented 7 years ago

Trying to compile on a raspberry pi 3 following instructions in #10 without success. I'm using kernel 4.4.20-v+, gcc/g++ 4.8.4

I tried following the steps related to the Modules.symvers from here rpi-source

But the same error happens (dmesg):

8812au: disagrees about version of symbol module_layout

Looks like using the Modules.symvers through the cmd flag has no effect, after compiling, there's always an empty file on the root ..../rtl8812au/ folder.

This is the output of the file from the rpi-source part:

pi@raspberrypi /home/pi/linux $ cat /home/pi/linux/Module.symvers | grep module_layout 0xeb2758da module_layout vmlinux EXPORT_SYMBOL

Commands tried:

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

Creates an empty ./rtl8812au/Module.symvars file: pi@raspberrypi /home/pi/rtl8812au $ cat Module.symvers | grep module pi@raspberrypi /home/pi/rtl8812au $

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KCONFIG_EXTRA_SYMBOLS=/home/pi/linux/Module.symvers Creates a ./rtl8812au/Module.symvars, different from the cmg argument (non-empty file): pi@raspberrypi /home/pi/rtl8812au $ cat Module.symvers | grep module pi@raspberrypi /home/pi/rtl8812au $

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- XTRA="KCONFIG_EXTRA_SYMBOLS=/home/pi/linux/Module.symvers" Creates an empty ./rtl8812au/Module.symvars file: pi@raspberrypi /home/pi/rtl8812au $ cat Module.symvers pi@raspberrypi /home/pi/rtl8812au $

Any ideas?

regisin commented 7 years ago

The OS provider updated their Raspbian image, now works Ok.