Re: Compile fail on 7.1b6 on cygwin with --enable-cassert
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: shenshall@westcountrypublications.co.uk, pgsql-bugs@postgresql.org
Date: 2001-03-23T16:32:03Z
Lists: pgsql-bugs
pgsql-bugs@postgresql.org writes: > dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o ../../../../src/utils/dllinit.o -L../../../../src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32 > pl_exec.o(.text+0x709):pl_exec.c: undefined reference to `assert_enabled' > pl_exec.o(.text+0x730):pl_exec.c: undefined reference to `FailedAssertion' > collect2: ld returned 1 exit status Hm. Looks like these variables need to be marked DLLIMPORT. Thanks for the report. regards, tom lane