usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce0df.dir/link.txt -verbose=1 usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ce0df.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.20/Modules/CheckFunctionExists.c Run Build Command(s):/usr/bin/make -f Makefile cmTC_ce0df/fast & /usr/bin/make -f CMakeFiles/cmTC_ce0df.dir/build.make CMakeFiles/cmTC_ce0df.dir/buildīuilding C object CMakeFiles/cmTC_ce0df.dir/CheckFunctionExists.c.o Facilitate packaging Touchégg in non systemd Linux distributions by adding a CMake flag to avoid installing systemd related files. Fix 481: Add a CMake flag to ignore systemd files. Pthread_create(&thread, NULL, test_func, NULL) ĭetermining if the function pthread_create exists in the pthreads failed with the following output: JoseExposito added a commit that referenced this issue on Apr 15. Make: Leaving directory '/home/jzbor/.cache/yay/touchegg/src/build/CMakeFiles/CMakeTmp' usr/bin/ld: src.c:(.text.startup+0x44): undefined reference to `pthread_join'Ĭollect2: error: ld returned 1 exit status usr/bin/ld: src.c:(.text.startup+0x38): undefined reference to `pthread_cancel' usr/bin/ld: src.c:(.text.startup+0x2e): undefined reference to `pthread_detach' Src.c:(.text.startup+0x24): undefined reference to `pthread_create' Start cmake in GUI mode with the directory where the source files of gl2ps are. Here are the simple steps to download, configure, compile, and install CMake on a Linux machine. Details: Install CMake on Debian using the Snap Store Snapcraft Get the. CMake is a family of tools designed to build, test and package software. usr/bin/ld: CMakeFiles/cmTC_caf5a.dir/src.c.o: in function `main': CMake is a cross-platform, open-source build system.
usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wl,-O1,-sort-common,-as-needed,-z,relro,-z,now -rdynamic CMakeFiles/cmTC_caf5a.dir/src.c.o -o cmTC_caf5a usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_caf5a.dir/link.txt -verbose=1 usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -o CMakeFiles/cmTC_caf5a.dir/src.c.o -c /home/jzbor/.cache/yay/touchegg/src/build/CMakeFiles/CMakeTmp/src.c Make: Entering directory '/home/jzbor/.cache/yay/touchegg/src/build/CMakeFiles/CMakeTmp'īuilding C object CMakeFiles/cmTC_caf5a.dir/src.c.o Run Build Command(s):/usr/bin/make -f Makefile cmTC_caf5a/fast & /usr/bin/make -f CMakeFiles/cmTC_caf5a.dir/build.make CMakeFiles/cmTC_caf5a.dir/build Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:Ĭhange Dir: /home/jzbor/.cache/yay/touchegg/src/build/CMakeFiles/CMakeTmp