Error compiling Postgres under cygwin

From: Együd Csaba <csegyud(at)freemail(dot)hu>
To: "pgsql-admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Error compiling Postgres under cygwin
Date: 2003-05-11 08:04:59
Message-ID: 001201c31794$33bdc7e0$210a0a0a@info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
could anybody help me compiling postgres 7.3.2 under cygwin? I ran make
after configure.

What could be the reason of this error message:
----------------------------------------------------------------------------
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/inc
lude -DBUILDING_DLL -c -o pg_sema.o pg_sema.c
pg_sema.c: In function `InternalIpcSemaphoreCreate':
pg_sema.c:95: warning: implicit declaration of function `semget'
pg_sema.c:95: `IPC_CREAT' undeclared (first use in this function)
pg_sema.c:95: (Each undeclared identifier is reported only once
pg_sema.c:95: for each function it appears in.)
pg_sema.c:95: `IPC_EXCL' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreInitialize':
pg_sema.c:150: warning: implicit declaration of function `semctl'
pg_sema.c:150: `SETVAL' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreKill':
pg_sema.c:175: `IPC_RMID' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreGetValue':
pg_sema.c:193: `GETVAL' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreGetLastPID':
pg_sema.c:204: `GETPID' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreCreate':
pg_sema.c:263: `IPC_RMID' undeclared (first use in this function)
pg_sema.c: In function `PGSemaphoreLock':
pg_sema.c:390: storage size of `sops' isn't known
pg_sema.c:434: warning: implicit declaration of function `semop'
pg_sema.c:390: warning: unused variable `sops'
pg_sema.c: In function `PGSemaphoreUnlock':
pg_sema.c:455: storage size of `sops' isn't known
pg_sema.c:455: warning: unused variable `sops'
pg_sema.c: In function `PGSemaphoreTryLock':
pg_sema.c:489: storage size of `sops' isn't known
pg_sema.c:492: `IPC_NOWAIT' undeclared (first use in this function)
pg_sema.c:489: warning: unused variable `sops'
make[3]: *** [pg_sema.o] Error 1
make[3]: Leaving directory
`/home/Csaba/postgresql-7.3.2/postgresql-7.3.2/src/backend/port'
make[2]: *** [port-recursive] Error 2
make[2]: Leaving directory
`/home/Csaba/postgresql-7.3.2/postgresql-7.3.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/Csaba/postgresql-7.3.2/postgresql-7.3.2/src'
----------------------------------------------------------------------------

Thank you in advance,
-- Csaba

Browse pgsql-admin by date

  From Date Subject
Next Message Jason Kosowan 2003-05-11 08:18:21 Problem upgrading PGSQL7.3.2 from PGSQL6.5 under RHLinux6.5 - missing global/pg_control
Previous Message Terence Ng 2003-05-11 01:23:24 Re: [ADMIN] Multilingual database