-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version release bug #1759
Comments
There is a guard here, so why your 4.14 kernel will hit this? https://github.com/tiann/KernelSU/blob/main/kernel/ksu.c#L98 check your source first. |
KernelSU 版本:最新 也出现这个问题 ../drivers/kernelsu/ksu.c:97:18: error: a parameter list without types is only allowed in a function definition |
I'm also getting similar error:
Is there any workaround to be able to compile? Thank you. |
Solution to that written here: |
Please check before submitting an issue
Describe the bug
after updating to latest release it keeps giving errors while compiling
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Logs
Run export PATH=$HOME/:$PWD/toolchain/bin:$PATH
ln: failed to create symbolic link '/home/runner/python': File exists
mkdir: cannot create directory ‘out’: File exists
[i] Building KernelSU...
build_kernel.sh: line 190: replace_config_option: command not found
[+] Compiling KernelSU + Enforcing..
make: ./scripts/clang-android.sh: No such file or directory
configuration written to .config
make: ./scripts/clang-android.sh: No such file or directory
make[1]: ./scripts/clang-android.sh: No such file or directory
scripts/kconfig/conf --silentoldconfig Kconfig
make: ./scripts/clang-android.sh: No such file or directory
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
-- KernelSU version: 10201
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC fs/open.o
CC fs/read_write.o
CC fs/stat.o
CHK kernel/config_data.h
CC fs/exec.o
CC security/selinux/hooks.o
CC security/selinux/selinuxfs.o
CC security/selinux/ss/services.o
AR fs/built-in.o
CC security/selinux/ss/status.o
AR security/selinux/selinux.o
AR security/selinux/built-in.o
AR security/built-in.o
CC drivers/input/input.o
-- KernelSU version: 10201
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
CC drivers/kernelsu/ksu.o
drivers/kernelsu/ksu.c:97:18: error: a parameter list without types is only allowed in a function definition
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
^
1 error generated.
make[2]: *** [scripts/Makefile.build:356: drivers/kernelsu/ksu.o] Error 1
make[1]: *** [scripts/Makefile.build:671: drivers/kernelsu] Error 2
make[1]: *** Waiting for unfinished jobs....
AR drivers/input/input-core.o
AR drivers/input/built-in.o
make: *** [Makefile:1297: drivers] Error 2
make: *** Waiting for unfinished jobs....
Error: Process completed with exit code 1.
Device info
Additional context
No response
The text was updated successfully, but these errors were encountered: