Re: problems with configure - Mailing list pgsql-hackers

From Martin A. Marques
Subject Re: problems with configure
Date
Msg-id 00110608142700.32663@math.unl.edu.ar
Whole thread Raw
In response to Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sáb 04 Nov 2000 18:54, Tom Lane wrote:
> "Martin A. Marques" <martin@math.unl.edu.ar> writes:
> > On Vie 03 Nov 2000 22:16, Tom Lane wrote:
> >> Hm, how do your system's include files declare accept()?
> >
> > The config.log file starts given fails at this point:
> > configure:5475: conflicting types for `accept'
> > /usr/include/sys/socket.h:384: previous declaration of `accept'
>
> So how does /usr/include/sys/socket.h declare accept() ?

Well, my socket.h declares accept this way:

extern int accept(int, struct sockaddr *, Psocklen_t);

It's the same line I have on a Solaris 8 Sparc, in which I have a 
PostgreSQL-7.0.2 compiled (without a problem) and running.

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 by date:

Previous
From: Michael Meskes
Date:
Subject: CVS problem
Next
From: "Martin A. Marques"
Date:
Subject: Re: problems with configure