Re: problems with configure - Mailing list pgsql-hackers

From Martin A. Marques
Subject Re: problems with configure
Date
Msg-id 00110818114203.10186@math.unl.edu.ar
Whole thread Raw
In response to Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: problems with configure
List pgsql-hackers
On Mié 08 Nov 2000 18:01, Tom Lane wrote:
>
> Well, that tells the tale all right: the critical lines are
>
>     typedef    uint32_t    socklen_t;
>
>     typedef    void        *Psocklen_t;
>
>     extern int accept(int, struct sockaddr *, Psocklen_t);
>
> What brainless idiot decided it would be a good idea to declare
> accept's last argument as void*, do you suppose?  (At least you
> report that Solaris 8 no longer has this folly, so they did get
> a clue eventually.)
>
> Not sure what to do about this.  It will clearly not do to define
> ACCEPT_TYPE_ARG3 as void.  Perhaps we need a special case for
> Solaris 7: if we detect that accept() is declared with "void *",
> assume that socklen_t is the thing to use.  Peter, any thoughts?

No. Forgot to tell my latest experience.

1) postgres 7.0.2 compiles great on Solaris 7 and Solaris 8.
2) postgres cvs (latest download) doesn't compile (same error on both) on 
Solaris 7 nor Solaris 8.

So it isn't a Solaris 7 problem, but a Solaris problem. ;-)
I just wish we could install linux on one of these SPARC to have something 
good 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: Tom Lane
Date:
Subject: Re: problems with configure
Next
From: Tom Lane
Date:
Subject: Re: problems with configure