can't compile thread.c (PG7.4b1/Linux/GCC 3.3)
От | Janko Richter |
---|---|
Тема | can't compile thread.c (PG7.4b1/Linux/GCC 3.3) |
Дата | |
Msg-id | 3F4B7DCB.5010001@yahoo.de обсуждение исходный текст |
Ответы |
Re: can't compile thread.c (PG7.4b1/Linux/GCC 3.3)
|
Список | 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)
В списке pgsql-ports по дате отправления: