compile error on slackware 9.0 while --enable-thread-safety

From: Weiping He <laser(at)zhengmai(dot)com(dot)cn>
To: pgsql-general(at)postgresql(dot)org
Subject: compile error on slackware 9.0 while --enable-thread-safety
Date: 2003-08-07 03:57:24
Message-ID: 3F31CE24.6090701@zhengmai.com.cn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

while remove --enable-thread-safety everything ok.
what's the matter?
the error output:
---------------------------8<-------------------------------------------------------------
make[2]: Entering directory `/usr/laser/postgresql-7.4beta1/src/port'
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../src/include -c -o path.o path.c
gcc -O2 -g -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
---------------------------8<-------------------------------------------------------------

Thanks and regards

Laser

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2003-08-07 04:27:26 Re: Setting/Accessing Internal data
Previous Message Weiping He 2003-08-07 03:36:58 compile error of 7.4 beta1 on AIX 4.3.3