[GENERAL] Compiling trigger function with MinGW

2008-05-01 Thread Anton Burkun
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 return

[GENERAL] Compiling trigger function with MinGW

2008-05-13 Thread Anton Burkun
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 return

Re: [GENERAL] Compiling trigger function with MinGW

2008-05-13 Thread Hiroshi Saito
Hi. One of question... Was 8.3 of a main part built for yourself(MinGW)? When it is official pginstaller, you should use it by MS-VC+. Regards, Hiroshi Saito - Original Message - From: "Anton Burkun" <[EMAIL PROTECTED]> Hello All. Now I try to link dll with MinGW from Example in P