[Pgpool-general] Build bug with 3.0.4 and 9.1b3

Josh Berkus josh at agliodbs.com
Thu Jul 21 23:21:07 UTC 2011


All,

I'm working on pgpool with PostgreSQL 9.1.  Most of it works, but I
can't seem to build the regclass:

/usr/local/src/pgpool-II-3.0.4/sql/pgpool-regclass# make
sed 's,MODULE_PATHNAME,$libdir/pgpool-regclass,g' pgpool-regclass.sql.in
>pgpool-regclass.sql
gcc -g -O2 -fPIC -fPIC -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wformat-security
-fno-strict-aliasing -fwrapv -g -fpic -I. -I.
-I/usr/include/postgresql/9.1/server -I/usr/include/postgresql/internal
-D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.5  -c -o
pgpool-regclass.o pgpool-regclass.c
pgpool-regclass.c:55: error: static declaration of 'get_namespace_oid'
follows non-static declaration
/usr/include/postgresql/9.1/server/catalog/namespace.h:99: note:
previous declaration of 'get_namespace_oid' was here
make: *** [pgpool-regclass.o] Error 1

Note that PostgreSQL 9.1b3 was installed using Martin's Ubuntu packages.
 And I didn't see this issue with 3.0.3 and PostgreSQL 9.1alpha4.  Any
idea what the issue is?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


More information about the Pgpool-general mailing list