Hi Erich, sure! I attached the CMakeError.log File. Unfortunately, not every "not found" is an error. If you need something else Im ready to deliver!
Best regards Thomas ________________________________ From: Erich Steinb?ck <erich.steinbo...@gmail.com> Sent: Friday, December 8, 2023 6:14 PM To: Open Object Rexx Developer Mailing List <oorexx-devel@lists.sourceforge.net> Subject: Re: [Oorexx-devel] Update on ooRexx -> Android Hi Thomas, it seems that Android has no pthreads lib (it is built-in into libc instead). I will make appropriate changes to our CMake. Can you attach CMakeFiles/CMakeError.log so that we can see why pthread_attr_get_np isn't found (and also none ogf the others). Thanks!
Determining if the function nsleep exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_538d6/fast && /usr/bin/gmake -f CMakeFiles/cmTC_538d6.dir/build.make CMakeFiles/cmTC_538d6.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=nsleep -fPIE -MD -MT CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_538d6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_538d6.dir/link.txt --verbose=1 /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=nsleep -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o -o cmTC_538d6 -latomic -lm ld.lld: error: undefined symbol: nsleep >>> referenced by CheckFunctionExists.c:17 (/usr/share/cmake-3.22/Modules/CheckFunctionExists.c:17) >>> CMakeFiles/cmTC_538d6.dir/CheckFunctionExists.c.o:(main) >>> did you mean: usleep >>> defined in: /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/34/libc.so clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_538d6.dir/build.make:100: cmTC_538d6] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_538d6/fast] Error 2 Determining if the function crypt exists in the crypt failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_576a6/fast && /usr/bin/gmake -f CMakeFiles/cmTC_576a6.dir/build.make CMakeFiles/cmTC_576a6.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_576a6.dir/CheckFunctionExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=crypt -fPIE -MD -MT CMakeFiles/cmTC_576a6.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_576a6.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_576a6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_576a6 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_576a6.dir/link.txt --verbose=1 /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=crypt -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments CMakeFiles/cmTC_576a6.dir/CheckFunctionExists.c.o -o cmTC_576a6 -lcrypt -latomic -lm ld.lld: error: unable to find library -lcrypt clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_576a6.dir/build.make:100: cmTC_576a6] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_576a6/fast] Error 2 Determining if the function crypt exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_09c2b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_09c2b.dir/build.make CMakeFiles/cmTC_09c2b.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=crypt -fPIE -MD -MT CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_09c2b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_09c2b.dir/link.txt --verbose=1 /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=crypt -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o -o cmTC_09c2b -latomic -lm ld.lld: error: undefined symbol: crypt >>> referenced by CheckFunctionExists.c:17 (/usr/share/cmake-3.22/Modules/CheckFunctionExists.c:17) >>> CMakeFiles/cmTC_09c2b.dir/CheckFunctionExists.c.o:(main) clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_09c2b.dir/build.make:100: cmTC_09c2b] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_09c2b/fast] Error 2 Determining if the wordexp exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_80c21/fast && /usr/bin/gmake -f CMakeFiles/cmTC_80c21.dir/build.make CMakeFiles/cmTC_80c21.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_80c21.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_80c21.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_80c21.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_80c21.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'wordexp.h' file not found #include <wordexp.h> ^~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_80c21.dir/build.make:79: CMakeFiles/cmTC_80c21.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_80c21/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <wordexp.h> #include <stdlib.h> int main(int argc, char** argv) { (void)argv; #ifndef wordexp return ((int*)(&wordexp))[argc]; #else (void)argc; return 0; #endif } Determining if the include file wordexp.h exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_fcafa/fast && /usr/bin/gmake -f CMakeFiles/cmTC_fcafa.dir/build.make CMakeFiles/cmTC_fcafa.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_fcafa.dir/CheckIncludeFile.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIE -MD -MT CMakeFiles/cmTC_fcafa.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_fcafa.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_fcafa.dir/CheckIncludeFile.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'wordexp.h' file not found #include <wordexp.h> ^~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_fcafa.dir/build.make:79: CMakeFiles/cmTC_fcafa.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_fcafa/fast] Error 2 Determining if the include file filehdr.h exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_a0074/fast && /usr/bin/gmake -f CMakeFiles/cmTC_a0074.dir/build.make CMakeFiles/cmTC_a0074.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a0074.dir/CheckIncludeFile.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIE -MD -MT CMakeFiles/cmTC_a0074.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_a0074.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_a0074.dir/CheckIncludeFile.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'filehdr.h' file not found #include <filehdr.h> ^~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_a0074.dir/build.make:79: CMakeFiles/cmTC_a0074.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_a0074/fast] Error 2 Determining if the function euidaccess exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_13bf9/fast && /usr/bin/gmake -f CMakeFiles/cmTC_13bf9.dir/build.make CMakeFiles/cmTC_13bf9.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=euidaccess -fPIE -MD -MT CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_13bf9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_13bf9.dir/link.txt --verbose=1 /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=euidaccess -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o -o cmTC_13bf9 -latomic -lm ld.lld: error: undefined symbol: euidaccess >>> referenced by CheckFunctionExists.c:17 (/usr/share/cmake-3.22/Modules/CheckFunctionExists.c:17) >>> CMakeFiles/cmTC_13bf9.dir/CheckFunctionExists.c.o:(main) clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_13bf9.dir/build.make:100: cmTC_13bf9] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_13bf9/fast] Error 2 Determining if the function pthread_mutex_timedlock exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_2dd7e/fast && /usr/bin/gmake -f CMakeFiles/cmTC_2dd7e.dir/build.make CMakeFiles/cmTC_2dd7e.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2dd7e.dir/CheckFunctionExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=pthread_mutex_timedlock -fPIE -MD -MT CMakeFiles/cmTC_2dd7e.dir/CheckFunctionExists.c.o -MF CMakeFiles/cmTC_2dd7e.dir/CheckFunctionExists.c.o.d -o CMakeFiles/cmTC_2dd7e.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.22/Modules/CheckFunctionExists.c Linking C executable cmTC_2dd7e /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2dd7e.dir/link.txt --verbose=1 /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -DCHECK_FUNCTION_EXISTS=pthread_mutex_timedlock -static-libstdc++ -Wl,--build-id=sha1 -Wl,--no-undefined-version -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments CMakeFiles/cmTC_2dd7e.dir/CheckFunctionExists.c.o -o cmTC_2dd7e -lpthread -latomic -lm ld.lld: error: unable to find library -lpthread clang: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [CMakeFiles/cmTC_2dd7e.dir/build.make:100: cmTC_2dd7e] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_2dd7e/fast] Error 2 Determining if the _PC_CASE_SENSITIVE exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6e06f/fast && /usr/bin/gmake -f CMakeFiles/cmTC_6e06f.dir/build.make CMakeFiles/cmTC_6e06f.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6e06f.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_6e06f.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_6e06f.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_6e06f.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier '_PC_CASE_SENSITIVE' return ((int*)(&_PC_CASE_SENSITIVE))[argc]; ^ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_6e06f.dir/build.make:79: CMakeFiles/cmTC_6e06f.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_6e06f/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <unistd.h> int main(int argc, char** argv) { (void)argv; #ifndef _PC_CASE_SENSITIVE return ((int*)(&_PC_CASE_SENSITIVE))[argc]; #else (void)argc; return 0; #endif } Determining if the _NSGetExecutablePath exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_b87b7/fast && /usr/bin/gmake -f CMakeFiles/cmTC_b87b7.dir/build.make CMakeFiles/cmTC_b87b7.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_b87b7.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_b87b7.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_b87b7.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_b87b7.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:2:10: fatal error: 'mach-o/dyld.h' file not found #include <mach-o/dyld.h> ^~~~~~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_b87b7.dir/build.make:79: CMakeFiles/cmTC_b87b7.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_b87b7/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <mach-o/dyld.h> int main(int argc, char** argv) { (void)argv; #ifndef _NSGetExecutablePath return ((int*)(&_NSGetExecutablePath))[argc]; #else (void)argc; return 0; #endif } Determining if the getexecname exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_28345/fast && /usr/bin/gmake -f CMakeFiles/cmTC_28345.dir/build.make CMakeFiles/cmTC_28345.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_28345.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_28345.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_28345.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_28345.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: use of undeclared identifier 'getexecname'; did you mean 'getprogname'? return ((int*)(&getexecname))[argc]; ^~~~~~~~~~~ getprogname /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdlib.h:214:23: note: 'getprogname' declared here const char* _Nullable getprogname(void) __INTRODUCED_IN(21); ^ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_28345.dir/build.make:79: CMakeFiles/cmTC_28345.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_28345/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <stdlib.h> int main(int argc, char** argv) { (void)argv; #ifndef getexecname return ((int*)(&getexecname))[argc]; #else (void)argc; return 0; #endif } Determining if the KERN_PROC_PATHNAME exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_81e2d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_81e2d.dir/build.make CMakeFiles/cmTC_81e2d.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_81e2d.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_81e2d.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_81e2d.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_81e2d.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:3:10: fatal error: 'sys/sysctl.h' file not found #include <sys/sysctl.h> ^~~~~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_81e2d.dir/build.make:79: CMakeFiles/cmTC_81e2d.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_81e2d/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/types.h> #include <sys/sysctl.h> int main(int argc, char** argv) { (void)argv; #ifndef KERN_PROC_PATHNAME return ((int*)(&KERN_PROC_PATHNAME))[argc]; #else (void)argc; return 0; #endif } Determining if the KERN_PROC_ARGV exist failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_523e5/fast && /usr/bin/gmake -f CMakeFiles/cmTC_523e5.dir/build.make CMakeFiles/cmTC_523e5.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_523e5.dir/CheckSymbolExists.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -fPIE -MD -MT CMakeFiles/cmTC_523e5.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_523e5.dir/CheckSymbolExists.c.o.d -o CMakeFiles/cmTC_523e5.dir/CheckSymbolExists.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c:3:10: fatal error: 'sys/sysctl.h' file not found #include <sys/sysctl.h> ^~~~~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_523e5.dir/build.make:79: CMakeFiles/cmTC_523e5.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_523e5/fast] Error 2 File /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/types.h> #include <sys/sysctl.h> int main(int argc, char** argv) { (void)argv; #ifndef KERN_PROC_ARGV return ((int*)(&KERN_PROC_ARGV))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test HAVE_STAT_ST_MTIMESPEC failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_1c574/fast && /usr/bin/gmake -f CMakeFiles/cmTC_1c574.dir/build.make CMakeFiles/cmTC_1c574.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1c574.dir/src.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DHAVE_STAT_ST_MTIMESPEC -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIE -MD -MT CMakeFiles/cmTC_1c574.dir/src.c.o -MF CMakeFiles/cmTC_1c574.dir/src.c.o.d -o CMakeFiles/cmTC_1c574.dir/src.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/src.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/src.c:6:36: error: no member named 'st_mtimespec' in 'struct stat' (void)sizeof(((struct stat *)0)->st_mtimespec); ~~~~~~~~~~~~~~~~~~ ^ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_1c574.dir/build.make:79: CMakeFiles/cmTC_1c574.dir/src.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_1c574/fast] Error 2 Source file was: #include <sys/stat.h> int main() { (void)sizeof(((struct stat *)0)->st_mtimespec); return 0; } Determining if the include file sys/filio.h exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_776f7/fast && /usr/bin/gmake -f CMakeFiles/cmTC_776f7.dir/build.make CMakeFiles/cmTC_776f7.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_776f7.dir/CheckIncludeFile.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIE -MD -MT CMakeFiles/cmTC_776f7.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_776f7.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_776f7.dir/CheckIncludeFile.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'sys/filio.h' file not found #include <sys/filio.h> ^~~~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_776f7.dir/build.make:79: CMakeFiles/cmTC_776f7.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_776f7/fast] Error 2 Determining if the include file sys/ldr.h exists failed with the following output: Change Dir: /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d1ece/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d1ece.dir/build.make CMakeFiles/cmTC_d1ece.dir/build gmake[1]: Entering directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d1ece.dir/CheckIncludeFile.c.o /home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=x86_64-none-linux-android34 --sysroot=/home/roottjk/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/sysroot -D_GNU_SOURCE=1 -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fPIE -MD -MT CMakeFiles/cmTC_d1ece.dir/CheckIncludeFile.c.o -MF CMakeFiles/cmTC_d1ece.dir/CheckIncludeFile.c.o.d -o CMakeFiles/cmTC_d1ece.dir/CheckIncludeFile.c.o -c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c /home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'sys/ldr.h' file not found #include <sys/ldr.h> ^~~~~~~~~~~ 1 error generated. gmake[1]: *** [CMakeFiles/cmTC_d1ece.dir/build.make:79: CMakeFiles/cmTC_d1ece.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/home/roottjk/oorexx/oorexxbuild/12695_bac/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_d1ece/fast] Error 2
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel