Re: problem with MyBackendId

Поиск
Список
Период
Сортировка
От Andreas 'ads' Scherbaum
Тема Re: problem with MyBackendId
Дата
Msg-id 20050810234819.56069264.adsmail@wars-nicht.de
обсуждение исходный текст
Ответ на Re: problem with MyBackendId  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers-win32
On Tue, 02 Aug 2005 18:33:54 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> "Andreas 'ads' Scherbaum" <adsmail@wars-nicht.de> writes:
> > i successfully installed PostgreSQL 8.0.3 and MingW on a windows xp box
> > and tried to compile a module of mine. Thats the error i got back:
>
> > nmth000000.o(.idata$4+0x0): undefined reference to `_nm__MyBackendId'
>
> MyBackendId isn't DLLIMPORT'ed.  I believe you can hack around this by
> doing
>
> extern DLLIMPORT BackendId MyBackendId;
>
> in your own code.

this works.

Thanks for the tip.


Kind regards

--
                Andreas 'ads' Scherbaum
Failure is not an option. It comes bundled with your Microsoft product.
 (Ferenc Mantfeld)

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Installing postgres on win XP
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Installing postgres on win XP