QA - Mailing list pgsql-cygwin

From wang xiaojie
Subject QA
Date
Msg-id 001701c3a98e$586c5250$481693d3@wangxiaojie
Whole thread Raw
List pgsql-cygwin

我用的是
os :win2K pro-jp /i686-pc-cygwin
postGreSql-7.3.4
make -version :GNU Make version 3.79.1

我在执行了
gzip postGreSql-7.3.4.tar.gz
tar xf postGreSql-7.3.4.tar
之后在 postGreSql-7.3.4 目录执行了
./configure
make
就出现以下错误:
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/Administrator/postgresql-7.3.4/src/backend/po
t'
make[2]: *** [port-recursive] Error 2
make[2]: Leaving directory `/home/Administrator/postgresql-7.3.4/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Administrator/postgresql-7.3.4/src'
make: *** [all] Error 2

pgsql-cygwin by date:

Previous
From: Franco Bruno Borghesi
Date:
Subject: Re: Troubles with installation of cygrunsrv
Next
From: Dan Charbonneau
Date:
Subject: PD ADMIN 3 for w2k