aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to compile as an external module?

erophey7 opened this issue · comments

I want to compile it as an external module for the android 5.4.233 kernel but when I try, the module does not compile with the following output:

erophey7@compudahter-kubuntu:~/eblya/rtl8812au$ make -C /home/erophey7/eblya/android_kernel_xiaomi_lahaina/out/ M=$PWD ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1 CROSS_COMPILE=$TC_DIR/bin/llvm- INSTALL_MOD_PATH=modules INSTALL_MOD_STRIP=1 modules
make: Entering directory '/home/erophey7/eblya/android_kernel_xiaomi_lahaina/out'
  Building modules, stage 2.
  MODPOST 0 modules
make: Leaving directory '/home/erophey7/eblya/android_kernel_xiaomi_lahaina/out'

Clang: google clang-r450784d
kernel: https://github.com/ghostrider-reborn/android_kernel_xiaomi_lahaina