-
Notifications
You must be signed in to change notification settings - Fork 69
Description
╔══════════════════════════════════════════════════════════════════════╗
║ ║
║ _ _ ____ _ ║
║ | | ___ | |/ | _ __ ___ ___ | | ║
║ | | / _ | _ | ' \ / _ / _ / _` | ║
║ | || () | | ) | |) | __/ __/ (| | ║
║ |___/ _|___/| ./ _|_|_| ║
║ || ║
║ ║
║ LotSpeed v2.2 + NeoQ v3.1 Network Optimization Suite ║
║ ║
╚══════════════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════════════╗
║ Installation Options ║
╟────────────────────────────────────────────────────────────────────╢
║ 1) Install LotSpeed + NeoQ (Full) ║
║ 2) Install LotSpeed only ║
║ 3) Install NeoQ only ║
║ 4) Uninstall everything ║
║ 5) Check system status ║
║ 0) Exit ║
╚════════════════════════════════════════════════════════════════════╝
1
[INFO] Checking system compatibility...
[✓] System: debian 13 (kernel 6.18.3-x64v3-xanmod1, x86_64)
[INFO] Installing dependencies...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gcc is already the newest version (4:14.2.0-1).
make is already the newest version (4.4.1-2).
linux-headers-6.18.3-x64v3-xanmod1 is already the newest version (6.18.3-x64v3-xanmod1-0~20260102.g6e0b8d1).
wget is already the newest version (1.25.0-2).
curl is already the newest version (8.14.1-2+deb13u2).
bc is already the newest version (1.07.1-4).
iproute2 is already the newest version (6.15.0-1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
[✓] Dependencies installed
[INFO] Downloading source code...
[✓] Source code downloaded
[INFO] Compiling kernel modules...
make -C /lib/modules/6.18.3-x64v3-xanmod1/build M=/opt/lotspeed modules
make[1]: Entering directory '/usr/src/linux-headers-6.18.3-x64v3-xanmod1'
make[2]: Entering directory '/opt/lotspeed'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: Debian clang version 19.1.7 (3)
You are using: gcc (Debian 14.2.0-19) 14.2.0
CC [M] lotspeed.o
gcc: error: unrecognized command-line option ‘-mstack-alignment=8’
gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
make[4]: *** [/usr/src/linux-headers-6.18.3-x64v3-xanmod1/scripts/Makefile.build:287: lotspeed.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.18.3-x64v3-xanmod1/Makefile:2015: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.18.3-x64v3-xanmod1/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/opt/lotspeed'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.18.3-x64v3-xanmod1'
make: *** [Makefile:13: all] Error 2
[ERROR] Compilation failed
看了之前各位大佬的帖子和评论,也发现是编译器设置问题,本人实在是水平有限,不知道install.sh脚本里面有哪一条指定了编译器设置,为什么make命令只会调用gcc,而不是clang?这个问题我也在之前的几个issue里面看到了,作者大佬能不能在install.sh脚本里显示指定一下make命令必须调用clang的参数?