Advertisement
vaninpetr

CMakeError.log 010225-01

Jan 31st, 2025
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 6.69 KB | Software | 0 0
  1. Determining if the function dwarf_producer_init_c exists failed with the following output:
  2. Change Dir: /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-SPaOSW
  3.  
  4. Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_42dd9/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_42dd9.dir/build.make CMakeFiles/cmTC_42dd9.dir/build
  5. gmake[1]: Entering directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-SPaOSW'
  6. Building C object CMakeFiles/cmTC_42dd9.dir/CheckFunctionExists.c.o
  7. /usr/bin/cc  -I/usr/include/libdwarf -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -o CMakeFiles/cmTC_42dd9.dir/CheckFunctionExists.c.o -c /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-SPaOSW/CheckFunctionExists.c
  8. cc1: warning: command-line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
  9. Linking C executable cmTC_42dd9
  10. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_42dd9.dir/link.txt --verbose=1
  11. /usr/bin/cc  -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -rdynamic CMakeFiles/cmTC_42dd9.dir/CheckFunctionExists.c.o -o cmTC_42dd9  /usr/lib/x86_64-linux-gnu/libdwarf.so /usr/lib/x86_64-linux-gnu/libelf.so
  12. /usr/bin/ld: CMakeFiles/cmTC_42dd9.dir/CheckFunctionExists.c.o: in function `main':
  13. CheckFunctionExists.c:(.text.main+0x10): undefined reference to `dwarf_producer_init_c'
  14. collect2: error: ld returned 1 exit status
  15. gmake[1]: *** [CMakeFiles/cmTC_42dd9.dir/build.make:101: cmTC_42dd9] Error 1
  16. gmake[1]: Leaving directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-SPaOSW'
  17. gmake: *** [Makefile:127: cmTC_42dd9/fast] Error 2
  18.  
  19.  
  20.  
  21. Determining if the function dwarf_producer_init_c exists failed with the following output:
  22. Change Dir: /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-t2Mb8M
  23.  
  24. Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_cec6b/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_cec6b.dir/build.make CMakeFiles/cmTC_cec6b.dir/build
  25. gmake[1]: Entering directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-t2Mb8M'
  26. Building C object CMakeFiles/cmTC_cec6b.dir/CheckFunctionExists.c.o
  27. /usr/bin/cc  -I/usr/include/libdwarf -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -o CMakeFiles/cmTC_cec6b.dir/CheckFunctionExists.c.o -c /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-t2Mb8M/CheckFunctionExists.c
  28. cc1: warning: command-line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
  29. Linking C executable cmTC_cec6b
  30. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cec6b.dir/link.txt --verbose=1
  31. /usr/bin/cc  -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -rdynamic CMakeFiles/cmTC_cec6b.dir/CheckFunctionExists.c.o -o cmTC_cec6b  /usr/lib/x86_64-linux-gnu/libdwarf.so /usr/lib/x86_64-linux-gnu/libelf.so
  32. /usr/bin/ld: CMakeFiles/cmTC_cec6b.dir/CheckFunctionExists.c.o: in function `main':
  33. CheckFunctionExists.c:(.text.main+0x10): undefined reference to `dwarf_producer_init_c'
  34. collect2: error: ld returned 1 exit status
  35. gmake[1]: *** [CMakeFiles/cmTC_cec6b.dir/build.make:101: cmTC_cec6b] Error 1
  36. gmake[1]: Leaving directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-t2Mb8M'
  37. gmake: *** [Makefile:127: cmTC_cec6b/fast] Error 2
  38.  
  39.  
  40.  
  41. Determining if the function dwarf_producer_init_c exists failed with the following output:
  42. Change Dir: /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-NtDNpj
  43.  
  44. Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_65db3/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_65db3.dir/build.make CMakeFiles/cmTC_65db3.dir/build
  45. gmake[1]: Entering directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-NtDNpj'
  46. Building C object CMakeFiles/cmTC_65db3.dir/CheckFunctionExists.c.o
  47. /usr/bin/cc  -I/usr/include/libdwarf -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -o CMakeFiles/cmTC_65db3.dir/CheckFunctionExists.c.o -c /root/hhvm/CMakeFiles/CMakeScratch/TryCompile-NtDNpj/CheckFunctionExists.c
  48. cc1: warning: command-line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
  49. Linking C executable cmTC_65db3
  50. /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_65db3.dir/link.txt --verbose=1
  51. /usr/bin/cc  -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -W -Werror=implicit-function-declaration -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -Wno-old-style-declaration -ffunction-sections -fno-delete-null-pointer-checks -DFOLLY_HAVE_MALLOC_H -DCHECK_FUNCTION_EXISTS=dwarf_producer_init_c -std=c++0x -rdynamic CMakeFiles/cmTC_65db3.dir/CheckFunctionExists.c.o -o cmTC_65db3  /usr/lib/x86_64-linux-gnu/libdwarf.so /usr/lib/x86_64-linux-gnu/libelf.so
  52. /usr/bin/ld: CMakeFiles/cmTC_65db3.dir/CheckFunctionExists.c.o: in function `main':
  53. CheckFunctionExists.c:(.text.main+0x10): undefined reference to `dwarf_producer_init_c'
  54. collect2: error: ld returned 1 exit status
  55. gmake[1]: *** [CMakeFiles/cmTC_65db3.dir/build.make:101: cmTC_65db3] Error 1
  56. gmake[1]: Leaving directory '/root/hhvm/CMakeFiles/CMakeScratch/TryCompile-NtDNpj'
  57. gmake: *** [Makefile:127: cmTC_65db3/fast] Error 2
  58.  
Tags: hhvm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement