Skip site navigation (1) Skip section navigation (2)

Re: problem compiling 7.4.3

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Renney Thomas <renneyt(at)yahoo(dot)com>
Cc: postgres <pgsql-admin(at)postgresql(dot)org>
Subject: Re: problem compiling 7.4.3
Date: 2004-06-16 23:58:08
Message-ID: 200406162358.i5GNw8w12633@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
The attached patch fixes the problem.  You need to re-run configure and
recompile the code.  This will be fixed in 7.4.4 too.

---------------------------------------------------------------------------

Renney Thomas wrote:
> While compiling 7.4.3 on Solaris 8 (sparc) I got:
> 
> rm -f thread.c && ln -s ../../../src/port/thread.c .
> gcc -pthreads -O3 -fno-strict-aliasing -Wall -Wmissing-prototypes 
> -Wmissing-declar
> ations -fPIC -I. -I../../../src/include -I/usr/local/include 
> -I/usr/local/ssl/incl
> ude -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND 
> -DSYSCONFDIR='"/usr/local/p
> gsql/etc"'  -c -o thread.o thread.c
> thread.c: In function `pqGetpwuid':
> thread.c:119: error: too few arguments to function `getpwuid_r'
> thread.c:119: warning: assignment makes pointer from integer without a cast
> gmake[3]: *** [thread.o] Error 1
> gmake[3]: Leaving directory `/opt/sft/postgresql-7.4.3/src/interfaces/libpq'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/opt/sft/postgresql-7.4.3/src/interfaces'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/opt/sft/postgresql-7.4.3/src'
> 
> 
> GCC:
> Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.8/3.4.0/specs
> Configured with: ../configure --with-as=/usr/ccs/bin/as 
> --with-ld=/usr/ccs/bin/ld
> --disable-nls
> Thread model: posix
> gcc version 3.4.0
> 
> 
> SunOS  5.8 Generic_117350-02 sun4u sparc SUNW,Ultra-1
> 
> Any patch files for this?
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-admin by date

Next:From: Adam SmithDate: 2004-06-17 03:35:37
Subject: PostgresSQL 7.3.x removal
Previous:From: Jim SeymourDate: 2004-06-16 23:09:31
Subject: Re: problem compiling 7.4.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group