problem building tablefunc in 7.4 - Mailing list pgsql-hackers

From Bruno Wolff III
Subject problem building tablefunc in 7.4
Date
Msg-id 20030511144538.GA32447@wolff.to
Whole thread Raw
Responses Re: problem building tablefunc in 7.4
List pgsql-hackers
The last two times (including a snapshot from about 15 minutes ago)
I tried to build 7.4 with tablefunc I got compiler errors with
the output shown below.
I am running redhat 6.2 as my base distribution.

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include   -c tablefunc.c -o
tablefunc.o
tablefunc.c: In function `build_tuplestore_recursively':
tablefunc.c:1166: `StringInfo' undeclared (first use in this function)
tablefunc.c:1166: (Each undeclared identifier is reported only once
tablefunc.c:1166: for each function it appears in.)
tablefunc.c:1166: parse error before `sql'
tablefunc.c:1174: warning: implicit declaration of function `appendStringInfo'
tablefunc.c:1174: `sql' undeclared (first use in this function)
tablefunc.c:1199: parse error before `branchstr'
tablefunc.c:1204: `branchstr' undeclared (first use in this function)
tablefunc.c:1204: warning: implicit declaration of function `makeStringInfo'
tablefunc.c:1207: `chk_branchstr' undeclared (first use in this function)
tablefunc.c:1208: `chk_current_key' undeclared (first use in this function)
tablefunc.c:1322: warning: implicit declaration of function `initStringInfo'
tablefunc.c:1197: warning: `current_branch' might be used uninitialized in this
function
make: *** [tablefunc.o] Error 1



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Return type bug in functions
Next
From: Tom Lane
Date:
Subject: Re: problem building tablefunc in 7.4