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: 40E4DA6F.7030209@commandprompt.com (view raw or flat)
Thread:
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.

Sincerely,

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 - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


In response to

Responses

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-2014 The PostgreSQL Global Development Group