Обсуждение: Re: I couldn't compile postgresql 7.3.1 under cygwin 1.3.18-1
On Mon, Feb 10, 2003 at 08:47:52AM -0800, jklcom wrote: > This is the error I got. What am I doing wrong? > > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations > -I../../../src/ > -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) > [snip] Did you forget to install cygipc? Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Jeff, Please keep your replies on-list. On Mon, Feb 10, 2003 at 09:58:08AM -0500, Jeff Lu wrote: > I installed cygipc-1.13-2 > Here what I did > Bunzip2 cygipc-1.13-2.tar.bz2 > Tar xvf cygipc-1.13-2.tar > > Do I need to do anything differently? Yes, unless you are in the Cygwin root directory. The following is the recommended procedure: $ tar -C / -xjf cygipc-1.13-2.tar.bz2 which assumes that cygipc-1.13-2.tar.bz2 is in the current working directory. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6