Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Determining if the pthread_create exist failed with the following output:
- Change Dir: /tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTC_e893a/fast"
- /usr/bin/make -f CMakeFiles/cmTC_e893a.dir/build.make CMakeFiles/cmTC_e893a.dir/build
- make[1]: Verzeichnis „/tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp“ wird betreten
- Building C object CMakeFiles/cmTC_e893a.dir/CheckSymbolExists.c.o
- /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o CMakeFiles/cmTC_e893a.dir/CheckSymbolExists.c.o -c /tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
- Linking C executable cmTC_e893a
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e893a.dir/link.txt --verbose=1
- /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_e893a.dir/CheckSymbolExists.c.o -o cmTC_e893a -rdynamic
- CMakeFiles/cmTC_e893a.dir/CheckSymbolExists.c.o: In function `main':
- CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create'
- collect2: Fehler: ld gab 1 als Ende-Status zurück
- make[1]: *** [CMakeFiles/cmTC_e893a.dir/build.make:98: cmTC_e893a] Fehler 1
- make[1]: Verzeichnis „/tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp“ wird verlassen
- make: *** [Makefile:126: cmTC_e893a/fast] Fehler 2
- File /tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/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: /tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp
- Run Build Command:"/usr/bin/make" "cmTC_992f7/fast"
- /usr/bin/make -f CMakeFiles/cmTC_992f7.dir/build.make CMakeFiles/cmTC_992f7.dir/build
- make[1]: Verzeichnis „/tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp“ wird betreten
- Building C object CMakeFiles/cmTC_992f7.dir/CheckFunctionExists.c.o
- /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_992f7.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.6/Modules/CheckFunctionExists.c
- Linking C executable cmTC_992f7
- /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_992f7.dir/link.txt --verbose=1
- /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_992f7.dir/CheckFunctionExists.c.o -o cmTC_992f7 -rdynamic -lpthreads
- /usr/bin/ld: cannot find -lpthreads
- collect2: Fehler: ld gab 1 als Ende-Status zurück
- make[1]: *** [CMakeFiles/cmTC_992f7.dir/build.make:98: cmTC_992f7] Fehler 1
- make[1]: Verzeichnis „/tmp/yaourt-tmp-jan/aur-solarus/src/solarus-1.5.0/CMakeFiles/CMakeTmp“ wird verlassen
- make: *** [Makefile:126: cmTC_992f7/fast] Fehler 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement