pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
Date: Tue, 07 Mar 2017 11:06:30 -0500
Message-ID: <14258.1488902790@sss.pgh.pa.us> (raw)
In-Reply-To: <ec8d7581-c403-11c1-b708-dce08be79197@iki.fi>
References: <E1clECL-0002jF-I1@gemulon.postgresql.org>
	<1eac16db-3f73-a524-63bc-2516b56aca1a@2ndquadrant.com>
	<ec8d7581-c403-11c1-b708-dce08be79197@iki.fi>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Heikki Linnakangas <hlinnaka@iki.fi> writes:
> I also noticed that the HPUX buildfarm members pademelon and gaur 
> failed, with this:
> /usr/ccs/bin/ld: Unsatisfied symbols:
>     htonl (code)
> I will look into that too.

I think the critical part of their report is

scram-common.c: In function `scram_Hi':
scram-common.c:106: warning: implicit declaration of function `htonl'

There are two headers that we commonly include when wanting those
functions:

/* for ntohl/htonl */
#include <netinet/in.h>
#include <arpa/inet.h>

I think you probably left out one or both.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (6+ messages)

Message-ID: <14258.1488902790@sss.pgh.pa.us>
Permalink:  ../14258.1488902790@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14258.1488902790@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, peter.eisentraut@2ndquadrant.com
  Subject: Re: pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
  In-Reply-To: <14258.1488902790@sss.pgh.pa.us>
  References: <E1clECL-0002jF-I1@gemulon.postgresql.org> <1eac16db-3f73-a524-63bc-2516b56aca1a@2ndquadrant.com> <ec8d7581-c403-11c1-b708-dce08be79197@iki.fi> <14258.1488902790@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox