Re: problems compiling CVS HEAD - LDAP auth and Kerberos

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problems compiling CVS HEAD - LDAP auth and Kerberos
Date: 2006-03-16 18:12:30
Message-ID: 18458.1142532750@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> writes:
> Compiling src/interfaces/libpq/fe-auth.c on Linux I get

> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement -fno-strict-aliasing
> -I../../../src/include -D_GNU_SOURCE -I/usr/kerberos/include -c -o
> auth.o auth.c
> auth.c:793:1: directives may not be used inside a macro argument
> auth.c:792:56: unterminated argument list invoking macro "ereport"
> auth.c: In function `CheckLDAPAuth':
> auth.c:794: warning: implicit declaration of function `ereport'
> auth.c:798: syntax error before ')' token

Fixed, thanks for the report.

Anybody want to enable the LDAP code on any of the buildfarm machines?
This shoulda been noticed sooner.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-03-16 18:56:10 Re: problems compiling CVS HEAD - LDAP auth and Kerberos
Previous Message Jonah H. Harris 2006-03-16 16:30:11 Re: Separate BLCKSZ for data and logging