Seth Trojacek
unread,Dec 15, 2021, 2:18:40 PM12/15/21You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello,
I am currently trying to build Reference Standard M on Termux.
I have done the following:
1. As Termux does not support 'sys/sem.h', I have used ack to replace the library with 'linux/sem.h', which Termux supports.
2. I replaced values.h in the file "runtime/func.c" with the corresponding libraries of <float.h> and <limits.h> to be compatible with Termux.
3. As Android does not support bzero, bcmp, or bcopy, I have created some defines to convert the operators to use their memcopy equivalents:
#define bcmp(a,b,n) memcmp(a,b,n)
#define bcopy(s, d, siz) memcpy((d), (s), (siz))
#define bzero(d, siz) memset((d), '\0', (siz))
I am currently able to get the system to build, and am able to run the command: rsm -v TST -b 16 -s 4096 tst.dat
From the examples, without any issue.
However, after trying to run: rsm -j 12 tst.dat
I get the error of: bad system call.
I believe once this error is fixed, RSM will be usable on the Termux platform.
If someone is able to provide some assistance, I would greatly appreciate it.
I am rather new to the Termux platform, and even more so to M/MUMPS, but I am happy to help out as best as I can, to have an M/MUMPS database running on Android.
Thank you,
Seth