Re: Re: Call for platforms

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: Call for platforms
Date: 2001-03-26 22:15:12
Message-ID: 1001.985644912@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Karl DeBisschop <kdebisschop(at)range(dot)infoplease(dot)com> writes:
> In my tests on sparc/7 my compile died at line 3088 of
> postgresql-7.1beta6/src/interfaces/python/pgmodule.c:

> ./pgmodule.c:3088: parse error before `init_pg'

> That's line 3137 of today's (22Mar) snapshot, which reads:

> /* Initialization function for the module */
> DL_EXPORT(void)
> init_pg(void)
> {

What version of Python are you using? In Python 1.5, I find this
in Python.h:

#ifndef DL_EXPORT /* declarations for DLL import/export */
#define DL_EXPORT(RTYPE) RTYPE
#endif

which should make the above work.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mathijs Brands 2001-03-26 22:26:13 Re: Re: Call for platforms
Previous Message Thomas Lockhart 2001-03-26 21:50:17 Re: Call for platforms

Browse pgsql-hackers by date

  From Date Subject
Next Message Mathijs Brands 2001-03-26 22:26:13 Re: Re: Call for platforms
Previous Message Thomas Lockhart 2001-03-26 21:50:17 Re: Call for platforms