termux / libandroid-shmem

System V shared memory emulation on Android using ashmem.
BSD 3-Clause "New" or "Revised" License
118 stars 39 forks source link

Function Not Implemented on build #11

Closed ahdyt closed 3 years ago

ahdyt commented 3 years ago

make: gcc: Function not implemented make: *** [Makefile:22: test-after-fork] Error 127

ahdyt commented 3 years ago

I'm on nix-on-droid trying to adopt this lib shmem to make it work with postgresql, but I can't compile it.

Grimler91 commented 3 years ago

Do you have a compiler and other build-essential programs installed?

ghost commented 3 years ago

I guess that's proot issue since Nix-On-Droid app relies on it. Note that proot isn't stable and may not work on some devices. You can go through https://github.com/termux/proot/issues.

Regarding shmem: latest versions of proot support SysV IPC which includes shared memory and semaphores, so you may want to request authors of Nix-On-Droid to update the bundled proot binary and use option "--sysvipc".