-
-
Save Ansuel/b5a6574ea912d56e8697984154d0ba42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make[3]: Leaving directory '/home/ansuel/openwrt/tools/cmake' | |
time: tools/cmake/compile#2275.31#121.26#313.39 | |
make[3]: Entering directory '/home/ansuel/openwrt/tools/zlib' | |
. /home/ansuel/openwrt/include/shell.sh; xzcat /home/ansuel/openwrt/dl/zlib-1.2.11.tar.xz | tar -C /home/ansuel/openwrt/build_dir/host/zlib-1.2.11/.. -xf - | |
[ ! -d ./src/ ] || cp -fpR ./src/* /home/ansuel/openwrt/build_dir/host/zlib-1.2.11 | |
Applying ./patches/900-overridable-pc-exec-prefix.patch using plaintext: | |
patching file zlib.pc.cmakein | |
touch /home/ansuel/openwrt/build_dir/host/zlib-1.2.11/.preparedfeeb7c04cf49ee7ec0ce6f850cf9db8f_6664517399ebbbc92a37c5bb081b5c53 | |
(cd /home/ansuel/openwrt/build_dir/host/zlib-1.2.11; CFLAGS="-O2 -I/home/ansuel/openwrt/staging_dir/host/include -fPIC" CXXFLAGS="-O2 -I/home/ansuel/openwrt/staging_dir/host/include -fPIC" LDFLAGS="-L/home/ansuel/openwrt/staging_dir/host/lib " cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER="/home/ansuel/openwrt/staging_dir/host/bin/ccache" -DCMAKE_C_COMPILER_ARG1="gcc" -DCMAKE_CXX_COMPILER="/home/ansuel/openwrt/staging_dir/host/bin/ccache" -DCMAKE_CXX_COMPILER_ARG1="g++" -DCMAKE_ASM_COMPILER="/home/ansuel/openwrt/staging_dir/host/bin/ccache" -DCMAKE_ASM_COMPILER_ARG1="gcc" -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS:STRING="-L/home/ansuel/openwrt/staging_dir/host/lib " -DCMAKE_MODULE_LINKER_FLAGS:STRING="-L/home/ansuel/openwrt/staging_dir/host/lib " -DCMAKE_SHARED_LINKER_FLAGS:STRING="-L/home/ansuel/openwrt/staging_dir/host/lib " -DCMAKE_FIND_ROOT_PATH="/home/ansuel/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/host;/home/ansuel/openwrt/staging_dir/hostpkg;/home/ansuel/openwrt/staging_dir/host" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_STRIP=: -DCMAKE_INSTALL_PREFIX=/home/ansuel/openwrt/staging_dir/host -DCMAKE_PREFIX_PATH=/home/ansuel/openwrt/staging_dir/host -DCMAKE_SKIP_RPATH=TRUE -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_EXPORT_PACKAGE_REGISTRY=FALSE -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=TRUE -DCMAKE_FIND_USE_PACKAGE_REGISTRY=FALSE -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=TRUE -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=FALSE -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=TRUE /home/ansuel/openwrt/build_dir/host/zlib-1.2.11 ) | |
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): | |
Compatibility with CMake < 2.8.12 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value or use a ...<max> suffix to tell | |
CMake that the project does not need compatibility with older versions. | |
-- The C compiler identification is unknown | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - failed | |
-- Check for working C compiler: /home/ansuel/openwrt/staging_dir/host/bin/ccache | |
-- Check for working C compiler: /home/ansuel/openwrt/staging_dir/host/bin/ccache - broken | |
CMake Error at /home/ansuel/openwrt/staging_dir/host/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message): | |
The C compiler | |
"/home/ansuel/openwrt/staging_dir/host/bin/ccache" | |
is not able to compile a simple test program. | |
It fails with the following output: | |
Change Dir: /home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp | |
Run Build Command(s):/usr/bin/gmake cmTC_05c1e/fast && gmake[4]: Entering directory '/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp' | |
/usr/bin/gmake -f CMakeFiles/cmTC_05c1e.dir/build.make CMakeFiles/cmTC_05c1e.dir/build | |
gmake[5]: Entering directory '/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp' | |
Building C object CMakeFiles/cmTC_05c1e.dir/testCCompiler.c.o | |
/home/ansuel/openwrt/staging_dir/host/bin/ccache -O2 -I/home/ansuel/openwrt/staging_dir/host/include -fPIC -o CMakeFiles/cmTC_05c1e.dir/testCCompiler.c.o -c /home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp/testCCompiler.c | |
/home/ansuel/openwrt/staging_dir/host/bin/ccache: invalid option -- 'O' | |
Usage: | |
ccache [options] | |
ccache compiler [compiler options] | |
compiler [compiler options] (via symbolic link) | |
Common options: | |
-c, --cleanup delete old files and recalculate size counters | |
(normally not needed as this is done | |
automatically) | |
-C, --clear clear the cache completely (except configuration) | |
-F, --max-files=N set maximum number of files in cache to N (use 0 | |
for no limit) | |
-M, --max-size=SIZE set maximum size of cache to SIZE (use 0 for no | |
limit); available suffixes: k, M, G, T (decimal) | |
and Ki, Mi, Gi, Ti (binary); default suffix: G | |
-p, --show-config show current configuration options in | |
human-readable format | |
-s, --show-stats show summary of configuration and statistics | |
counters in human-readable format | |
-z, --zero-stats zero statistics counters | |
-h, --help print this help text | |
-V, --version print version and copyright information | |
Options for scripting or debugging: | |
--dump-manifest=PATH dump manifest file at PATH in text format | |
-k, --get-config=K print the value of configuration key K | |
--hash-file=PATH print the hash (<MD4>-<size>) of the file at PATH | |
--print-stats print statistics counter IDs and corresponding | |
values in machine-parsable format | |
-o, --set-config=K=V set configuration item K to value V | |
See also <https://ccache.dev>. | |
gmake[5]: *** [CMakeFiles/cmTC_05c1e.dir/build.make:85: CMakeFiles/cmTC_05c1e.dir/testCCompiler.c.o] Error 1 | |
gmake[5]: Leaving directory '/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp' | |
gmake[4]: *** [Makefile:140: cmTC_05c1e/fast] Error 2 | |
gmake[4]: Leaving directory '/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeTmp' | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
CMakeLists.txt:4 (project) | |
-- Configuring incomplete, errors occurred! | |
See also "/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeOutput.log". | |
See also "/home/ansuel/openwrt/build_dir/host/zlib-1.2.11/CMakeFiles/CMakeError.log". | |
make[3]: *** [Makefile:42: /home/ansuel/openwrt/build_dir/host/zlib-1.2.11/.configured] Error 1 | |
make[3]: Leaving directory '/home/ansuel/openwrt/tools/zlib' | |
time: tools/zlib/compile#0.27#0.28#0.53 | |
ERROR: tools/zlib failed to build. | |
make[2]: *** [tools/Makefile:158: tools/zlib/compile] Error 1 | |
make[2]: Leaving directory '/home/ansuel/openwrt' | |
make[1]: *** [tools/Makefile:154: /home/ansuel/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynnyyyynyyyyyyyyyyyyyyynynynnyyyyyyy] Error 2 | |
make[1]: Leaving directory '/home/ansuel/openwrt' | |
make: *** [/home/ansuel/openwrt/include/toplevel.mk:242: world] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment