【发布时间】:2021-08-05 23:11:48
【问题描述】:
我正在尝试构建 android-x86 https://www.android-x86.org/source.html 分支 q-x86 使用 ubuntu 20。 我按照说明安装了页面上提到的所有依赖项。但我面临以下错误。我不知道如何处理它。 Google 搜索对我没有任何帮助。
DEPMOD 4.19.175-android-x86-gad005d7cff5c
"depmod" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
make[1]: *** [/home/nadir/androidx86/kernel/Makefile:1404: _modinst_post] Error 1
make[1]: Leaving directory '/home/nadir/androidx86/out/target/product/x86/obj/kernel'
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory '/home/nadir/androidx86/kernel'
FAILED: [W][2021-05-16T08:15:17-0400][535663] void cmdline::logParams(nsjconf_t *)():250 Process will be UID/EUID=0 in the global user namespace, and will have user root-level access to files
[W][2021-05-16T08:15:17-0400][535663] void cmdline::logParams(nsjconf_t *)():260 Process will be GID/EGID=0 in the global user namespace, and will have group root-level access to files
08:41:17 ninja failed with: exit status 1
如何处理这个问题,因为错误中提到的 URL 在这种情况下没有帮助。在那个页面上,甚至没有提到一个时间 depmode 或任何与之相关的内容。
【问题讨论】:
标签: android-x86