Re: Compile fail on 7.1b6 on cygwin with --enable-cassert

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: shenshall(at)westcountrypublications(dot)co(dot)uk, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Compile fail on 7.1b6 on cygwin with --enable-cassert
Date: 2001-03-23 16:32:03
Message-ID: 18235.985365123@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2001-03-23 19:34:26 return error from date_part
Previous Message Alexander Klimov 2001-03-23 15:59:50 Re: Tests randomly failed