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

From Francis K Shim
Subject Given: Win98, Cygwin, postgresql-7.0.3.tar.gz | Need: to make libpg/(++) libraries?
Date
Msg-id NFBBKOFMGDBJAJIGBBDJMEKECCAA.fshim@cawthra.com
Whole thread Raw
List 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


pgsql-general by date:

Previous
From: "Steven D. Arnold"
Date:
Subject: plpgsql -- arrays/temporary tables?
Next
From: Anand Raman
Date:
Subject: Re: plpgsql -- arrays/temporary tables?