Skip site navigation (1) Skip section navigation (2)

Compiling trigger function with MinGW

From: Anton Burkun <agb(at)ukr(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Compiling trigger function with MinGW
Date: 2008-04-26 06:14:12
Message-ID: 4812C834.7010407@ukr.net (view raw or flat)
Thread:
Lists: pgsql-hackers
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

pgsql-hackers by date

Next:From: Brendan JurdDate: 2008-04-26 06:32:59
Subject: Re: we don't have a bugzilla
Previous:From: Andrew DunstanDate: 2008-04-26 06:13:50
Subject: Re: we don't have a bugzilla

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group