Re: Linking to palloc and elog. (fwd)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Linking to palloc and elog. (fwd)
Дата
Msg-id 25396.963208883@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Linking to palloc and elog. (fwd)  ("Robert J. Sprawls" <sprawlsr@worldnet.att.net>)
Список pgsql-general
"Robert J. Sprawls" <sprawlsr@worldnet.att.net> writes:
> gcc -g -I /usr/pgsql/include testepg.o compos.o vect3d.o -o testepg
> compos.o: In function `compos_in':

> /home/sprawlsr/devel/projects/galwars/misc/compos.c:10: undefined
> reference to `elog'

Sounds like you're trying to make a standalone program from something
that's intended to be a dynamically loaded addon to the backend
(ie, a shared library).  There are some examples in contrib/ of the
right way to do this.

            regards, tom lane

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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Find all the dates in the calendar week?
Следующее
От: Chris Bitmead
Дата:
Сообщение: Re: Slashdot discussion