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:  [EMAIL PROTECTED]
Santa Fe - Argentina            http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

Reply via email to