Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-cygwin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group