pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reini Urban <rurban@x-ray.at>
To: Maciej Grygorcewicz <maciekgrygorcewicz@gmail.com>
Cc: pgsql-cygwin@postgresql.org
Subject: Re: Re :Problem with Compiling C function
Date: Mon, 14 Jan 2008 19:18:16 -0500
Message-ID: <6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com> (raw)
In-Reply-To: <e57e8a580801141426l5df33720h31091a250e35b4af@mail.gmail.com>
References: <e57e8a580801141426l5df33720h31091a250e35b4af@mail.gmail.com>

2008/1/14, Maciej Grygorcewicz :
> 2008/1/9, Maciej Grygorcewicz :
> >> But linker threw such errors:
> > >"
> >>  Unresolved External: _pgwin32_fopen referended from .... // and so on
> >  >Unresolved External: _pg_sprintfl referended from .... // and so on "
> >>
> >> Why???? I have included postgres.h , and all other required files .
>
>  >-lpgport is needed.
>
> Thanks for the response. But I have few questions
> Is this a compiler / linker switch . Can I turn it on on Builder . or have I
> to use gcc or g++??

We only support the gnu compiler on cygwin. I don't know builder.
Better ask at the -win32 list.



view thread (2+ messages)

Message-ID: <6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com>
Permalink:  ../6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com/
Also on:    postgresql.org/message-id/6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: rurban@x-ray.at, maciekgrygorcewicz@gmail.com
  Subject: Re: Problem with Compiling C function
  In-Reply-To: <6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com>
  References: <e57e8a580801141426l5df33720h31091a250e35b4af@mail.gmail.com> <6910a60801141618p657441ey605cc700a3daa0bb@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox