INTEGRITY OS support
(1) By anonymous on 2021-09-14 07:33:28 [link]
Hello, Would it be possible to make sqlite available for INTEGRITY OS? I built libqsqlite.a for INTEGRITY OS with using GHS compiler without any errors. But currently I have compilation error in case of linking libqsqlite.a [elxr] (error #412) unresolved symbols: 1 geteuid from libqsqlite.a(sqlite3.c.o) The problem is The Partitioning Journaling File System server supports unistd.h APIs not fully. It doesn't support PJFS does NOT support the following uid_t related APIs: * chown() * fchown() * lchown() * getegid() * geteuid() * getgid() * getgroups() * getuid() * setegid() * seteuid() * setgid() * setgroups() * setuid() Could there is be a fix for INTEGRITY OS case? There is similar to support VxWorks: https://github.com/sqlite/sqlite/blob/master/src/os_unix.c#L560 https://github.com/sqlite/sqlite/blob/master/src/vxworks.h
(2) By Larry Brasfield (larrybr) on 2021-09-14 08:07:50 in reply to 1
Looking at the code, it appears that compiling with preprocessor symbol HAVE_FCHOWN **not** defined would solve your immediate problem. Whether that leads to other problems would be for your experiment to determine, I think.