From: | Mileta Vinerte <mvinerte(at)cbnco(dot)com> |
---|---|
To: | pgsql-cygwin(at)postgresql(dot)org |
Subject: | What I did wrong? |
Date: | 2003-02-13 15:05:53 |
Message-ID: | 3E4BB450.73963CAB@cbnco.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin |
Hi
1. I did install cygwin setup.exe version 2.249.2.5 in the c:\cygwin
2. Then I did copied cygipc-1.13-2-src.tar into c:\cygwin
3. Added c:\cygwin to PATH
4. From the Start-> Program Files->Cwywin-> Cygwin Bash shell :
mvinerte(at)CANADIAN-MNR7BS ~
$ pwd
/cygdrive/c
mvinerte(at)CANADIAN-MNR7BS ~
$ cd cygwin
$ tar -jxvf cygipc-1.13-2-scr.tar.bz2
cygipc-1.13-2.patch
cygipc-1.13-2.sh
cygipc-1.13.tar.bz2
$ tar x-jxvf cygipc-1.13.tar.bz2
cygipc-1.13/
cygipc-1.13/build.sh
cygipc-1.13/ChangeLog
cygipc-1.13/contrib/
cygipc-1.13/contrib/Makefile
cygipc-1.13/contrib/msgtool.c
cygipc-1.13/contrib/README
cygipc-1.13/contrib/semtool.c
cygipc-1.13/contrib/shmtool.c
cygipc-1.13/COPYING
cygipc-1.13/doc/
cygipc-1.13/doc/contents_motif.gif
cygipc-1.13/doc/index.html
cygipc-1.13/doc/next_motif.gif
cygipc-1.13/doc/node21.html
cygipc-1.13/doc/node22.html
..
cygipc-1.13/ftok.c
cygipc-1.13/include/
cygipc-1.13/include/IpcNtExt.h
cygipc-1.13/include/IpcNtLit.h
cygipc-1.13/include/IpcNtStr.h
cygipc-1.13/include/sys/
cygipc-1.13/include/sys/ipc.h
cygipc-1.13/include/sys/ipctrace.h
cygipc-1.13/include/sys/msg.h
cygipc-1.13/include/sys/sem.h
cygipc-1.13/include/sys/shm.h
cygipc-1.13/ipc-daemon.c
cygipc-1.13/ipck
cygipc-1.13/ipcrm.c
cygipc-1.13/ipcs.c
cygipc-1.13/ipctest.c
cygipc-1.13/Makefile
cygipc-1.13/msg.c
cygipc-1.13/name_mangle.c
cygipc-1.13/NEWS
cygipc-1.13/README
cygipc-1.13/README.old
cygipc-1.13/reverse.c
cygipc-1.13/sem.c
cygipc-1.13/shm.c
cygipc-1.13/strace.c
cygipc-1.13/TODO
cygipc-1.13/USAGE
cygipc-1.13/version.c
5. Changing directory:
mvinerte(at)CANADIAN-MNR7BS ~/cygwin
$ cd cygipc-1.13
mvinerte(at)CANADIAN-MNR7BS ~/cygwin/cygipc-1.13
$ ls
COPYING USAGE ipc-daemon.c ipctest.c reverse.dep
version.c
ChangeLog build.sh ipc-daemon.dep ipctest.dep sem.c
version.dep
Makefile contrib ipck msg.c sem.dep
version.o
NEWS doc ipcrm.c msg.dep shm.c
README ftok.c ipcrm.dep name_mangle.c shm.dep
README.old ftok.dep ipcs.c name_mangle.dep strace.c
TODO include ipcs.dep reverse.c strace.dep
$ make
gcc -Wall -g -mwin32 -O2 -pipe -mcpu=i586 -fno-strength-reduce
-falign-loops=2
-falign-jumps=2 -falign-functions=2 -DVERSION_NUM=1.13 -I./include -I.
-c -o s
em.o sem.c
In file included from sem.c:43:
include/IpcNtExt.h:54:21: windows.h: No such file or directory
In file included from sem.c:43:
include/IpcNtExt.h:56: parse error before "GSemSem"
include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of
`GSemSe
m'
include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of
`GSemSh
m'
include/IpcNtExt.h:56: warning: type defaults to `int' in declaration of
`GSemMs
g'
include/IpcNtExt.h:56: warning: data definition has no type or storage
class
sem.c: In function `IsGSemSemExist':
sem.c:96: warning: implicit declaration of function `OpenSemaphore'
sem.c:96: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this function)
sem.c:96: (Each undeclared identifier is reported only once
sem.c:96: for each function it appears in.)
sem.c:96: `FALSE' undeclared (first use in this function)
sem.c:97: warning: comparison between pointer and integer
sem.c: In function `sem_connect':
sem.c:134: warning: implicit declaration of function
`WaitForSingleObject'
sem.c:134: `INFINITE' undeclared (first use in this function)
sem.c: In function `sem_deconnect':
sem.c:159: warning: implicit declaration of function `ReleaseSemaphore'
sem.c:159: `LONG' undeclared (first use in this function)
sem.c:159: parse error before numeric constant
sem.c: In function `FDestroySem':
sem.c:191: `HANDLE' undeclared (first use in this function)
sem.c:191: parse error before "LHandle"
sem.c:196: `LHandle' undeclared (first use in this function)
sem.c:196: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this
function)
sem.c:196: `FALSE' undeclared (first use in this function)
sem.c:200: warning: implicit declaration of function `CloseHandle'
sem.c: At top level:
sem.c:207: parse error before "FCreateSem"
sem.c:208: warning: return type defaults to `int'
sem.c: In function `FCreateSem':
sem.c:209: `HANDLE' undeclared (first use in this function)
sem.c:209: parse error before "LHandle"
sem.c:214: `LHandle' undeclared (first use in this function)
sem.c:214: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this
function)
sem.c:214: `FALSE' undeclared (first use in this function)
sem.c:219: warning: implicit declaration of function `CreateSemaphore'
sem.c:229: warning: return makes integer from pointer without a cast
sem.c: In function `newary':
sem.c:239: `HANDLE' undeclared (first use in this function)
sem.c:239: parse error before "LHandle"
sem.c:271: warning: implicit declaration of function `memset'
sem.c:293: `LHandle' undeclared (first use in this function)
sem.c: In function `do_semop':
sem.c:371: `HANDLE' undeclared (first use in this function)
sem.c:371: parse error before "LHandle"
sem.c:383: `LHandle' undeclared (first use in this function)
sem.c:383: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this
function)
sem.c:383: `FALSE' undeclared (first use in this function)
sem.c: In function `semctl':
sem.c:476: `HANDLE' undeclared (first use in this function)
sem.c:476: parse error before "LHandle"
sem.c:521: warning: implicit declaration of function `memcpy'
sem.c:621: `LHandle' undeclared (first use in this function)
sem.c:622: `SEMAPHORE_ALL_ACCESS' undeclared (first use in this
function)
sem.c:622: `FALSE' undeclared (first use in this function)
make: *** [sem.o] Error 1
mvinerte(at)CANADIAN-MNR7BS ~/cygwin/cygipc-1.13
$
WHAT I DID WRONG??????
PS. make install gives me the same errors.
Sincerely,
Mileta Vinerte
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Strobl | 2003-02-13 18:58:51 | can't start postmaster as service |
Previous Message | Jason Tishler | 2003-02-13 13:27:06 | Re: IpcSemaphoreCreate - detailed account |