levani4321
-
Posts
8 -
Joined
-
Last visited
Posts posted by levani4321
-
-
can you add me on discord ? its a custom veriosn trinitycore and its a problem for install ?
-
plz someone help me
-
my openssl version is a 1.1.0F possible its a problem ?
-
Hello, I get this error on debian and I can't set it up, but it works properly on windows. Any suggestions ?
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/test/testwow335/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e7e5b/fast"
/usr/bin/make -f CMakeFiles/cmTC_e7e5b.dir/build.make CMakeFiles/cmTC_e7e5b.dir/build
make[1]: Entering directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o -c /home/test/testwow335/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_e7e5b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7e5b.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o -o cmTC_e7e5b -rdynamic
CMakeFiles/cmTC_e7e5b.dir/CheckSymbolExists.c.o: In function `main':
/home/test/testwow335/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c.text+0x19): undefined reference to `pthread_create'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_e7e5b.dir/build.make:97: recipe for target 'cmTC_e7e5b' failed
make[1]: *** [cmTC_e7e5b] Error 1
make[1]: Leaving directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_e7e5b/fast' failed
make: *** [cmTC_e7e5b/fast] Error 2
File /home/test/testwow335/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: /home/test/testwow335/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_4eede/fast"
/usr/bin/make -f CMakeFiles/cmTC_4eede.dir/build.make CMakeFiles/cmTC_4eede.dir/build
make[1]: Entering directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/CheckFunctionExists.c
Linking C executable cmTC_4eede
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4eede.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_4eede.dir/CheckFunctionExists.c.o -o cmTC_4eede -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_4eede.dir/build.make:97: recipe for target 'cmTC_4eede' failed
make[1]: *** [cmTC_4eede] Error 1
make[1]: Leaving directory '/home/test/testwow335/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_4eede/fast' failed
make: *** [cmTC_4eede/fast] Error 2
Compile or cmake problems
in Help and Support
Posted
yes that work but i need to make my custom version can you help me to fix that ?