Skip to content
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

编译失败 Error while executing process E:\Soft\SDK\cmake\3.6.4111459\bin\cmake.exe with #64

Open
qq659648565 opened this issue Jul 19, 2019 · 0 comments

Comments

@qq659648565
Copy link

AILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:externalNativeBuildDebug'.

Build command failed.
Error while executing process E:\Soft\SDK\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\chinghua.liu\Desktop\dumpDex-master\app.externalNativeBuild\cmake\debug\arm64-v8a --target nativeDump}
[1/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/native.cpp.o
[2/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o
[3/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/inlineHook.c.o
[4/8] Building C object CMakeFiles/nativeDump.dir/src/main/cpp/relocate.c.o
[5/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/And64InlineHook.cpp.o
[6/8] Building CXX object CMakeFiles/nativeDump.dir/src/main/cpp/util/deviceutils.cpp.o
FAILED: E:\Soft\SDK\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=aarch64-none-linux-android21 --gcc-toolchain=E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -DnativeDump_EXPORTS -I/usr/include/aarch64-linux-android -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -O0 -fno-limit-debug-info -fPIC -MD -MT CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o -MF CMakeFiles\nativeDump.dir\src\main\cpp\dlopen.c.o.d -o CMakeFiles/nativeDump.dir/src/main/cpp/dlopen.c.o -c C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp\dlopen.c
In file included from C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp\dlopen.c:7:

In file included from C:\Users\chinghua.liu\Desktop\dumpDex-master\app\src\main\cpp/dlopen.h:9:

E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include\jni.h:1:1: error: unknown type name 'b'

b<U+0014>#eF<U+0000><U+0001><U+0000><U+0000><U+0000><U+0001>E-SafeNet<U+0000><U+0000><U+0000>LOCK<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>%]X<99>f&<8A><U+0006><U+001E>gWn<92>m<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+001C>I|<U+0012><89><8F>gcj~<89>?X<U+0011>n<U+001E>?<U+0011><98>/<93>?2=N<U+001D>R<U+000C>1N??<88><U+0001>l<81>

'n<94>?Xqk

^

E:/Soft/SDK/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include\jni.h:1:2: error: expected identifier or '('

b<U+0014>#eF<U+0000><U+0001><U+0000><U+0000><U+0000><U+0001>E-SafeNet<U+0000><U+0000><U+0000>LOCK<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>%]X<99>f&<8A><U+0006><U+001E>gWn<92>m<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+001C>I|<U+0012><89><8F>gcj~<89>?X<U+0011>n<U+001E>?<U+0011><98>/<93>?2=N<U+001D>R<U+000C>1N??<88><U+0001>l<81>

'n<94>?Xqk

^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant