From: Együd Csaba <csegyud@freemail.hu>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Error compiling Postgres under cygwin
Date: Sun, 11 May 2003 10:04:59 +0200
Message-ID: <001201c31794$33bdc7e0$210a0a0a@info> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: csegyud@freemail.hu
Subject: Re: Error compiling Postgres under cygwin
In-Reply-To: <001201c31794$33bdc7e0$210a0a0a@info>
References: <001201c31794$33bdc7e0$210a0a0a@info>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox