"make" in postgresql windows install fails - Mailing list pgsql-cygwin

From venkat j
Subject "make" in postgresql windows install fails
Date
Msg-id 20030829084822.98321.qmail@web60003.mail.yahoo.com
Whole thread Raw
Responses Re: "make" in postgresql windows install fails  (Jason Tishler <jason@tishler.net>)
List pgsql-cygwin
Hello all
 
Im trying to install Postgresql 7.3.4 on WindowsNT using Cygwin/cygipc. I already have installed cygipc in a different directory. I started ipc-daemon.
After doing "configure", i started "make". Im using gcc provided by cygwin installer.
Postgresql throws an error. Its breaking in some IPC (cygipc) related files. 
 
Am i missing any setting? do i need to append anything to any variable? or cygipc should be extracted to a directory 'inside' postgresql directory structure?
Pl note that i already have stared ipc-daemon.exe (i tried to start it as an NT process and from cygwin prompt... any diff?). After that ihave given the "make" command.
 
Any help is greatly appreciated...
 
Thanks in advance.
 
 
make[3]: Entering directory `/cygdrive/g/postgresql734/src/backend/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include  -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 u se 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 `/cygdrive/g/postgresql734/src/backend/port'
make[2]: *** [port-recursive] Error 2
make[2]: Leaving directory `/cygdrive/g/postgresql734/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/g/postgresql734/src'
make: *** [all] Error 2


Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

pgsql-cygwin by date:

Previous
From: "Chigurupati, Prasad"
Date:
Subject: Re: running postgresql7.3.4 under windows
Next
From: Jason Tishler
Date:
Subject: Re: running postgresql7.3.4 under windows