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

compile error #20

Open
helloworldgame opened this issue Nov 13, 2022 · 0 comments
Open

compile error #20

helloworldgame opened this issue Nov 13, 2022 · 0 comments

Comments

@helloworldgame
Copy link

Cross-build from 'Linux:x86_64' to 'Android:armv8' Installing (downloading, building) binaries... android-toolchain/r25b@bashbug/stable: Already installed! lz4/1.9.2@bashbug/stable: Applying build-requirement: android-toolchain/r25b@bashbug/stable lz4/1.9.2@bashbug/stable: WARN: Build folder is dirty, removing it: /root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26 lz4/1.9.2@bashbug/stable: Copying sources to build folder lz4/1.9.2@bashbug/stable: Building your package in /root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26 lz4/1.9.2@bashbug/stable: Generator txt created conanbuildinfo.txt lz4/1.9.2@bashbug/stable: Aggregating env generators lz4/1.9.2@bashbug/stable: Calling build() -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /root/.conan/data/android-toolchain/r25b/bashbug/stable/package/be241241e9d4718e5bab4eb33935bbb69606bb0c/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -- Check for working C compiler: /root/.conan/data/android-toolchain/r25b/bashbug/stable/package/be241241e9d4718e5bab4eb33935bbb69606bb0c/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - broken CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler

"/root/.conan/data/android-toolchain/r25b/bashbug/stable/package/be241241e9d4718e5bab4eb33935bbb69606bb0c/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang"
is not able to compile a simple test program.

It fails with the following output:

Change Dir: /root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26/armv8/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_19db5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_19db5.dir/build.make CMakeFiles/cmTC_19db5.dir/build
gmake[1]: Entering directory '/root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26/armv8/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_19db5.dir/testCCompiler.c.o
/root/.conan/data/android-toolchain/r25b/bashbug/stable/package/be241241e9d4718e5bab4eb33935bbb69606bb0c/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -o CMakeFiles/cmTC_19db5.dir/testCCompiler.c.o -c /root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26/armv8/CMakeFiles/CMakeTmp/testCCompiler.c
clang: error: no input files
gmake[1]: *** [CMakeFiles/cmTC_19db5.dir/build.make:78: CMakeFiles/cmTC_19db5.dir/testCCompiler.c.o] Error 1
gmake[1]: Leaving directory '/root/.conan/data/lz4/1.9.2/bashbug/stable/build/278fbbfd93b48508f4bb6ebf2f52cc80110f5b26/armv8/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_19db5/fast] Error 2
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project)

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