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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compile fail on 7.1b6 on cygwin with --enable-cassert
Дата
Msg-id 18235.985365123@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Compile fail on 7.1b6 on cygwin with --enable-cassert  (pgsql-bugs@postgresql.org)
Список 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 по дате отправления:

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Compile fail on 7.1b6 on cygwin with --enable-cassert
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: return error from date_part