Karl DeBisschop <[EMAIL PROTECTED]> 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
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- Re: [HACKERS] Re: Call for platfor... Tom Lane
- Re: [HACKERS] Re: Call for platfor... The Hermit Hacker
- Re: [HACKERS] Re: Call for platfor... Tom Lane
- Re: [HACKERS] Re: Call for platfor... Patrick Welche
- Re: [HACKERS] Re: Call for platfor... The Hermit Hacker
- Re: [HACKERS] Re: Call for platfor... Peter Eisentraut
- Re: [HACKERS] Re: Call for platfor... Tom Lane
- Re: [HACKERS] Re: Call for platforms Peter Eisentraut
- Re: [HACKERS] Re: Call for platforms Peter Eisentraut
- Re: [HACKERS] Re: Call for platforms Karl DeBisschop
- Re: [HACKERS] Re: Call for platforms Tom Lane
- Re: [HACKERS] Re: Call for platforms Mathijs Brands
- Re: [HACKERS] Re: Call for platforms Vince Vielhaber
- Re: [HACKERS] Re: Call for platfor... Mathijs Brands
- [HACKERS] Re: Call for platforms Thomas Lockhart
- Re: [HACKERS] Re: Call for platforms Justin Clift
- Re: [HACKERS] Re: Call for platforms bpalmer
- Re: [HACKERS] Re: Call for platforms Thomas Lockhart
- Re: [HACKERS] Re: Call for platforms bpalmer
- Re: [HACKERS] Re: Call for platforms Peter Eisentraut
- [HACKERS] Re: Call for platforms Peter Eisentraut
