Postgresql-7.4beta1 compilation error - Mailing list pgsql-general

From Thierry Missimilly
Subject Postgresql-7.4beta1 compilation error
Date
Msg-id 3F41F023.91307749@BULL.NET
Whole thread Raw
List pgsql-general
Hi,

I've got the tar ball postgresql-7.4beta1.tar.gz and tried to build it on i686-pc-linux with a RedHat 7.3.

1) configure --with-tcl --enable-thread-safety
(see the attach file for results)

2) gmake

[postgres@tux3 postgresql-7.4beta1]$ gmake
gmake -C doc all
gmake[1]: Entering directory `/home/postgres/postgresql-7.4beta1/doc'
gzip -d -c man.tar.gz | /bin/tar xf -
for file in man1/*.1; do \
  mv $file $file.bak && \
  sed -e 's/\\fR(l)/\\fR(7)/' $file.bak >$file && \
  rm -f $file.bak || exit; \
done
/bin/sh ../config/mkinstalldirs man7
mkdir man7
for file in manl/*.l; do \
  sed -e '/^\.TH/s/"l"/"7"/'   \
              -e 's/\\fR(l)/\\fR(7)/' \
      $file >man7/`basename $file | sed 's/.l$/.7/'` || exit; \
done
gmake[1]: Leaving directory `/home/postgres/postgresql-7.4beta1/doc'
gmake -C src all
gmake[1]: Entering directory `/home/postgres/postgresql-7.4beta1/src'
gmake -C port all
gmake[2]: Entering directory `/home/postgres/postgresql-7.4beta1/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src/include   -c -o path.o path.c
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../src/include   -c -o threads.o threads.c
threads.c: In function `pqGetpwuid':
threads.c:49: too few arguments to function `getpwuid_r'
threads.c:49: warning: assignment makes pointer from integer without a cast
threads.c: In function `pqGethostbyname':
threads.c:74: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type
threads.c:74: too few arguments to function `gethostbyname_r'
threads.c:74: warning: assignment makes pointer from integer without a cast
gmake[2]: *** [threads.o] Error 1
gmake[2]: Leaving directory `/home/postgres/postgresql-7.4beta1/src/port'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/postgres/postgresql-7.4beta1/src'
gmake: *** [all] Error 2
[postgres@tux3 postgresql-7.4beta1]$
 

Any ideas from that problem ?

Thierry
 

Attachment

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Sorting Problem
Next
From:
Date:
Subject: Re: Simulating sequences