[HACKERS] PostgreSQL 10beta1 - compilation fails on OpenBSD -current - Mailing list pgsql-hackers

From Pierre-Emmanuel André
Subject [HACKERS] PostgreSQL 10beta1 - compilation fails on OpenBSD -current
Date
Msg-id 20170519090336.whzmjzrsap6ktbgg@digipea.digitick.local
Whole thread Raw
Responses Re: [HACKERS] PostgreSQL 10beta1 - compilation fails on OpenBSD-current  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Hi,

I tried to build PostgreSQL 10beta1 on OpenBSD -current and i have this error:

gmake[3]: Entering directory '/usr/ports/pobj/postgresql-10beta1/postgresql-10beta1/src/backend/libpq'
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security-fno-strict-aliasing -fwrapv -O2 -pipe -I../../../src/include -I/usr/local/include
-I/usr/local/include/libxml2-I/usr/local/include    -c -o be-fsstubs.o be-fsstubs.c
 
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security-fno-strict-aliasing -fwrapv -O2 -pipe -I../../../src/include -I/usr/local/include
-I/usr/local/include/libxml2-I/usr/local/include    -c -o be-secure.o be-secure.c
 
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security-fno-strict-aliasing -fwrapv -O2 -pipe -I../../../src/include -I/usr/local/include
-I/usr/local/include/libxml2-I/usr/local/include    -c -o auth.o auth.c
 
auth.c: In function 'CheckBSDAuth':
auth.c:2265: error: too few arguments to function 'sendAuthRequest'


In auth.c, there is this call:
/* Send regular password request to client, and get the response */
sendAuthRequest(port, AUTH_REQ_PASSWORD);

but this function is defined like this:
static void sendAuthRequest(Port *port, AuthRequest areq, char *extradata,int extralen);


Regards,



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: [HACKERS] Redundant check of em_is_child
Next
From: Heikki Linnakangas
Date:
Subject: Re: [HACKERS] PostgreSQL 10beta1 - compilation fails on OpenBSD-current