Thread: QA
我用的是
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
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
[...] >make -version :GNU Make version 3.79.1 > >我在执行了 [...] (for binary) Use setup to install cygipc-<version>.tar.bz2, or "wget -c http://<your.favourite.mirror>/<path/to/cygwin/release>/cygipc/cygipc-<version>.tar.bz2" "tar xvjf cygipc-<version>.tar.bz2 -C /" (for source) "wget -c http://<your.favourite.mirror>/<path/to/cygwin/release>/cygipc/cygipc-<version>-src.tar.bz2" "tar ...; ./configure; make; make install" where <version> at <my.favourite.mirror> was 2.01-2 . [...] >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': [...] SLao NB The ... between "tar" and ";./configure" in source case is some tricky than the postgresql case. __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455