- Determining if the pthread_create exist failed with the following output:
- Change Dir: /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/gmake" "cmTC_876e1/fast"
- /usr/bin/gmake -f CMakeFiles/cmTC_876e1.dir/build.make CMakeFiles/cmTC_876e1.dir/build
- gmake[1]: Entering directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- Building C object CMakeFiles/cmTC_876e1.dir/CheckSymbolExists.c.o
- /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -march=native -pipe -o CMakeFiles/cmTC_876e1.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
- Linking C executable cmTC_876e1
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_876e1.dir/link.txt --verbose=1
- /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_876e1.dir/CheckSymbolExists.c.o -o cmTC_876e1 -rdynamic
- CMakeFiles/cmTC_876e1.dir/CheckSymbolExists.c.o: In function `main':
- CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create'
- collect2: error: ld returned 1 exit status
- gmake[1]: *** [CMakeFiles/cmTC_876e1.dir/build.make:98: cmTC_876e1] Error 1
- gmake[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- gmake: *** [Makefile:126: cmTC_876e1/fast] Error 2
- File /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <pthread.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef pthread_create
- return ((int*)(&pthread_create))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the function pthread_create exists in the pthreads failed with the following output:
- Change Dir: /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/gmake" "cmTC_12c0a/fast"
- /usr/bin/gmake -f CMakeFiles/cmTC_12c0a.dir/build.make CMakeFiles/cmTC_12c0a.dir/build
- gmake[1]: Entering directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- Building C object CMakeFiles/cmTC_12c0a.dir/CheckFunctionExists.c.o
- /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -march=native -pipe -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_12c0a.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
- Linking C executable cmTC_12c0a
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_12c0a.dir/link.txt --verbose=1
- /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_12c0a.dir/CheckFunctionExists.c.o -o cmTC_12c0a -rdynamic -lpthreads
- /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads
- collect2: error: ld returned 1 exit status
- gmake[1]: *** [CMakeFiles/cmTC_12c0a.dir/build.make:98: cmTC_12c0a] Error 1
- gmake[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- gmake: *** [Makefile:126: cmTC_12c0a/fast] Error 2
- Determining if the pipe2 exist failed with the following output:
- Change Dir: /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/gmake" "cmTC_cb6d0/fast"
- /usr/bin/gmake -f CMakeFiles/cmTC_cb6d0.dir/build.make CMakeFiles/cmTC_cb6d0.dir/build
- gmake[1]: Entering directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- Building C object CMakeFiles/cmTC_cb6d0.dir/CheckSymbolExists.c.o
- /usr/bin/x86_64-pc-linux-gnu-gcc -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -DNDEBUG -std=c99 -O2 -march=native -pipe -o CMakeFiles/cmTC_cb6d0.dir/CheckSymbolExists.c.o -c /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
- /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main':
- /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'pipe2' undeclared (first use in this function)
- return ((int*)(&pipe2))[argc];
- ^
- /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
- gmake[1]: *** [CMakeFiles/cmTC_cb6d0.dir/build.make:66: CMakeFiles/cmTC_cb6d0.dir/CheckSymbolExists.c.o] Error 1
- gmake[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- gmake: *** [Makefile:126: cmTC_cb6d0/fast] Error 2
- File /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
- /* */
- #include <unistd.h>
- int main(int argc, char** argv)
- {
- (void)argv;
- #ifndef pipe2
- return ((int*)(&pipe2))[argc];
- #else
- (void)argc;
- return 0;
- #endif
- }
- Determining if the function iw_sockets_open exists failed with the following output:
- Change Dir: /var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/gmake" "cmTC_de50d/fast"
- /usr/bin/gmake -f CMakeFiles/cmTC_de50d.dir/build.make CMakeFiles/cmTC_de50d.dir/build
- gmake[1]: Entering directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- Building C object CMakeFiles/cmTC_de50d.dir/CheckFunctionExists.c.o
- /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -DNDEBUG -std=c99 -O2 -march=native -pipe -DCHECK_FUNCTION_EXISTS=iw_sockets_open -o CMakeFiles/cmTC_de50d.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
- Linking C executable cmTC_de50d
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de50d.dir/link.txt --verbose=1
- /usr/bin/x86_64-pc-linux-gnu-gcc -std=c99 -O2 -march=native -pipe -DCHECK_FUNCTION_EXISTS=iw_sockets_open -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_de50d.dir/CheckFunctionExists.c.o -o cmTC_de50d -rdynamic
- CMakeFiles/cmTC_de50d.dir/CheckFunctionExists.c.o: In function `main':
- CheckFunctionExists.c:(.text.startup+0xe): undefined reference to `iw_sockets_open'
- collect2: error: ld returned 1 exit status
- gmake[1]: *** [CMakeFiles/cmTC_de50d.dir/build.make:98: cmTC_de50d] Error 1
- gmake[1]: Leaving directory '/var/tmp/portage/app-admin/conky-1.10.4/work/conky-1.10.4_build/CMakeFiles/CMakeTmp'
- gmake: *** [Makefile:126: cmTC_de50d/fast] Error 2