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)