Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group