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

Re: compile errors in new PL/Pler

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: compile errors in new PL/Pler
Date: 2004-07-02 03:45:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Christopher Kings-Lynne wrote:

> gmake[3]: Entering directory `/space/1/home/chriskl/pgsql/src/pl/plperl'
> gcc -O2 -fno-strict-aliasing -g -fpic -DPIC -I. 
> -I/usr/libdata/perl/5.00503/mach/CORE -I../../../src/include   -c -o 
> SPI.o SPI.c -MMD

I am going to bet dollars to donuts that it is your perl version. Perl 
5.00503 is ancient. Try upgrading to at least 5.6.


Joshua D. Drake

> SPI.xs: In function `XS__spi_exec_query':
> SPI.xs:51: `aTHX_' undeclared (first use in this function)
> SPI.xs:51: (Each undeclared identifier is reported only once
> SPI.xs:51: for each function it appears in.)
> SPI.xs:51: syntax error before string constant
> gmake[3]: *** [SPI.o] Error 1
> gmake[3]: Leaving directory `/space/1/home/chriskl/pgsql/src/pl/plperl'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/space/1/home/chriskl/pgsql/src/pl'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/space/1/home/chriskl/pgsql/src'
> gmake: *** [all] Error 2
> Chris
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com -
PostgreSQL Replicator -- production quality replication for PostgreSQL

In response to


pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2004-07-02 03:59:01
Subject: Re: Bug with view definitions?
Previous:From: Tom LaneDate: 2004-07-02 03:40:03
Subject: Re: Bug with view definitions?

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