Re: ss_family in hba.c

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Kurt Roeckx <Q(at)ping(dot)be>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ss_family in hba.c
Date: 2003-06-20 23:56:30
Message-ID: 20030620235630.GA17213@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-general pgsql-hackers pgsql-patches

On Thu, Jun 19, 2003 at 23:01:19 +0200,
Kurt Roeckx <Q(at)ping(dot)be> wrote:
> On Tue, Jun 17, 2003 at 11:01:27PM -0500, Bruno Wolff III wrote:
> >
> > My system does have its own sockaddr_storage definition. I think
> > it uses __ss_ as the prefix. Also, after looking at the fallback
> > definition in pqcomm.h, I don't see where that defines ss_family
> > and hence don't see how that could work.
> > I am going to see if adding __ works as suggested by someone else
> > who replied.
>
> See if this patch helps.
>
> Don't forget to run autoconf after applying the patch.

I get an error message running autoconf claiming I need to be using
version 2.53 or higher. However, normally I build from CVS without
using it (directly). I run configure and then make. I am guessing
that autoconf is used to make a new configure file from configure.in?
I can see about getting a new version of autoconf up and running.
In the meantime the compile error happens in a different program than
it did previously:
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../src/include -c printtup.c -o printtup.o
In file included from ../../../../src/include/libpq/libpq-be.h:22,
from ../../../../src/include/libpq/libpq.h:21,
from printtup.c:20:
../../../../src/include/libpq/pqcomm.h:82: #error struct sockaddr_storage does not provide an ss_family member
make[4]: *** [printtup.o] Error 1

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-21 00:19:21 Re: ss_family in hba.c
Previous Message Sailesh Krishnamurthy 2003-06-20 21:23:08 Re: [HACKERS] psql

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 2003-06-21 00:10:57 Re: [GENERAL] MySQL gets $19.5 MM
Previous Message David Olbersen 2003-06-20 22:52:46 Re: Database geeks

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-06-21 00:19:21 Re: ss_family in hba.c
Previous Message Jason Earl 2003-06-20 23:43:03 Re: Two weeks to feature freeze

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-06-21 00:08:49 Re: Patch to be verbose about being unable to read ~/.pgpasss...
Previous Message Sean Chittenden 2003-06-20 23:31:12 Re: Patch to be verbose about being unable to read ~/.pgpasss...