From: | Adrian Schreyer <ams214(at)cam(dot)ac(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | cannot compile www_fdw Foreign Data Wrapper |
Date: | 2012-05-17 15:45:51 |
Message-ID: | CACYduyKbpd8DqMSkGZVypyxVEOo0aT=Se-M9-Ad5LERxqxCNPg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi all,
I am trying to compile the www_fdw foreign data wrapper on PostgreSQL
9.2 beta but I am getting the following error:
cp sql/www_fdw.sql sql/www_fdw--0.1.0.sql
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o src/json_parser.o
src/json_parser.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o
src/serialize_quals.o src/serialize_quals.c
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -fPIC -DLINUX_OOM_ADJ=0
-Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
-fwrapv -fexcess-precision=standard -g -fpic -I/usr/include/libxml2
-I. -I. -I/usr/include/postgresql/9.2/server
-I/usr/include/postgresql/internal -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE
-I/usr/include/libxml2 -I/usr/include/tcl8.5 -c -o src/www_fdw.o
src/www_fdw.c
src/www_fdw.c:126:1: error: unknown type name ‘FdwPlan’
src/www_fdw.c: In function ‘www_fdw_handler’:
src/www_fdw.c:309:12: error: ‘FdwRoutine’ has no member named ‘PlanForeignScan’
src/www_fdw.c: At top level:
src/www_fdw.c:434:1: error: unknown type name ‘FdwPlan’
src/www_fdw.c: In function ‘www_plan’:
src/www_fdw.c:437:2: error: unknown type name ‘FdwPlan’
src/www_fdw.c:441:12: error: ‘FdwPlan’ undeclared (first use in this function)
src/www_fdw.c:441:12: note: each undeclared identifier is reported
only once for each function it appears in
src/www_fdw.c:441:12: error: expected expression before ‘)’ token
src/www_fdw.c:442:9: error: request for member ‘fdw_private’ in
something not a structure or union
make: *** [src/www_fdw.o] Error 1
Any ideas what the problem could be?
From | Date | Subject | |
---|---|---|---|
Next Message | Seref Arikan | 2012-05-17 17:40:16 | Re: Is EXISTS the most efficient approach for PostgreSql to check for existence of nodes in a tree? |
Previous Message | Paulo Correia | 2012-05-17 15:10:17 | Re: Postgres 9.0 Streaming Replication and Load Balancing? |