Created
May 24, 2022 08:23
-
-
Save ethinx/08122e705edbc32e195adba59bd2cd1e to your computer and use it in GitHub Desktop.
Unknown CMake command "target_link_options".
This file contains hidden or 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
| [test@loongson1 pipy]$ ./build.sh -s | |
| mkdir: 无法创建目录 “/home/test/pipy/build”: File exists | |
| -- The C compiler identification is Clang 8.0.1 | |
| -- The CXX compiler identification is Clang 8.0.1 | |
| -- Check for working C compiler: /usr/bin/clang | |
| -- Check for working C compiler: /usr/bin/clang -- works | |
| -- Detecting C compiler ABI info | |
| -- Detecting C compiler ABI info - done | |
| -- Detecting C compile features | |
| -- Detecting C compile features - done | |
| -- Check for working CXX compiler: /usr/bin/clang++ | |
| -- Check for working CXX compiler: /usr/bin/clang++ -- works | |
| -- Detecting CXX compiler ABI info | |
| -- Detecting CXX compiler ABI info - done | |
| -- Detecting CXX compile features | |
| -- Detecting CXX compile features - done | |
| running /usr/bin/cmake -E copy_if_different /home/test/pipy/deps/yajl-2.1.0/src/api/yajl_parse.h /home/test/pipy/build/deps/yajl-2.1.0/src/../yajl-2.1.0/include/yajl 2>&1 | |
| running /usr/bin/cmake -E copy_if_different /home/test/pipy/deps/yajl-2.1.0/src/api/yajl_gen.h /home/test/pipy/build/deps/yajl-2.1.0/src/../yajl-2.1.0/include/yajl 2>&1 | |
| running /usr/bin/cmake -E copy_if_different /home/test/pipy/deps/yajl-2.1.0/src/api/yajl_common.h /home/test/pipy/build/deps/yajl-2.1.0/src/../yajl-2.1.0/include/yajl 2>&1 | |
| running /usr/bin/cmake -E copy_if_different /home/test/pipy/deps/yajl-2.1.0/src/api/yajl_tree.h /home/test/pipy/build/deps/yajl-2.1.0/src/../yajl-2.1.0/include/yajl 2>&1 | |
| CMake Warning (dev) at deps/yajl-2.1.0/reformatter/CMakeLists.txt:38 (GET_TARGET_PROPERTY): | |
| Policy CMP0026 is not set: Disallow use of the LOCATION target property. | |
| Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy | |
| command to set the policy and suppress this warning. | |
| The LOCATION property should not be read from target "json_reformat". Use | |
| the target name directly with add_custom_command, or use the generator | |
| expression $<TARGET_FILE>, as appropriate. | |
| This warning is for project developers. Use -Wno-dev to suppress it. | |
| CMake Warning (dev) at deps/yajl-2.1.0/verify/CMakeLists.txt:32 (GET_TARGET_PROPERTY): | |
| Policy CMP0026 is not set: Disallow use of the LOCATION target property. | |
| Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy | |
| command to set the policy and suppress this warning. | |
| The LOCATION property should not be read from target "json_verify". Use | |
| the target name directly with add_custom_command, or use the generator | |
| expression $<TARGET_FILE>, as appropriate. | |
| This warning is for project developers. Use -Wno-dev to suppress it. | |
| !! doxygen not found, not generating documentation | |
| -- Looking for dlfcn.h | |
| -- Looking for dlfcn.h - found | |
| -- Looking for fcntl.h | |
| -- Looking for fcntl.h - found | |
| -- Looking for inttypes.h | |
| -- Looking for inttypes.h - found | |
| -- Looking for memory.h | |
| -- Looking for memory.h - found | |
| -- Looking for stdint.h | |
| -- Looking for stdint.h - found | |
| -- Looking for stdlib.h | |
| -- Looking for stdlib.h - found | |
| -- Looking for strings.h | |
| -- Looking for strings.h - found | |
| -- Looking for string.h | |
| -- Looking for string.h - found | |
| -- Looking for sys/stat.h | |
| -- Looking for sys/stat.h - found | |
| -- Looking for sys/types.h | |
| -- Looking for sys/types.h - found | |
| -- Looking for unistd.h | |
| -- Looking for unistd.h - found | |
| -- Looking for getpagesize | |
| -- Looking for getpagesize - found | |
| -- Looking for bcopy | |
| -- Looking for bcopy - found | |
| -- Looking for memmove | |
| -- Looking for memmove - found | |
| -- Looking for mmap | |
| -- Looking for mmap - found | |
| -- Looking for getrandom | |
| -- Looking for getrandom - found | |
| -- Looking for arc4random_buf | |
| -- Looking for arc4random_buf - not found | |
| -- Looking for arc4random | |
| -- Looking for arc4random - not found | |
| -- Looking for 4 include files stdlib.h, ..., float.h | |
| -- Looking for 4 include files stdlib.h, ..., float.h - found | |
| -- Check if the system is big endian | |
| -- Searching 16 bit integer | |
| -- Looking for stddef.h | |
| -- Looking for stddef.h - found | |
| -- Check size of unsigned short | |
| -- Check size of unsigned short - done | |
| -- Using unsigned short | |
| -- Check if the system is big endian - little endian | |
| -- Looking for off_t | |
| -- Looking for off_t - not found | |
| -- Looking for size_t | |
| -- Looking for size_t - not found | |
| -- Performing Test HAVE_SYSCALL_GETRANDOM | |
| -- Performing Test HAVE_SYSCALL_GETRANDOM - Success | |
| -- Performing Test FLAG_NO_STRICT_ALIASING | |
| -- Performing Test FLAG_NO_STRICT_ALIASING - Success | |
| -- Looking for crc32c_value in crc32c | |
| -- Looking for crc32c_value in crc32c - not found | |
| -- Looking for snappy_compress in snappy | |
| -- Looking for snappy_compress in snappy - not found | |
| -- Looking for malloc in tcmalloc | |
| -- Looking for malloc in tcmalloc - not found | |
| -- Looking for fdatasync | |
| -- Looking for fdatasync - found | |
| -- Looking for F_FULLFSYNC | |
| -- Looking for F_FULLFSYNC - not found | |
| -- Looking for O_CLOEXEC | |
| -- Looking for O_CLOEXEC - found | |
| -- Performing Test HAVE_CLANG_THREAD_SAFETY | |
| -- Performing Test HAVE_CLANG_THREAD_SAFETY - Success | |
| -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS | |
| -- Performing Test LEVELDB_HAVE_NO_MISSING_FIELD_INITIALIZERS - Success | |
| -- Performing Test HAVE_CXX17_HAS_INCLUDE | |
| -- Performing Test HAVE_CXX17_HAS_INCLUDE - Success | |
| -- Looking for pthread.h | |
| -- Looking for pthread.h - found | |
| -- Looking for pthread_create | |
| -- Looking for pthread_create - not found | |
| -- Looking for pthread_create in pthreads | |
| -- Looking for pthread_create in pthreads - not found | |
| -- Looking for pthread_create in pthread | |
| -- Looking for pthread_create in pthread - found | |
| -- Found Threads: TRUE | |
| CMake Warning at cmake/link-time-optimization.cmake:45 (message): | |
| Link Time Optimization not supported: Change Dir: | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| Run Build Command:"/usr/bin/gmake" | |
| /usr/bin/cmake -H/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src | |
| -B/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| --check-build-system CMakeFiles/Makefile.cmake 0 | |
| /usr/bin/cmake -E cmake_progress_start | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/progress.marks | |
| /usr/bin/gmake -f CMakeFiles/Makefile2 all | |
| gmake[1]: | |
| 进入目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| /usr/bin/gmake -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/depend | |
| gmake[2]: | |
| 进入目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| cd /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin && /usr/bin/cmake | |
| -E cmake_depends "Unix Makefiles" | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/foo.dir/DependInfo.cmake | |
| Scanning dependencies of target foo | |
| gmake[2]: | |
| 离开目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| /usr/bin/gmake -f CMakeFiles/foo.dir/build.make CMakeFiles/foo.dir/build | |
| gmake[2]: | |
| 进入目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| [ 25%] Building CXX object CMakeFiles/foo.dir/foo.cpp.o | |
| /usr/bin/clang++ -flto=thin -o CMakeFiles/foo.dir/foo.cpp.o -c | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src/foo.cpp | |
| [ 50%] Linking CXX static library libfoo.a | |
| /usr/bin/cmake -P CMakeFiles/foo.dir/cmake_clean_target.cmake | |
| /usr/bin/cmake -E cmake_link_script CMakeFiles/foo.dir/link.txt --verbose=1 | |
| "/usr/bin/llvm-ar" cr libfoo.a CMakeFiles/foo.dir/foo.cpp.o | |
| "/usr/bin/llvm-ranlib" libfoo.a | |
| gmake[2]: | |
| 离开目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| [ 50%] Built target foo | |
| /usr/bin/gmake -f CMakeFiles/boo.dir/build.make CMakeFiles/boo.dir/depend | |
| gmake[2]: | |
| 进入目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| cd /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin && /usr/bin/cmake | |
| -E cmake_depends "Unix Makefiles" | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin/CMakeFiles/boo.dir/DependInfo.cmake | |
| Scanning dependencies of target boo | |
| gmake[2]: | |
| 离开目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| /usr/bin/gmake -f CMakeFiles/boo.dir/build.make CMakeFiles/boo.dir/build | |
| gmake[2]: | |
| 进入目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| [ 75%] Building CXX object CMakeFiles/boo.dir/main.cpp.o | |
| /usr/bin/clang++ -flto=thin -o CMakeFiles/boo.dir/main.cpp.o -c | |
| /home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/src/main.cpp | |
| [100%] Linking CXX executable boo | |
| /usr/bin/cmake -E cmake_link_script CMakeFiles/boo.dir/link.txt --verbose=1 | |
| /usr/bin/clang++ -flto=thin CMakeFiles/boo.dir/main.cpp.o -o boo libfoo.a | |
| /usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: | |
| /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file | |
| or directory | |
| clang-8: error: linker command failed with exit code 1 (use -v to see | |
| invocation) | |
| gmake[2]: *** [CMakeFiles/boo.dir/build.make:88:boo] 错误 1 | |
| gmake[2]: | |
| 离开目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| gmake[1]: *** [CMakeFiles/Makefile2:108:CMakeFiles/boo.dir/all] 错误 2 | |
| gmake[1]: | |
| 离开目录“/home/test/pipy/build/CMakeFiles/_CMakeLTOTest-CXX/bin” | |
| gmake: *** [Makefile:87:all] 错误 2 | |
| Call Stack (most recent call first): | |
| CMakeLists.txt:62 (link_time_optimization) | |
| -- Check size of off64_t | |
| -- Check size of off64_t - done | |
| -- Looking for fseeko | |
| -- Looking for fseeko - found | |
| -- Looking for unistd.h | |
| -- Looking for unistd.h - found | |
| -- Build type is 'Release' | |
| -- Performing Test BROTLI_EMSCRIPTEN | |
| -- Performing Test BROTLI_EMSCRIPTEN - Failed | |
| -- Compiler is not EMSCRIPTEN | |
| -- Looking for log2 | |
| -- Looking for log2 - not found | |
| -- Looking for log2 | |
| -- Looking for log2 - found | |
| CMake Error at CMakeLists.txt:271 (target_link_options): | |
| Unknown CMake command "target_link_options". | |
| -- Configuring incomplete, errors occurred! | |
| See also "/home/test/pipy/build/CMakeFiles/CMakeOutput.log". | |
| See also "/home/test/pipy/build/CMakeFiles/CMakeError.log". | |
| make: *** 没有指明目标并且找不到 makefile。 停止。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment