On Lun 06 Nov 2000 13:28, Tom Lane wrote:
> "Martin A. Marques" <martin@math.unl.edu.ar> writes:
> >> Hmm ... is it possible that his compiler distinguishes between
> >> "extern int foo(...)" and "extern foo(...)" ? Why don't we
> >> have the return type there, anyway?
> >
> > If it's of any help, I'm on Solaris 7, SPARC, gcc-2.95.2, latest
> > Postgres CVS. Another question would be, why didn't I have problems
> > of this type when I compiled PostgreSQL 7.0.2 on Solaris 8, with the
> > same version of gcc?
>
> Different header files, likely. I'm starting to wonder if Solaris 7
> has some header-file dependency for <sys/socket.h> beyond the one that
> the test is allowing for (<sys/types.h>).
Is there any kind of info you would need that I could provide? If you want I
can send the config.log, output of the configure execution, etc. Even the
socket.h and the types.h.
BTW, I didn't find diffs between Solaris 7 .h files and Solaris 8 headers.
> BTW, does 'Psocklen_t' equate to just 'socklen_t *', or is there
> something strange hidden there?
I don' t have the slightest idea.
--
"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
-----------------------------------------------------------------