Eu tenho uma máquina Ubuntu para executar cura-build a partir do seguinte documento.
Consulte: link
Minha versão gcc 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1 ~ 16.04.5)
enquanto executa este comando
Estou recebendo este erro
~/ cura-build/build$ cmake ..
cmake: /usr/lib64/tableausdk/libcurl.so.4: no version information available (required by cmake)
CMake Error at CMakeLists.txt:24 (get_filename_component):
get_filename_component unknown component CACHE
-- Configuring incomplete, errors occurred!
See also "/cura-build/CMakeFiles/CMakeOutput.log".
See also "/cura-build/CMakeFiles/CMakeError.log".
No CMakeError.log,
CMakeFiles/cmTC_2f3cc.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_2f3cc.dir/build.make:97: recipe for target 'cmTC_2f3cc' failed
make[1]: *** [cmTC_2f3cc] Error 1
make[1]: Leaving directory '/cura-build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_2f3cc/fast' failed
make: *** [cmTC_2f3cc/fast] Error 2
File /cura-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
}
E também tentou compilar o gcc
$ gcc -pthread
gcc: fatal error: no input files
compilation terminated.