Re: Compile fail on 7.1b6 on cygwin with --enable-cassert - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Compile fail on 7.1b6 on cygwin with --enable-cassert
Date
Msg-id 18235.985365123@sss.pgh.pa.us
Whole thread Raw
In response to Compile fail on 7.1b6 on cygwin with --enable-cassert  (pgsql-bugs@postgresql.org)
List 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

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Compile fail on 7.1b6 on cygwin with --enable-cassert
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: return error from date_part