From: | Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de> |
---|---|
To: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: problem with MyBackendId |
Date: | 2005-08-10 21:48:19 |
Message-ID: | 20050810234819.56069264.adsmail@wars-nicht.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
On Tue, 02 Aug 2005 18:33:54 -0400
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2005-08-11 07:50:37 | Re: Installing postgres on win XP |
Previous Message | Bruce Momjian | 2005-08-09 18:28:45 | Re: Installing postgres on win XP |