Ticket #50218: CMakeError.log

File CMakeError.log, 4.3 KB (added by oscar@…, 9 years ago)

Error log generated the same error as reported.

Line 
1Determining if the include file pthread.h exists failed with the following output:
2Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp
3
4Run Build Command:"/usr/bin/make" "cmTC_f66b0/fast"
5/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_f66b0.dir/build.make CMakeFiles/cmTC_f66b0.dir/build
6Building C object CMakeFiles/cmTC_f66b0.dir/CheckIncludeFile.c.o
7/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang    -pipe -Os   -arch x86_64 -mmacosx-version-min=10.11   -o CMakeFiles/cmTC_f66b0.dir/CheckIncludeFile.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp/CheckIncludeFile.c
8/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'pthread.h' file not found
9#include <pthread.h>
10         ^
111 error generated.
12make[1]: *** [CMakeFiles/cmTC_f66b0.dir/CheckIncludeFile.c.o] Error 1
13make: *** [cmTC_f66b0/fast] Error 2
14
15
16Determining if the function iconv_open exists failed with the following output:
17Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp
18
19Run Build Command:"/usr/bin/make" "cmTC_6fc9f/fast"
20/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_6fc9f.dir/build.make CMakeFiles/cmTC_6fc9f.dir/build
21Building C object CMakeFiles/cmTC_6fc9f.dir/CheckFunctionExists.c.o
22/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang   -I/opt/local/include  -pipe -Os  -DCHECK_FUNCTION_EXISTS=iconv_open -arch x86_64 -mmacosx-version-min=10.11   -o CMakeFiles/cmTC_6fc9f.dir/CheckFunctionExists.c.o   -c /opt/local/share/cmake-3.4/Modules/CheckFunctionExists.c
23Linking C executable cmTC_6fc9f
24/opt/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fc9f.dir/link.txt --verbose=1
25/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang  -pipe -Os  -DCHECK_FUNCTION_EXISTS=iconv_open -arch x86_64 -mmacosx-version-min=10.11 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -L/opt/local/lib -Wl,-headerpad_max_install_names  CMakeFiles/cmTC_6fc9f.dir/CheckFunctionExists.c.o  -o cmTC_6fc9f 
26Undefined symbols for architecture x86_64:
27  "_iconv_open", referenced from:
28      _main in CheckFunctionExists.c.o
29ld: symbol(s) not found for architecture x86_64
30clang: error: linker command failed with exit code 1 (use -v to see invocation)
31make[1]: *** [cmTC_6fc9f] Error 1
32make: *** [cmTC_6fc9f/fast] Error 2
33
34
35Performing C++ SOURCE FILE Test ICONV_COMPILES failed with the following output:
36Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp
37
38Run Build Command:"/usr/bin/make" "cmTC_db84d/fast"
39/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTC_db84d.dir/build.make CMakeFiles/cmTC_db84d.dir/build
40Building CXX object CMakeFiles/cmTC_db84d.dir/src.cxx.o
41/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++    -I/opt/local/include  -Wno-deprecated-register -mmacosx-version-min=10.5 -pipe -Os -stdlib=libc++  -DICONV_COMPILES -arch x86_64 -mmacosx-version-min=10.11   -o CMakeFiles/cmTC_db84d.dir/src.cxx.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp/src.cxx
42In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.10/CMakeFiles/CMakeTmp/src.cxx:1:
43/opt/local/include/iconv.h:54:10: fatal error: 'errno.h' file not found
44#include <errno.h>
45         ^
461 error generated.
47make[1]: *** [CMakeFiles/cmTC_db84d.dir/src.cxx.o] Error 1
48make: *** [cmTC_db84d/fast] Error 2
49
50Source file was:
51#include <iconv.h>
52     int main() {
53        iconv(iconv_t(-1), 0, 0, 0, 0);
54     }