pg.ddx.io  pgsql-ports@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anton Burkun <agb@ukr.net>
To: pgsql-ports@postgresql.org
Subject: Compiling trigger function with MinGW
Date: Thu, 01 May 2008 10:46:05 +0300
Message-ID: <4819753D.5000309@ukr.net> (raw)

Hello All.

Now I try to link dll with MinGW from Example in Postgres Help.
Linker show me this error:

D:\users\anthony\kursor\abzcrm\c\foo>gcc -shared foo.o -o foo.dll -L
"d:/files/local/PostgreSQL/8.3/lib" -l postgres
Cannot export ⌂postgres_NULL_THUNK_DATA: symbol not found
collect2: ld returned 1 exit status

What should I do?

-- 
Anton Burkun
+380 66 757 70 27




Message-ID: <4819753D.5000309@ukr.net>
Permalink:  ../4819753D.5000309@ukr.net/
Also on:    postgresql.org/message-id/4819753D.5000309@ukr.net

 · 

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-ports@postgresql.org
  Cc: agb@ukr.net
  Subject: Re: Compiling trigger function with MinGW
  In-Reply-To: <4819753D.5000309@ukr.net>
  References: <4819753D.5000309@ukr.net>

* 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