From: | Janko Richter <jankorichter(at)yahoo(dot)de> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | can't compile thread.c (PG7.4b1/Linux/GCC 3.3) |
Date: | 2003-08-26 15:33:31 |
Message-ID: | 3F4B7DCB.5010001@yahoo.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
An error occurs while compiling src/port/threads.c :
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../src/include -I/usr/include -c -o threads.o threads.c
threads.c: In function `pqGetpwuid':
threads.c:49: error: 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: error: too few arguments to function `gethostbyname_r'
threads.c:74: warning: assignment makes pointer from integer without a cast
make[2]: *** [threads.o] Error 1
make[2]: Leaving directory `/usr/src/postgresql-7.4beta1/src/port'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.4beta1/src'
make: *** [all] Error 2
PostgreSQL : 7.4 Beta 1
Configure :
./configure --with-openssl=/usr --enable-integer-datetimes
--enable-thread-safety
System: SuSE Linux 8.2
Used compiler:
ip-58:/usr/src/postgresql-7.4beta1 # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)
From | Date | Subject | |
---|---|---|---|
Next Message | Chris M | 2003-08-26 15:39:59 | Re: Windows port |
Previous Message | Bupp Phillips | 2003-08-25 19:47:49 | Windows port |