Skip to content

Instantly share code, notes, and snippets.

@dansbecker
Created October 16, 2016 21:29
Show Gist options
  • Save dansbecker/280f18e1efcaee1d281dce2fa8e9bf2f to your computer and use it in GitHub Desktop.
Save dansbecker/280f18e1efcaee1d281dce2fa8e9bf2f to your computer and use it in GitHub Desktop.
CMakeError.log
Determining if the function dgettext exists failed with the following output:
Change Dir: /home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make.exe" "cmTC_872e9/fast"
/usr/bin/make -f CMakeFiles/cmTC_872e9.dir/build.make CMakeFiles/cmTC_872e9.dir/build
make[1]: Entering directory '/home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_872e9.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=dgettext -o CMakeFiles/cmTC_872e9.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.6.2/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function ‘dgettext’
/usr/share/cmake-3.6.2/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro ‘CHECK_FUNCTION_EXISTS’
CHECK_FUNCTION_EXISTS();
^
Linking C executable cmTC_872e9.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_872e9.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=dgettext -Wl,--enable-auto-import CMakeFiles/cmTC_872e9.dir/CheckFunctionExists.c.o -o cmTC_872e9.exe -Wl,--out-implib,libcmTC_872e9.dll.a -Wl,--major-image-version,0,--minor-image-version,0
CMakeFiles/cmTC_872e9.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:(.text+0x15): undefined reference to `dgettext'
CMakeFiles/cmTC_872e9.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:(.text+0x15): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dgettext'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_872e9.dir/build.make:98: cmTC_872e9.exe] Error 1
make[1]: Leaving directory '/home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_872e9/fast] Error 2
Determining if the function curl_easy_setopt exists failed with the following output:
Change Dir: /home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make.exe" "cmTC_8097c/fast"
/usr/bin/make -f CMakeFiles/cmTC_8097c.dir/build.make CMakeFiles/cmTC_8097c.dir/build
make[1]: Entering directory '/home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8097c.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=curl_easy_setopt -o CMakeFiles/cmTC_8097c.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.6.2/Modules/CheckFunctionExists.c
Linking C executable cmTC_8097c.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_8097c.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=curl_easy_setopt -Wl,--enable-auto-import CMakeFiles/cmTC_8097c.dir/CheckFunctionExists.c.o -o cmTC_8097c.exe -Wl,--out-implib,libcmTC_8097c.dll.a -Wl,--major-image-version,0,--minor-image-version,0
CMakeFiles/cmTC_8097c.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:(.text+0x15): undefined reference to `curl_easy_setopt'
CMakeFiles/cmTC_8097c.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:(.text+0x15): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `curl_easy_setopt'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_8097c.dir/build.make:98: cmTC_8097c.exe] Error 1
make[1]: Leaving directory '/home/powersju/Madeline_2.0_PDE/CMakeFiles/CMakeTmp'
make: *** [Makefile:126: cmTC_8097c/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment