tux-mind/platform_external_postgresql

System V ipc calls not removed.

daramousk opened this issue · 0 comments

From what I can see, bionic libc does not support sys V ipc calls. https://android.googlesource.com/platform/ndk/+/4e159d95ebf23b5f72bb707b0cb1518ef96b3d03/docs/system/libc/SYSV-IPC.TXT

Have you fixed that? Or am I doing something wrong on the compilation process?
Because I get undefined references on the object files from the linker.


port/pg_sema.o:pg_sema.c:function ReleaseSemaphores: error: undefined reference to 'semctl'
port/pg_sema.o:pg_sema.c:function IpcSemaphoreInitialize: error: undefined reference to 'semctl'
port/pg_sema.o:pg_sema.c:function InternalIpcSemaphoreCreate.constprop.3: error: undefined reference to 'semget'
port/pg_sema.o:pg_sema.c:function PGSemaphoreLock: error: undefined reference to 'semop'
port/pg_sema.o:pg_sema.c:function PGSemaphoreUnlock: error: undefined reference to 'semop'
port/pg_sema.o:pg_sema.c:function PGSemaphoreCreate: error: undefined reference to 'semget'
port/pg_sema.o:pg_sema.c:function PGSemaphoreCreate: error: undefined reference to 'semctl'
port/pg_sema.o:pg_sema.c:function PGSemaphoreCreate: error: undefined reference to 'semctl'
port/pg_sema.o:pg_sema.c:function PGSemaphoreTryLock: error: undefined reference to 'semop'
port/pg_shmem.o:pg_shmem.c:function IpcMemoryDetach: error: undefined reference to 'shmdt'
port/pg_shmem.o:pg_shmem.c:function IpcMemoryDelete: error: undefined reference to 'shmctl'
port/pg_shmem.o:pg_shmem.c:function InternalIpcMemoryCreate: error: undefined reference to 'shmget'
port/pg_shmem.o:pg_shmem.c:function InternalIpcMemoryCreate: error: undefined reference to 'shmat'
port/pg_shmem.o:pg_shmem.c:function InternalIpcMemoryCreate: error: undefined reference to 'shmget'
port/pg_shmem.o:pg_shmem.c:function InternalIpcMemoryCreate: error: undefined reference to 'shmctl'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryIsInUse: error: undefined reference to 'shmctl'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryIsInUse: error: undefined reference to 'shmat'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryIsInUse: error: undefined reference to 'shmdt'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryIsInUse: error: undefined reference to 'shmdt'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryCreate: error: undefined reference to 'shmget'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryCreate: error: undefined reference to 'shmat'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryCreate: error: undefined reference to 'shmdt'
port/pg_shmem.o:pg_shmem.c:function PGSharedMemoryCreate: error: undefined reference to 'shmctl'