Problem compiling PostgreSQL 7.2 on AIX 4.3.3

From: tonykamin(at)yahoo(dot)com (Tony Kamin)
To: pgsql-ports(at)postgresql(dot)org
Subject: Problem compiling PostgreSQL 7.2 on AIX 4.3.3
Date: 2002-11-11 20:28:16
Message-ID: 4b3a2a89.0211111228.f341a8b@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

I have been unable to compile PostgreSQL 7.2 on an RS/6000, running
AIX 4.3.3 (maint. level 10). I am using gcc version 3.2, and gmake
version 3.79.1. I ran configure with the following options, according
to FAQ_AIX:

--with-CC=gcc --with-includes=/usr/local/include
--with-libraries=/usr/local/lib --with-template=aix

Initially, I received the error "TCP_NODELAY undeclared" in pqcomm.c
but a patch to include <xti.h> resolved that error. Now I'm getting
errors during compilation of ipc.c. Below is the tail of the output
from my attempt to "gmake all":

ipc.c: In function `InternalIpcSemaphoreCreate':
ipc.c:271: warning: implicit declaration of function `semget'
ipc.c:271: `IPC_CREAT' undeclared (first use in this function)
ipc.c:271: (Each undeclared identifier is reported only once
ipc.c:271: for each function it appears in.)
ipc.c:271: `IPC_EXCL' undeclared (first use in this function)
ipc.c:318: warning: implicit declaration of function `semctl'
ipc.c:318: `SETALL' undeclared (first use in this function)
ipc.c: In function `IpcSemaphoreKill':
ipc.c:351: `IPC_RMID' undeclared (first use in this function)
ipc.c: In function `IpcSemaphoreLock':
ipc.c:378: storage size of `sops' isn't known
ipc.c:422: warning: implicit declaration of function `semop'
ipc.c:378: warning: unused variable `sops'
ipc.c: In function `IpcSemaphoreUnlock':
ipc.c:441: storage size of `sops' isn't known
ipc.c:441: warning: unused variable `sops'
ipc.c: In function `IpcSemaphoreTryLock':
ipc.c:475: storage size of `sops' isn't known
ipc.c:478: `IPC_NOWAIT' undeclared (first use in this function)
ipc.c:475: warning: unused variable `sops'
ipc.c: In function `IpcSemaphoreGetValue':
ipc.c:519: `GETVAL' undeclared (first use in this function)
ipc.c: In function `IpcSemaphoreGetLastPID':
ipc.c:530: `GETPID' undeclared (first use in this function)
ipc.c: In function `InternalIpcMemoryCreate':
ipc.c:561: warning: implicit declaration of function `shmget'
ipc.c:561: `IPC_CREAT' undeclared (first use in this function)
ipc.c:561: `IPC_EXCL' undeclared (first use in this function)
ipc.c:638: warning: implicit declaration of function `shmat'
ipc.c:638: warning: assignment makes pointer from integer without a
cast
ipc.c: In function `IpcMemoryDetach':
ipc.c:664: warning: implicit declaration of function `shmdt'
ipc.c: In function `IpcMemoryDelete':
ipc.c:681: warning: implicit declaration of function `shmctl'
ipc.c:681: `IPC_RMID' undeclared (first use in this function)
ipc.c: In function `SharedMemoryIsInUse':
ipc.c:697: storage size of `shmStat' isn't known
ipc.c:707: `IPC_STAT' undeclared (first use in this function)
ipc.c:697: warning: unused variable `shmStat'
ipc.c: In function `IpcMemoryCreate':
ipc.c:818: warning: assignment makes pointer from integer without a
cast
ipc.c:850: `IPC_RMID' undeclared (first use in this function)
ipc.c: In function `IpcSemaphoreCreate':
ipc.c:940: `IPC_RMID' undeclared (first use in this function)
ipc.c:966: `SETVAL' undeclared (first use in this function)
gmake[4]: *** [ipc.o] Error 1
gmake[4]: Leaving directory
`/usr/local/src/postgresql-7.2/src/backend/storage/i
pc'
gmake[3]: *** [ipc-recursive] Error 2
gmake[3]: Leaving directory
`/usr/local/src/postgresql-7.2/src/backend/storage'
gmake[2]: *** [storage-recursive] Error 2
gmake[2]: Leaving directory
`/usr/local/src/postgresql-7.2/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-7.2/src'
gmake: *** [all] Error 2

I've taken into account every piece of information I could find
related to building pg on AIX. Apparently, I'm still missing
something. Any help would be much appreciated.

Tony Kamin

Browse pgsql-ports by date

  From Date Subject
Next Message Bruce Momjian 2002-11-12 05:05:16 RC1?
Previous Message Bruce Momjian 2002-11-10 00:37:24 Re: [HACKERS] PostgreSQL supported platform report and a