From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kalyan (FS) <kalyan@frontline.com.sg>
Cc: pgsql-admin@postgresql.org
Subject: Re: `__builtin_va_alist' undeclared
Date: Thu, 11 Sep 2003 10:12:54 -0400
Message-ID: <26552.1063289574@sss.pgh.pa.us> (raw)
In-Reply-To: <GGENKHBOIHHPMIIEPACNIEIKCKAA.kalyan@frontline.com.sg>
References: <GGENKHBOIHHPMIIEPACNIEIKCKAA.kalyan@frontline.com.sg>
"Kalyan (FS)" <kalyan@frontline.com.sg> writes:
> I am installing postgresql-7.3.4 on solaris sparc 2.8.
> gcc -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/includ
> e -I/usr/local/include -I/usr/include -c -o
> stringinfo.o stringinfo.c
> stringinfo.c: In function `appendStringInfo':
> stringinfo.c:126: `__builtin_va_alist' undeclared (first use in this
> function)
It seems not to be picking up the gcc-specific version of <stdarg.h>.
I don't know how you configured PG, but if I were you I'd get rid of
the explicit -I/usr/include --- that is unnecessary, and it is very
likely causing the Solaris-standard versions of include files to be
picked up instead of the gcc-specific ones. For that matter, I rather
doubt that you need -I/usr/local/include ... every gcc installation
I've ever dealt with will search that by default, too.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, kalyan@frontline.com.sg
Subject: Re: `__builtin_va_alist' undeclared
In-Reply-To: <26552.1063289574@sss.pgh.pa.us>
References: <GGENKHBOIHHPMIIEPACNIEIKCKAA.kalyan@frontline.com.sg> <26552.1063289574@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox