0
rhagu

Compilation on Nanopi Neo2 fails for Realtek 8812au

Recommended Posts

Armbianmonitor:

Hi,

I am trying to install the aircrack-ng driver via dkms from over here:

https://github.com/aircrack-ng/rtl8812au

 

When I change the Makefile to match my processor arm-sun50iw1p1 , I receive these compilation errors and do not know how to fix them.

 

cat /var/lib/dkms/rtl8812au/5.2.20.2/build/make.log
DKMS make.log for rtl8812au-5.2.20.2 for kernel 4.19.20-sunxi64 (aarch64)
Tue Feb 12 21:53:55 UTC 2019
make ARCH=arm64 CROSS_COMPILE=/home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu- -C /lib/modules/4.19.20-sunxi64/build M=/var/lib/dkms/rtl8812au/5.2.20.2/build  modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.20-sunxi64'
arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum
arch/arm64/Makefile:48: Detected assembler with broken .inst; disassembly will be unreliable
./scripts/gcc-version.sh: line 26: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: No such file or directory
./scripts/gcc-version.sh: line 27: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: No such file or directory
make[1]: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: Command not found
make[1]: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: Command not found
make[1]: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: Command not found
make[1]: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: Command not found
/bin/sh: 1: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: not found
(standard_in) 1: syntax error
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o
/bin/sh: 1: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: not found
scripts/Makefile.build:303: recipe for target '/var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o] Error 127
make[2]: *** Waiting for unfinished jobs....
  CC [M]  /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o
/bin/sh: 1: /home/android_sdk/Allwinner/a64/android-51/lichee/out/sun50iw1p1/android/common/buildroot/external-toolchain/bin/aarch64-linux-gnu-gcc: not found
scripts/Makefile.build:303: recipe for target '/var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o' failed
make[2]: *** [/var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o] Error 127
Makefile:1520: recipe for target '_module_/var/lib/dkms/rtl8812au/5.2.20.2/build' failed
make[1]: *** [_module_/var/lib/dkms/rtl8812au/5.2.20.2/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.20-sunxi64'
Makefile:1551: recipe for target 'modules' failed
make: *** [modules] Error 2

Any ideas?

 

kind regards,

rhagu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0