hbmaennchen Posted November 5, 2018 Share Posted November 5, 2018 (edited) hi, iam trying to compile wlan modules and here is the result: Spoiler sfalk@nanopct4:~/Downloads/rtl8814AU$ make make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/4.4.162-rk3399/build M=/home/sfalk/Downloads/rtl8814AU modules make[1]: Entering directory '/usr/src/linux-headers-4.4.162-rk3399' CC [M] /home/sfalk/Downloads/rtl8814AU/core/rtw_cmd.o In file included from ./arch/arm64/include/asm/sysreg.h:25:0, from ./arch/arm64/include/asm/cputype.h:99, from ./arch/arm64/include/asm/cachetype.h:19, from ./arch/arm64/include/asm/cache.h:19, from include/linux/cache.h:5, from include/linux/printk.h:8, from include/linux/kernel.h:13, from include/linux/list.h:8, from include/linux/module.h:9, from /home/sfalk/Downloads/rtl8814AU/include/basic_types.h:81, from /home/sfalk/Downloads/rtl8814AU/include/drv_types.h:31, from /home/sfalk/Downloads/rtl8814AU/core/rtw_cmd.c:22: ./arch/arm64/include/asm/opcodes.h:5:10: fatal error: ../../arm/include/asm/opcodes.h: No such file or directory #include <../../arm/include/asm/opcodes.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. scripts/Makefile.build:277: recipe for target '/home/sfalk/Downloads/rtl8814AU/core/rtw_cmd.o' failed make[2]: *** [/home/sfalk/Downloads/rtl8814AU/core/rtw_cmd.o] Error 1 Makefile:1480: recipe for target '_module_/home/sfalk/Downloads/rtl8814AU' failed make[1]: *** [_module_/home/sfalk/Downloads/rtl8814AU] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.4.162-rk3399' Makefile:1699: recipe for target 'modules' failed make: *** [modules] Error 2 after adding missing files: Spoiler root@nanopct4:/usr/src/linux-headers-4.4.162-rk3399# make scripts CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:13:10: fatal error: classmap.h: No such file or directory #include "classmap.h" ^~~~~~~~~~~~ compilation terminated. scripts/Makefile.host:91: recipe for target 'scripts/selinux/genheaders/genheaders' failed make[3]: *** [scripts/selinux/genheaders/genheaders] Error 1 scripts/Makefile.build:484: recipe for target 'scripts/selinux/genheaders' failed make[2]: *** [scripts/selinux/genheaders] Error 2 scripts/Makefile.build:484: recipe for target 'scripts/selinux' failed make[1]: *** [scripts/selinux] Error 2 Makefile:590: recipe for target 'scripts' failed make: *** [scripts] Error 2 dev branch 4.19 works nicely but alsa or pulse or both are missing (no cards) building myself a kernel from your build service shows no option activating 8814au with menuconfig What can i do? Edited November 5, 2018 by Igor spoilers Link to comment Share on other sites More sharing options...
Igor Posted November 5, 2018 Share Posted November 5, 2018 20 minutes ago, hbmaennchen said: What can i do? Fix 8814au driver code or find such that it builds on a kernel 4.4.y. I use this patch to disable building 8814AU but build 8812AU. Unrelated to Armbian. Link to comment Share on other sites More sharing options...
hbmaennchen Posted November 5, 2018 Author Share Posted November 5, 2018 thank you for the reply, 8812au works without manual manipulation from enduser, your patch is already applied within the build?! (tplink archer ac1200 t4u) Link to comment Share on other sites More sharing options...
hbmaennchen Posted November 5, 2018 Author Share Posted November 5, 2018 iam not capable of fixing code, The bt400 asus (also broadcom chip?) dongle is also well supported, bluetooth not working, is it a u-boot thing? Link to comment Share on other sites More sharing options...
Recommended Posts