Re: problems with configure

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: problems with configure
Date: 2000-11-08 21:11:42
Message-ID: 00110818114203.10186@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-11-08 21:17:03 Re: problems with configure
Previous Message Tom Lane 2000-11-08 21:01:57 Re: problems with configure