Re: [Oorexx-devel] Troubles with pthread and Android

2021-05-25 Thread Erich Steinböck
Hi Thomas, I excluded the line*es = crypt(str, salt);* > and I also excluded the whole *SysWordExp Method*. > Commenting them is fine. Not all platforms provide full functionality. These aren't core functions, so they are just left out. CMake should detect this and skip them if unavailable. In

Re: [Oorexx-devel] Troubles with pthread and Android

2021-05-24 Thread Enrico Sorichetti via Oorexx-devel
> On 24 May 2021, at 16:38, Thomas Kahr wrote: > > There are some other problems also. E.g. ncurses.h is also not found. When i > remember correctly this file is also needed for the installation of ooRexx on > Ubuntu. Every linux distribution behaves differently As far as the runtime and de

Re: [Oorexx-devel] Troubles with pthread and Android

2021-05-24 Thread Thomas Kahr
Hi Erich, thank you for your helpful feedback. Its a cross compile Arch Linux - Android I just took the Android Toolchain File from the Android NDK. I did not modify this file at all. In the cmake command I define gcc as C compiler and g++ as C++ compiler. My initial cmake command is: cmake -D

Re: [Oorexx-devel] Troubles with pthread and Android

2021-05-23 Thread Erich Steinböck
Hi Thomas! > Removing ${ORX_SYSLIB_PTTHREAD} in CMakeLists.txt helps a bit but instead > of getting the error: > *"cannot find -lpthread"* > As far as I can see, Android doesn't have libpthread, so your fix seems reasonable "error: use of undeclared identifier 'posix_spawn_file_actions_init'; did