pro_info
Occasional Visitor
Hello all,
I am trying to compile two drivers for my XT8 which are the aqc111 at first and then the r815.
After a day of hard work, I manage to compile the rt-ax95q firmware without any problem on docker, but I get errors when I try to compile the driver (on docker or not).
I was inspired by this tutorial which is mainly intended for the RMerlin version rather than gnuton : Towards 2.5GbE (NBASE-T) on ASUS RT-AX88U with RTL8156B and Asuswrt-Merlin 384.19 - I’m Renjie Wu
Here is the last test:
I also tried to integrate the driver to the kernel, but I got usb* dependency errors during the compilation.
Anyway, I'm out of ideas, I hope to have your help!
asuswrt src : gnuton/asuswrt-merlin.ng at r386.7_2 (github.com)
aqc111 driver src : https://1drv.ms/u/s!AgUdhaa0P0VhiZA9gexgnfFdmVUmig?e=xXLvHg
I am trying to compile two drivers for my XT8 which are the aqc111 at first and then the r815.
After a day of hard work, I manage to compile the rt-ax95q firmware without any problem on docker, but I get errors when I try to compile the driver (on docker or not).
I was inspired by this tutorial which is mainly intended for the RMerlin version rather than gnuton : Towards 2.5GbE (NBASE-T) on ASUS RT-AX88U with RTL8156B and Asuswrt-Merlin 384.19 - I’m Renjie Wu
Here is the last test:
Bash:
Firmware compiled : OK
sudo apt-get install gcc-aarch64-linux-gnu
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -C ~/asusmerlin/asuswrt-merlin.ng/release/src-rt-5.02axhnd.675x/kernel/linux-4.1 SUBDIRS=`pwd` modules
make : on entre dans le répertoire « /home/serveur/asusmerlin/asuswrt-merlin.ng/release/src-rt-5.02axhnd.675x/kernel/linux-4.1 »
CC [M] /home/serveur/asusmerlin/asuswrt-merlin.ng/Linux/aqc111.o
<command-line>: error: macro names must be identifiers
In file included from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from /home/serveur/asusmerlin/asuswrt-merlin.ng/Linux/aqc111.c:11:
include/uapi/linux/types.h:4:10: fatal error: asm/types.h: Aucun fichier ou dossier de ce type
4 | #include <asm/types.h>
| ^~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.build:296 : /home/serveur/asusmerlin/asuswrt-merlin.ng/Linux/aqc111.o] Erreur 1
make: *** [Makefile:1737 : _module_/home/serveur/asusmerlin/asuswrt-merlin.ng/Linux] Erreur 2
make : on quitte le répertoire « /home/serveur/asusmerlin/asuswrt-merlin.ng/release/src-rt-5.02axhnd.675x/kernel/linux-4.1 »
I also tried to integrate the driver to the kernel, but I got usb* dependency errors during the compilation.
Anyway, I'm out of ideas, I hope to have your help!
asuswrt src : gnuton/asuswrt-merlin.ng at r386.7_2 (github.com)
aqc111 driver src : https://1drv.ms/u/s!AgUdhaa0P0VhiZA9gexgnfFdmVUmig?e=xXLvHg