[Fwd: Postgresql-7.4beta1 compilation error]
[Fwd: Postgresql-7.4beta1 compilation error]
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
Re: [Fwd: Postgresql-7.4beta1 compilation error]
We have fixed this in beta2. Thanks. --------------------------------------------------------------------------- Thierry Missimilly wrote: > Hi, > > As i haven't got any reply on my message, i re-post it, as i think it > can help 7.4 developpers. > > Thierry Missimilly -- Start of included mail From: Thierry Missimilly > Date: Tue, 19 Aug 2003 11:38:43 +0200 > Organization: BSIS/R&D > To: postgres general > Subject: Postgresql-7.4beta1 compilation error > X-MIMETrack: Itemize by SMTP Server on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at > 19/08/2003 11:40:15, > Serialize by Router on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at > 19/08/2003 11:40:15, > Serialize complete at 19/08/2003 11:40:15, > Itemize by Router on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at > 19/08/2003 11:40:15, > Serialize by POP3 Server on ECN002/FR/BULL(Release 5.0.12 |February 13, 2003) at > 19/08/2003 11:45:31, > Serialize complete at 19/08/2003 11:45:31 > X-Mozilla-Status2: 00000000 > 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 > [ application/x-unknown-content-type-txtfile is not supported, skipping... ] Content-Description: Card for Thierry Missimilly [ Attachment, skipping... ] -- End of included mail. Content-Description: Card for Thierry Missimilly [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073