Open PaTTeeL opened 2 years ago
有字数限制,分两段…… 接上面日志
bash /mnt/c/Users/Admin/android-ndk-r23b/build/ndk-build NDK_PROJECT_PATH=./ APP_BUILD_SCRIPT=./Android.mk APP_ABI=arm64-v8a APP_PLATFORM=android-23 NDK_APPLICATION_MK=Application.mk NDK_TOOLCHAIN_VERSION=clang
Putting child 0x7fffe2467930 (build) PID 482 on the chain.
Live child 0x7fffe2467930 (build) PID 482
GNU Make 4.3.90
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk' (search path) (no ~ expansion)...
Reading makefile 'Application.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk' (search path) (no ~ expansion)...
Reading makefile 'Android.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk' (search path) (no ~ expansion)...
Reading makefile '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk' (search path) (no ~ expansion)...
make[1]: Entering directory '/mnt/c/Users/Admin/CVE-2017-8890/nexus6p@kernel-3.10/jni'
/mnt/c/Users/Admin/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++: 1: clang: not found
Android NDK: WARNING: Building static executable but APP_PLATFORM android-23 is not the latest API level android-31. Build may not succeed.
make[1]: Leaving directory '/mnt/c/Users/Admin/CVE-2017-8890/nexus6p@kernel-3.10/jni'
Updating makefiles....
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/import-locals.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/system_libs.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/openmp.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/install_sanitizer.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/sanitizers.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-executable.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Considering target file 'Android.mk'.
Looking for an implicit rule for 'Android.mk'.
No implicit rule found for 'Android.mk'.
Finished prerequisites of target file 'Android.mk'.
No need to remake target 'Android.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/sources/android/support/Android.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++abi/Android.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-shared-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-module.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/prebuilt-static-library.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/clear-vars.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/sources/cxx-stl/llvm-libc++/Android.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/gdb.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/setup.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/default-build-commands.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-toolchain.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-abi.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-all.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-imports.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/setup-app-platform.mk'.
Considering target file 'Application.mk'.
Looking for an implicit rule for 'Application.mk'.
No implicit rule found for 'Application.mk'.
Finished prerequisites of target file 'Application.mk'.
No need to remake target 'Application.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-application.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86_64-clang/config.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/x86-clang/config.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/arm-linux-androideabi-clang/config.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/toolchains/aarch64-linux-android-clang/config.mk'.
Pruning file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/add-toolchain.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/platforms.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/abis.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/version.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-graph.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-host.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-utils.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions-tests.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/__gmsl'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/gmsl/gmsl'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/definitions.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/init.mk'.
Considering target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'.
Looking for an implicit rule for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'.
No implicit rule found for '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'.
Finished prerequisites of target file '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'.
No need to remake target '/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-local.mk'.
Updating goal targets....
Considering target file 'all'.
File 'all' does not exist.
Considering target file 'installed_modules'.
File 'installed_modules' does not exist.
Considering target file 'clean-installed-binaries'.
File 'clean-installed-binaries' does not exist.
Finished prerequisites of target file 'clean-installed-binaries'.
Target 'clean-installed-binaries' is double-colon and has no prerequisites.
Must remake target 'clean-installed-binaries'.
make[1]: Entering directory '/mnt/c/Users/Admin/CVE-2017-8890/nexus6p@kernel-3.10/jni'
Putting child 0x8608b0 (clean-installed-binaries) PID 493 on the chain.
Live child 0x8608b0 (clean-installed-binaries) PID 493
Reaping winning child 0x8608b0 PID 493
Live child 0x8608b0 (clean-installed-binaries) PID 495
Reaping winning child 0x8608b0 PID 495
Live child 0x8608b0 (clean-installed-binaries) PID 496
Reaping winning child 0x8608b0 PID 496
Removing child 0x8608b0 PID 496 from chain.
Successfully remade target file 'clean-installed-binaries'.
Considering target file 'clean-installed-binaries'.
File 'clean-installed-binaries' does not exist.
Finished prerequisites of target file 'clean-installed-binaries'.
Target 'clean-installed-binaries' is double-colon and has no prerequisites.
Must remake target 'clean-installed-binaries'.
Successfully remade target file 'clean-installed-binaries'.
Considering target file 'libraries'.
File 'libraries' does not exist.
Considering target file 'static_libraries'.
File 'static_libraries' does not exist.
Finished prerequisites of target file 'static_libraries'.
Must remake target 'static_libraries'.
Successfully remade target file 'static_libraries'.
Considering target file 'shared_libraries'.
File 'shared_libraries' does not exist.
Finished prerequisites of target file 'shared_libraries'.
Must remake target 'shared_libraries'.
Successfully remade target file 'shared_libraries'.
Finished prerequisites of target file 'libraries'.
Must remake target 'libraries'.
Successfully remade target file 'libraries'.
Considering target file 'libs/arm64-v8a/exp'.
File 'libs/arm64-v8a/exp' does not exist.
Considering target file 'obj/local/arm64-v8a/exp'.
File 'obj/local/arm64-v8a/exp' does not exist.
Considering target file 'obj/local/arm64-v8a/objs/exp/exp.o'.
File 'obj/local/arm64-v8a/objs/exp/exp.o' does not exist.
Considering target file 'exp.c'.
Looking for an implicit rule for 'exp.c'.
Trying pattern rule with stem 'exp'.
Trying implicit prerequisite 'exp.w'.
Trying pattern rule with stem 'exp'.
Trying implicit prerequisite 'exp.w'.
Looking for a rule with intermediate file 'exp.w'.
Avoiding implicit rule recursion.
No implicit rule found for 'exp.c'.
Finished prerequisites of target file 'exp.c'.
No need to remake target 'exp.c'.
Considering target file 'Android.mk'.
File 'Android.mk' was considered already.
Considering target file 'Application.mk'.
File 'Application.mk' was considered already.
Considering target file 'obj/local/arm64-v8a/objs/exp'.
Finished prerequisites of target file 'obj/local/arm64-v8a/objs/exp'.
No need to remake target 'obj/local/arm64-v8a/objs/exp'.
Finished prerequisites of target file 'obj/local/arm64-v8a/objs/exp/exp.o'.
Must remake target 'obj/local/arm64-v8a/objs/exp/exp.o'.
Putting child 0x84eb90 (obj/local/arm64-v8a/objs/exp/exp.o) PID 497 on the chain.
Live child 0x84eb90 (obj/local/arm64-v8a/objs/exp/exp.o) PID 497
[arm64-v8a] Compile : exp <= exp.c
Reaping winning child 0x84eb90 PID 497
Live child 0x84eb90 (obj/local/arm64-v8a/objs/exp/exp.o) PID 498
Reaping winning child 0x84eb90 PID 498
Live child 0x84eb90 (obj/local/arm64-v8a/objs/exp/exp.o) PID 499
/mnt/c/Users/Admin/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: 1: clang-12: not found
Reaping losing child 0x84eb90 PID 499
make[1]: *** [/mnt/c/Users/Admin/android-ndk-r23b/build/core/build-binary.mk:476: obj/local/arm64-v8a/objs/exp/exp.o] Error 127
Removing child 0x84eb90 PID 499 from chain.
make[1]: Leaving directory '/mnt/c/Users/Admin/CVE-2017-8890/nexus6p@kernel-3.10/jni'
Reaping losing child 0x7fffe2467930 PID 482
make: *** [Makefile:7: build] Error 2
Removing child 0x7fffe2467930 PID 482 from chain.
上面那段是wsl的编译错误,然后在虚拟机的ubuntu中,又是报另外的错:
Putting child 0x1346770 (obj/local/arm64-v8a/objs/exp/utils.o) PID 43813 on the chain.
Live child 0x1346770 (obj/local/arm64-v8a/objs/exp/utils.o) PID 43813
[arm64-v8a] Compile : exp <= utils.c
Reaping winning child 0x1346770 PID 43813
Live child 0x1346770 (obj/local/arm64-v8a/objs/exp/utils.o) PID 43814
Reaping winning child 0x1346770 PID 43814
Live child 0x1346770 (obj/local/arm64-v8a/objs/exp/utils.o) PID 43815
./utils.c:144:14: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-dec]
if (!strcmp(sym, symbol_name)) {
^
./utils.c:144:14: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
1 warning generated.
Reaping winning child 0x1346770 PID 43815
Removing child 0x1346770 PID 43815 from chain.
Successfully remade target file 'obj/local/arm64-v8a/objs/exp/utils.o'.
Considering target file 'obj/local/arm64-v8a'.
Finished prerequisites of target file 'obj/local/arm64-v8a'.
No need to remake target 'obj/local/arm64-v8a'.
Finished prerequisites of target file 'obj/local/arm64-v8a/exp'.
Must remake target 'obj/local/arm64-v8a/exp'.
Putting child 0x13481c0 (obj/local/arm64-v8a/exp) PID 43816 on the chain.
Live child 0x13481c0 (obj/local/arm64-v8a/exp) PID 43816
[arm64-v8a] Executable : exp
Reaping winning child 0x13481c0 PID 43816
Live child 0x13481c0 (obj/local/arm64-v8a/exp) PID 43817
ld: error: duplicate symbol: cap_task_create
>>> defined at utils.h:45 (./utils.h:45)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(cap_task_create)
>>> defined at utils.h:45 (./utils.h:45)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.cap_task_create+0x0)
ld: error: duplicate symbol: cap_task_prctl
>>> defined at utils.h:46 (./utils.h:46)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(cap_task_prctl)
>>> defined at utils.h:46 (./utils.h:46)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.cap_task_prctl+0x0)
ld: error: duplicate symbol: get_mm_exe_file
>>> defined at utils.h:37 (./utils.h:37)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(get_mm_exe_file)
>>> defined at utils.h:37 (./utils.h:37)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.get_mm_exe_file+0x0)
ld: error: duplicate symbol: init_task
>>> defined at utils.h:54 (./utils.h:54)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(init_task)
>>> defined at utils.h:54 (./utils.h:54)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.init_task+0x0)
ld: error: duplicate symbol: k_security_ops
>>> defined at utils.h:53 (./utils.h:53)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(k_security_ops)
>>> defined at utils.h:53 (./utils.h:53)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.k_security_ops+0x0)
ld: error: duplicate symbol: kernel_sock_ioctl
>>> defined at utils.h:47 (./utils.h:47)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(kernel_sock_ioctl)
>>> defined at utils.h:47 (./utils.h:47)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.kernel_sock_ioctl+0x0)
ld: error: duplicate symbol: orderly_poweroff
>>> defined at utils.h:51 (./utils.h:51)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(orderly_poweroff)
>>> defined at utils.h:51 (./utils.h:51)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.orderly_poweroff+0x0)
ld: error: duplicate symbol: poweroff_work_func
>>> defined at utils.h:50 (./utils.h:50)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(poweroff_work_func)
>>> defined at utils.h:50 (./utils.h:50)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.poweroff_work_func+0x0)
ld: error: duplicate symbol: security_context_to_sid
>>> defined at utils.h:44 (./utils.h:44)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(security_context_to_sid)
>>> defined at utils.h:44 (./utils.h:44)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.security_context_to_sid+0x0)
ld: error: duplicate symbol: security_ops
>>> defined at utils.h:48 (./utils.h:48)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(security_ops)
>>> defined at utils.h:48 (./utils.h:48)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.security_ops+0x0)
ld: error: duplicate symbol: selinux_enabled
>>> defined at utils.h:42 (./utils.h:42)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(selinux_enabled)
>>> defined at utils.h:42 (./utils.h:42)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.selinux_enabled+0x0)
ld: error: duplicate symbol: selinux_enforcing
>>> defined at utils.h:43 (./utils.h:43)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(selinux_enforcing)
>>> defined at utils.h:43 (./utils.h:43)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.selinux_enforcing+0x0)
ld: error: duplicate symbol: sys_msync
>>> defined at utils.h:38 (./utils.h:38)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(sys_msync)
>>> defined at utils.h:38 (./utils.h:38)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.sys_msync+0x0)
ld: error: duplicate symbol: task_prctl_offset
>>> defined at utils.h:41 (./utils.h:41)
>>> .//obj/local/arm64-v8a/objs/exp/exp.o:(task_prctl_offset)
>>> defined at utils.h:41 (./utils.h:41)
>>> .//obj/local/arm64-v8a/objs/exp/utils.o:(.bss.task_prctl_offset+0x0)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Reaping losing child 0x13481c0 PID 43817
make[1]: *** [/home/ubuntu/android-ndk-r23b/build/core/build-binary.mk:728: obj/local/arm64-v8a/exp] Error 1
Removing child 0x13481c0 PID 43817 from chain.
make[1]: Leaving directory '/home/ubuntu/CVE-2017-8890/nexus6p@kernel-3.10/jni'
Reaping losing child 0x55e9ec581280 PID 43797
make: *** [Makefile:7: build] Error 2
Removing child 0x55e9ec581280 PID 43797 from chain.
请教如何才能成功的编译出二进制exp文件?
因为华为现在不提供bootloader解锁了,想尝试在老版本华为手机上获得root权限,然后在尝试您的项目,然后编译exp失败,之前尝试dirtycow也是编译错误127,我尝试了14、15和23三个版本的ndk都是一样的错误,make -d日志如下,人已经懵了,请教是啥地方出问题了呢?