Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?

From: "Francis K Shim" <fshim(at)cawthra(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?
Date: 2001-04-11 07:00:12
Message-ID: NFBBKOFMGDBJAJIGBBDJMEKECCAA.fshim@cawthra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

As the Subject line says, all I am looking to do is to make the libraries so
I can write some C/C++ postgresql client programs under Cygwin (under Win98)
using the GNU C/C++ compilers. I guess I could use ODBC and MSVC++, but I
just don't want to get stuck in a rut. I do not need to build any of the
server components, so I was hoping that the "configure" script would be
smart enough to produce make files that will make the rest of the package
with the necessary client libraries; however, it was clear as I was
monitoring the "make" output that I either need other libraries or I need to
restrict my "configure" options further. The make encountered problems when
it started to compile "dllinit.c":

dllinit.c:49: warning: no previous prototype for '_cygwin_dll_entry'
dllinit.c:49: warning: no previous prototype for
'_cygwin_noncygwin_dll_entry'

This either caused or was caused by the dlltool to fail with the
port/SUBSYS.o:

dlltool: port/SUBSYS.o: no symbols

I am guessing it was caused by an incomplete SUBSYS.o object created from
compiling src/backend/port/dynloader.c... but I have not taken a detailed
look. I am hoping that someone can point me in the right direction or tell
me what is missing.

Do I have the right package? I seem to recall that there was some splitting
up of the package into 3 parts: client-only, server-only and common... but I
may be mixing that recollection with something else.

TIA,
Frank Shim

Browse pgsql-general by date

  From Date Subject
Next Message Alessio Bragadini 2001-04-11 07:49:16 Re: personel appliactions?
Previous Message Andrew McMillan 2001-04-11 05:35:33 Re: Speaking of Indexing... (Text indexing)