include-files and libaries for postgreSQL/Win2000??

From: "Heinrich Retzlaw" <hretzlaw(at)etm(dot)at>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: include-files and libaries for postgreSQL/Win2000??
Date: 2001-05-15 13:24:20
Message-ID: 002701c0dd42$596d01b0$3ea2a8c0@aa.etm.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

hello
i want to write a c++ program for Win2000, so that i can connect to a
postgreSQL database running on a linux computer
i don't want to run a server an Win2000
but where can i get the include-files and libaries for Win2000 ?
i have extract the postgresql-7.0-nt-binaries.tar.gz file, but than i got
this error-message

u:\entwicklung\postgresql\pgsql\include\config.h(390) : fatal error C1083:
Cannot open include file: 'netinet/in.h': No such file or directory

than i read somewhere that i have to install cygwin. but if i do so, i got
the following error-messages

u:\entwicklung\cygwin\usr\include\sys\types.h(110) : error C2632: 'long'
followed by 'long' is illegal
u:\entwicklung\cygwin\usr\include\sys\types.h(111) : error C2632: 'long'
followed by 'long' is illegal
u:\entwicklung\cygwin\usr\include\sys\reent.h(185) : error C2632: 'long'
followed by 'long' is illegal
u:\entwicklung\cygwin\usr\include\sys\reent.h(185) : error C2144: syntax
error : missing ';' before type 'unsigned long'
u:\entwicklung\cygwin\usr\include\sys\reent.h(185) : error C2501:
'__extension__' : missing storage-class or type specifiers
u:\entwicklung\cygwin\usr\include\asm\byteorder.h(29) : error C2144: syntax
error : missing ';' before type 'unsigned long'
u:\entwicklung\cygwin\usr\include\asm\byteorder.h(29) : fatal error C1004:
unexpected end of file found

now, i don't know what to do
please help me
best regards Heinrich Retzlaw

Browse pgsql-cygwin by date

  From Date Subject
Next Message Jason Tishler 2001-05-15 14:10:36 Re: SIGTERM does not stop backend postgres processes immediately
Previous Message Henshall, Stuart - WCP 2001-05-15 12:08:48 RE: Postgres server on Windows 98