SQLite Forum

INTEGRITY OS support
Login
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