[PATCH] Patch to fix libecpg.so for isinf missing

Поиск
Список
Период
Сортировка
От Jiang Guiqing
Тема [PATCH] Patch to fix libecpg.so for isinf missing
Дата
Msg-id 50BC34D0.7070503@cn.fujitsu.com
обсуждение исходный текст
Ответы Re: [PATCH] Patch to fix libecpg.so for isinf missing
Список pgsql-hackers
hi

isinf() is not build to libecpg.so if build and install postgresql by
source on solaris9.
(isinf() is not contained within solaris9 system.)

bash-2.05$ nm /usr/local/pgsql/lib/libecpg.so | grep isinf
[215]   |         0|       0|FUNC |GLOB |0    |UNDEF  |isinf

It(isinf missing) will causes ecpg program compile error such as follows.

bash-2.05$ ecpg test.pgc
bash-2.05$ cc -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -lecpg
test.c -o test
Undefined                       first referenced
  symbol                             in file
isinf                               /usr/local/pgsql/lib/libecpg.so
ld: fatal: Symbol referencing errors. No output written to test


I modify src/interfaces/ecpg/ecpglib/Makefile to resolve this problem.
The diff file refer to the attachment "ecpglib-Makefile.patch".

Regards,
Jiang Guiqing

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Steve Singer
Дата:
Сообщение: Re: [PATCH 11/14] Introduce wal decoding via catalog timetravel
Следующее
От: "Etsuro Fujita"
Дата:
Сообщение: Re: Patch for removng unused targets