Re: problems with configure

Поиск
Список
Период
Сортировка
От Martin A. Marques
Тема Re: problems with configure
Дата
Msg-id 00110417353300.25400@math.unl.edu.ar
обсуждение исходный текст
Ответ на Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Vie 03 Nov 2000 22:16, Tom Lane wrote:
>
> Hm, how do your system's include files declare accept()?
>
> It would help to see the part of the config.log file that shows the
> errors configure gets while trying to find workable input types for
> accept().

The config.log file starts given fails at this point:

configure:5383: checking for struct sockaddr_un
configure:5398: gcc -c  -g   conftest.c 1>&5
configure:5422: checking for int timezone
configure:5434: gcc -o conftest  -g     conftest.c -lz -lgen -lnsl -lsocket 
-ldl -lm -lreadline -ltermcap -lcurses  1>&5
configure:5454: checking types of arguments for accept()
configure:5481: gcc -c  -g   conftest.c 1>&5
configure:5475: conflicting types for `accept'
/usr/include/sys/socket.h:384: previous declaration of `accept'
configure: failed program was:
#line 5468 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
extern accept (int, struct sockaddr *, int *);
int main() {
; return 0; }

I see there that the extern accept function is different from the one that 
Peter Eisentraut wrote in his mail. Could there be somthing wrong in the cvs 
code, or in one of the Solaris headers?

Saludos... :-)


-- 
"And I'm happy, because you make me feel good, about me." - Melvin Udall
-----------------------------------------------------------------
Martín Marqués            email:     martin@math.unl.edu.ar
Santa Fe - Argentina        http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Transaction ID wraparound: problem and proposed solution
Следующее
От: Bruce Momjian
Дата:
Сообщение: DROP [PROCEDURAL] LANGUAGE