Compiling trigger function with MinGW - Mailing list pgsql-ports

From Anton Burkun
Subject Compiling trigger function with MinGW
Date
Msg-id 4819753D.5000309@ukr.net
Whole thread Raw
List 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


pgsql-ports by date:

Previous
From: Mars Forest
Date:
Subject: libpq-fe.h on OS X 10.5 Leopard server
Next
From: "Nathan Garlington"
Date:
Subject: Compile error: command not found