Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- build % ../cmake-cmg
- -- The C compiler identification is unknown
- -- The CXX compiler identification is AppleClang 11.0.3.11030032
- -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
- -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -- broken
- CMake Error at /Users/ctest/gnucash-unstable/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
- The C compiler
- "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld"
- is not able to compile a simple test program.
- It fails with the following output:
- Change Dir: /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp
- Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_814bd -configuration Debug -hideShellScriptEnvironment
- Command line invocation:
- /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_814bd -configuration Debug -hideShellScriptEnvironment
- User defaults from command line:
- HideShellScriptEnvironment = YES
- Prepare build
- note: Using legacy build system
- === BUILD TARGET cmTC_814bd OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===
- Check dependencies
- Write auxiliary files
- /bin/mkdir -p /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64
- write-file /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_814bd.build/Objects-normal/x86_64/cmTC_814bd.LinkFileList
- 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
- cd /Users/ctest/Source/gnucash/build/CMakeFiles/CMakeTmp
- /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
- Ld /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/cmTC_814bd normal x86_64
- cd /Users/ctest/Source/gnucash/build/CMakeFiles/CMakeTmp
- /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
- ld: unknown option: -target
- Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld failed with exit code 1
- ** BUILD FAILED **
- The following build commands failed:
- Ld /Users/ctest/source/gnucash/build/CMakeFiles/CMakeTmp/Debug/cmTC_814bd normal x86_64
- (1 failure)
- CMake will not be able to correctly generate this project.
- Call Stack (most recent call first):
- CMakeLists.txt:8 (project)
- -- Configuring incomplete, errors occurred!
- See also "/Users/ctest/source/gnucash/build/CMakeFiles/CMakeOutput.log".
- See also "/Users/ctest/source/gnucash/build/CMakeFiles/CMakeError.log".
- build %
Add Comment
Please, Sign In to add comment