Re: can't compile thread.c (PG7.4b1/Linux/GCC 3.3)
От | Bruce Momjian |
---|---|
Тема | Re: can't compile thread.c (PG7.4b1/Linux/GCC 3.3) |
Дата | |
Msg-id | 200308261847.h7QIl0T09568@candle.pha.pa.us обсуждение исходный текст |
Ответ на | can't compile thread.c (PG7.4b1/Linux/GCC 3.3) (Janko Richter <jankorichter@yahoo.de>) |
Список | pgsql-ports |
We have fixed this in current sources. You can download that or wait for beta2, which should be released shortly. --------------------------------------------------------------------------- Janko Richter wrote: > > > 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) > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- 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
В списке pgsql-ports по дате отправления: