Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 73B6F2E0057 for ; Thu, 1 May 2008 04:43:36 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 22866-10 for ; Thu, 1 May 2008 04:43:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from stat-kv.express.net.ua (stat-kv.express.net.ua [80.254.10.86]) by developer.postgresql.org (Postfix) with ESMTP id 5E2AC2E0050 for ; Thu, 1 May 2008 04:43:33 -0300 (ADT) Received: from [127.0.0.1] (unknown [89.21.76.21]) by mail.mycard.net.ua (Postfix) with ESMTP id 735A435E9A1 for ; Thu, 1 May 2008 10:41:29 +0300 (EEST) Message-ID: <4819753D.5000309@ukr.net> Date: Thu, 01 May 2008 10:46:05 +0300 From: Anton Burkun User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: pgsql-ports@postgresql.org Subject: Compiling trigger function with MinGW X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 080430-1, 30.04.2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.422 tagged_above=0 required=5 tests=AWL=0.422 X-Spam-Level: X-Archive-Number: 200805/1 X-Sequence-Number: 2623 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