Renney Thomas
2004-06-16 22:33:09 UTC
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
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