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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: problem with MyBackendId


  • From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
  • To: pgsql-hackers-win32(at)postgresql(dot)org
  • Subject: Re: problem with MyBackendId
  • Date: Wed, 10 Aug 2005 23:48:19 +0200
  • Message-id: <20050810234819(dot)56069264(dot)adsmail(at)wars-nicht(dot)de>

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)



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group