Re: problem with MyBackendId

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: problem with MyBackendId
Date: 2005-08-02 22:33:54
Message-ID: 25079.1123022034@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

"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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Richard Luckhurst 2005-08-02 22:45:52 Problem installing Postgresql 8 on Win 2000
Previous Message Andreas 'ads' Scherbaum 2005-08-02 22:08:34 problem with MyBackendId