Skip to content

Instantly share code, notes, and snippets.

@floringogianu
Created May 1, 2018 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save floringogianu/b3047352280a378a878cea21ddfdcb4b to your computer and use it in GitHub Desktop.
Save floringogianu/b3047352280a378a878cea21ddfdcb4b to your computer and use it in GitHub Desktop.
Error log for ViZDoom
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3eed9/fast"
/usr/bin/make -f CMakeFiles/cmTC_3eed9.dir/build.make CMakeFiles/cmTC_3eed9.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3eed9.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_3eed9.dir/CheckSymbolExists.c.o -c /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_3eed9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3eed9.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_3eed9.dir/CheckSymbolExists.c.o -o cmTC_3eed9 -rdynamic
CMakeFiles/cmTC_3eed9.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_3eed9.dir/build.make:97: recipe for target 'cmTC_3eed9' failed
make[1]: *** [cmTC_3eed9] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_3eed9/fast' failed
make: *** [cmTC_3eed9/fast] Error 2
File /home/fgogianu/tools/pip_packages/ViZDoom/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: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8abc4/fast"
/usr/bin/make -f CMakeFiles/cmTC_8abc4.dir/build.make CMakeFiles/cmTC_8abc4.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_8abc4.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_8abc4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_8abc4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8abc4.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_8abc4.dir/CheckFunctionExists.c.o -o cmTC_8abc4 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8abc4.dir/build.make:97: recipe for target 'cmTC_8abc4' failed
make[1]: *** [cmTC_8abc4] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_8abc4/fast' failed
make: *** [cmTC_8abc4/fast] Error 2
Determining if the function itoa exists failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_1b29b/fast"
/usr/bin/make -f CMakeFiles/cmTC_1b29b.dir/build.make CMakeFiles/cmTC_1b29b.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1b29b.dir/CheckFunctionExists.c.o
/usr/bin/cc -Wall -Wno-pointer-sign -Wno-uninitialized -Wno-unused-but-set-variable -DCHECK_FUNCTION_EXISTS=itoa -o CMakeFiles/cmTC_1b29b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_1b29b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1b29b.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wno-pointer-sign -Wno-uninitialized -Wno-unused-but-set-variable -DCHECK_FUNCTION_EXISTS=itoa CMakeFiles/cmTC_1b29b.dir/CheckFunctionExists.c.o -o cmTC_1b29b -rdynamic
CMakeFiles/cmTC_1b29b.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `itoa'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_1b29b.dir/build.make:97: recipe for target 'cmTC_1b29b' failed
make[1]: *** [cmTC_1b29b] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_1b29b/fast' failed
make: *** [cmTC_1b29b/fast] Error 2
Determining if the function filelength exists failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cc216/fast"
/usr/bin/make -f CMakeFiles/cmTC_cc216.dir/build.make CMakeFiles/cmTC_cc216.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_cc216.dir/CheckFunctionExists.c.o
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=filelength -o CMakeFiles/cmTC_cc216.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_cc216
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cc216.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=filelength CMakeFiles/cmTC_cc216.dir/CheckFunctionExists.c.o -o cmTC_cc216 -rdynamic
CMakeFiles/cmTC_cc216.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `filelength'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_cc216.dir/build.make:97: recipe for target 'cmTC_cc216' failed
make[1]: *** [cmTC_cc216] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_cc216/fast' failed
make: *** [cmTC_cc216/fast] Error 2
Determining if the function strupr exists failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b1d65/fast"
/usr/bin/make -f CMakeFiles/cmTC_b1d65.dir/build.make CMakeFiles/cmTC_b1d65.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b1d65.dir/CheckFunctionExists.c.o
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=strupr -o CMakeFiles/cmTC_b1d65.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_b1d65
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1d65.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=strupr CMakeFiles/cmTC_b1d65.dir/CheckFunctionExists.c.o -o cmTC_b1d65 -rdynamic
CMakeFiles/cmTC_b1d65.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `strupr'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_b1d65.dir/build.make:97: recipe for target 'cmTC_b1d65' failed
make[1]: *** [cmTC_b1d65] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_b1d65/fast' failed
make: *** [cmTC_b1d65/fast] Error 2
Determining if the function stricmp exists failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_bd56e/fast"
/usr/bin/make -f CMakeFiles/cmTC_bd56e.dir/build.make CMakeFiles/cmTC_bd56e.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_bd56e.dir/CheckFunctionExists.c.o
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=stricmp -o CMakeFiles/cmTC_bd56e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_bd56e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd56e.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=stricmp CMakeFiles/cmTC_bd56e.dir/CheckFunctionExists.c.o -o cmTC_bd56e -rdynamic
CMakeFiles/cmTC_bd56e.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `stricmp'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_bd56e.dir/build.make:97: recipe for target 'cmTC_bd56e' failed
make[1]: *** [cmTC_bd56e] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_bd56e/fast' failed
make: *** [cmTC_bd56e/fast] Error 2
Determining if the function strnicmp exists failed with the following output:
Change Dir: /home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4eb46/fast"
/usr/bin/make -f CMakeFiles/cmTC_4eb46.dir/build.make CMakeFiles/cmTC_4eb46.dir/build
make[1]: Entering directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4eb46.dir/CheckFunctionExists.c.o
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=strnicmp -o CMakeFiles/cmTC_4eb46.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_4eb46
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4eb46.dir/link.txt --verbose=1
/usr/bin/cc -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -DCHECK_FUNCTION_EXISTS=strnicmp CMakeFiles/cmTC_4eb46.dir/CheckFunctionExists.c.o -o cmTC_4eb46 -rdynamic
CMakeFiles/cmTC_4eb46.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `strnicmp'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_4eb46.dir/build.make:97: recipe for target 'cmTC_4eb46' failed
make[1]: *** [cmTC_4eb46] Error 1
make[1]: Leaving directory '/home/fgogianu/tools/pip_packages/ViZDoom/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4eb46/fast' failed
make: *** [cmTC_4eb46/fast] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment