Guest User

Untitled

a guest
May 15th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.42 KB | None | 0 0
  1. build % ../cmake-cmg
  2. -- The C compiler identification is unknown
  3. -- The CXX compiler identification is AppleClang 11.0.3.11030032
  4. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  5. -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -- broken
  6. CMake Error at /Users/ctest/gnucash-unstable/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
  7. The C compiler
  8.  
  9. "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
  10.  
  11. is not able to compile a simple test program.
  12.  
  13. It fails with the following output:
  14.  
  15. Change Dir: /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp
  16.  
  17. Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_814bd -configuration Debug -hideShellScriptEnvironment
  18. Command line invocation:
  19. /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_814bd -configuration Debug -hideShellScriptEnvironment
  20.  
  21. User defaults from command line:
  22. HideShellScriptEnvironment = YES
  23.  
  24. Prepare build
  25. note: Using legacy build system
  26. === BUILD TARGET cmTC_814bd OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===
  27.  
  28. Check dependencies
  29.  
  30. Write auxiliary files
  31. /bin/mkdir -p /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64
  32. write-file /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/cmTC_814bd.LinkFileList
  33.  
  34. CompileC /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/testCCompiler.o testCCompiler.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
  35. cd /Users/ctest/Source/gnucash/build/CMakeFiles/CMakeTmp
  36. /Applications/Xcode.app/Contents/Developer/usr/bin/gcc -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/include -I/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/DerivedSources-normal/x86_64 -I/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/DerivedSources/x86_64 -I/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug -arch x86_64 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.15 -MMD -MT dependencies -MF /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/testCCompiler.d --serialize-diagnostics /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/testCCompiler.dia -c /Users/ctest/Source/gnucash/build/CMakeFiles/CMakeTmp/testCCompiler.c -o /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/testCCompiler.o
  37.  
  38. Ld /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/cmTC_814bd normal x86_64
  39. cd /Users/ctest/Source/gnucash/build/CMakeFiles/CMakeTmp
  40. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug -F/Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug -filelist /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/cmTC_814bd.LinkFileList -Xlinker -no_deduplicate -L/Users/ctest/gnucash-unstable/lib -L/Users/ctest/gnucash-unstable/lib -arch x86_64 -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.15 -Wl,-headerpad_max_install_names -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/cmTC_814bd_dependency_info.dat -o /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/cmTC_814bd
  41. ld: unknown option: -target
  42. Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld failed with exit code 1
  43.  
  44. ** BUILD FAILED **
  45.  
  46.  
  47. The following build commands failed:
  48. Ld /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/cmTC_814bd normal x86_64
  49. (1 failure)
  50.  
  51.  
  52.  
  53.  
  54. CMake will not be able to correctly generate this project.
  55. Call Stack (most recent call first):
  56. CMakeLists.txt:8 (project)
  57.  
  58.  
  59. -- Configuring incomplete, errors occurred!
  60. See also "/Users/ctest/source/gnucash/build/CMakeFiles/CMakeOutput.log".
  61. See also "/Users/ctest/source/gnucash/build/CMakeFiles/CMakeError.log".
  62. build %
Add Comment
Please, Sign In to add comment