Compiling trigger function with MinGW

From: Anton Burkun <agb(at)ukr(dot)net>
To: pgsql-ports(at)postgresql(dot)org
Subject: Compiling trigger function with MinGW
Date: 2008-05-01 07:46:05
Message-ID: 4819753D.5000309@ukr.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

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

Browse pgsql-ports by date

  From Date Subject
Next Message Nathan Garlington 2008-05-02 13:50:38 Compile error: command not found
Previous Message Mars Forest 2008-04-18 21:13:40 libpq-fe.h on OS X 10.5 Leopard server