X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F1FA0D1B4EC for ; Thu, 11 Sep 2003 14:13:06 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 42086-07 for ; Thu, 11 Sep 2003 11:13:00 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 0B16ED1B4E6 for ; Thu, 11 Sep 2003 11:12:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h8BECtAn026553; Thu, 11 Sep 2003 10:12:56 -0400 (EDT) To: "Kalyan (FS)" Cc: pgsql-admin@postgresql.org Subject: Re: `__builtin_va_alist' undeclared In-reply-to: References: Comments: In-reply-to "Kalyan (FS)" message dated "Thu, 11 Sep 2003 19:44:30 +0800" Date: Thu, 11 Sep 2003 10:12:54 -0400 Message-ID: <26552.1063289574@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/184 X-Sequence-Number: 10272 "Kalyan (FS)" 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 . 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