Re: compile errors in new PL/Pler - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: compile errors in new PL/Pler
Date
Msg-id 40E4DA6F.7030209@commandprompt.com
Whole thread Raw
In response to compile errors in new PL/Pler  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: compile errors in new PL/Pler  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List 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@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug with view definitions?
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Bug with view definitions?