Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [206.210.65.6]) by hub.org (8.9.3/8.9.3) with ESMTP id SAA37705 for ; Fri, 4 Jun 1999 18:16:23 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id SAA25248; Fri, 4 Jun 1999 18:15:37 -0400 (EDT) To: "Brendan McKenna" cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] pgsql_perl5 fails to compile In-reply-to: Your message of Tue, 01 Jun 1999 14:28:30 +0000 <199906011323.OAA21560@w3s.ie> Date: Fri, 04 Jun 1999 18:15:37 -0400 Message-ID: <25246.928534537@sss.pgh.pa.us> From: Tom Lane "Brendan McKenna" writes: > When I attempt to compile, I get the following messages: > gcc -c -I/usr/local/pgsql/include -Dbool=char -DHAS_BOOL -O2 -DVERSION=\"1.8.0\" -DXS_VERSION=\"1.8.0\" -fpic -I/usr/lib/perl5/5.00555/i686-linux/CORE Pg.c > Pg.xs: In function `XS_Pg_PQprint': > Pg.xs:584: `na' undeclared (first use this function) > Pg.xs:584: (Each undeclared identifier is reported only once > Pg.xs:584: for each function it appears in.) > Pg.xs: In function `XS_PG_results_fetchrow': > Pg.xs:1256: `sv_undef' undeclared (first use this function) > Pg.xs: In function `XS_PG_results_print': > Pg.xs:1296: `na' undeclared (first use this function) > make: *** [Pg.o] Error 1 After looking at the definition of these symbols in Perl 5.004, I wonder whether the problem is related to Perl's EMBED/NO_EMBED option. Perhaps the perl5 interface fails to compile if you have installed Perl with the nondefault setting of that option? This is a bit of a stretch, but given that we have heard no other complaints, I'm guessing there must be *some* unusual aspect of your local setup that triggers the failure. regards, tom lane