Comments (4)
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.
from kernelsu.
这里有一个守卫,那么为什么你的 4.14 内核会击中这个呢?
https://github.com/tiann/KernelSU/blob/main/kernel/ksu.c#L98
首先检查您的来源。
KernelSU 版本:最新
内核版本:4.14.186
也出现这个问题
../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); ^
from kernelsu.
I'm also getting similar error:
-- KernelSU version: 11895
-- KernelSU Manager signature size: 0x033b
-- KernelSU Manager signature hash: c371061b19d8c7d7d6133c6a9bafe198fa944e50c1b31c9d8daa8d7f1fc2d2d6
...
../../../../../../kernel/fairphone/sm7225/KernelSU/kernel/ksu.c:97:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
^
int
../../../../../../kernel/fairphone/sm7225/KernelSU/kernel/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);
^
2 errors generated.
make[3]: *** [/srv/src/LINEAGE_21_0/kernel/fairphone/sm7225/scripts/Makefile.build:338: drivers/kernelsu/ksu.o] Error 1
make[2]: *** [/srv/src/LINEAGE_21_0/kernel/fairphone/sm7225/scripts/Makefile.build:642: drivers/kernelsu] Error 2
Is there any workaround to be able to compile? Thank you.
from kernelsu.
Solution to that written here:
#1972
from kernelsu.
Related Issues (20)
- 5.10-android12 cannot use the keyboard sprite app root permission HOT 2
- Should we cover how to utilize dynamic systems (DSU) to extract boot image as an alternative method for LKM installation? HOT 6
- error: a parameter list without types is only allowed in a function definition
- error: undefined symbol: ksu_vfs_read_hook, ksu_execveat_hook, ksu_input_hook
- Root detection by bank app it was not before
- [Add Device]: Redmi 9 : lancelot HOT 2
- [Custom]Kernel fails to build on custom build HOT 2
- Module uninstallation popup never goes away
- LKM 模式下 kernelsu.ko 如何检测内核内的ramdisk 文件 以及提取 。这样才能开发类似面具的overlay.d 功能 HOT 2
- [Add Device]: Add Moto G7 river custom repository HOT 1
- Updating ksu manager to 11960 dissapears all modules HOT 1
- [Custom]报告一个现象,在小米的部分机型最新版 Hyper OS 的刷机包中,已经不存在 init_boot.img 文件了 HOT 2
- KSU CRASHING WHEN INSTALLING MODULES HOT 2
- Error: Failed to attach loop when install/uninstall/enable/disable module HOT 1
- error: kernel/xiaomi/sm8250/KernelSU/userspace/su/jni: MODULE.TARGET.EXECUTABLES.su already defined by system/extras/su HOT 1
- [Custom] Magisk Modules Converter? HOT 5
- [Custom]kernel flasher应用无法使用
- KernelSU running in LXC environment cannot install module HOT 1
- kernelSU内核在0.9.3之后无法正确授权按键精灵root权限 HOT 2
- . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kernelsu.