X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D1E98D1B1A0 for ; Fri, 28 May 2004 10:45:58 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 28179-04 for ; Fri, 28 May 2004 10:45:41 -0300 (ADT) Received: from jimsun.linxnet.com (jimsun.linxnet.com [64.32.196.134]) by svr1.postgresql.org (Postfix) with ESMTP id ABC90D1BA91 for ; Fri, 28 May 2004 10:45:35 -0300 (ADT) Received: by jimsun.linxnet.com (Postfix, from userid 332) id 2ADD3430E; Fri, 28 May 2004 09:45:39 -0400 (EDT) To: pgsql-admin@postgresql.org Subject: Re: Compiling problems with 7.4.2 Reply-To: pgsql-admin@postgresql.org Message-Id: <20040528134539.2ADD3430E@jimsun.linxnet.com> Date: Fri, 28 May 2004 09:45:39 -0400 (EDT) From: jseymour@linxnet.com (Jim Seymour) X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/303 X-Sequence-Number: 13619 > > I ran into a problem compiling 7.4.2 on Sun Solaris. The details are as > follows. Thanks > > SunOS 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-1 [snip] > > gcc -O3 -pthreads -fno-strict-aliasing -Wall -Wmissing-prototypes > -Wmissing-declaration > s -fPIC -I. -I../../../src/include -I/usr/local/include > -I/usr/local/ssl/include -DFRO > NTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"' -c -o thread.o thread.c > thread.c: In function `pqGetpwuid': > thread.c:116: error: too many arguments to function `getpwuid_r' [snip] > This is fixed in CVS. Or you can apply this patch http://jimsun.linxnet.com/misc/pgsql-7.4.2.patch to a freshly-extracted 7.4.2 tarball (*before* running configure). Standard Disclaimer: No warranties, express or implied. I'm running 7.4.2 on both a Sparc Solaris 7 and a Sparc Solaris 8 machine, with that patch. Jim