Re: clang and postgresql90

From: Christer Solskogen <christer.solskogen_at_gmail.com>
Date: Mon, 4 Apr 2011 08:20:55 +0200
On Mon, Apr 4, 2011 at 12:47 AM, Dimitry Andric <dim_at_freebsd.org> wrote:
> On 2011-04-03 20:15, Christer Solskogen wrote:
>>
>> I'm just wondering if anyone else has trouble compiling postgresql90
>> with clang. I get this (and I cant seem to find anything online that
>> somebody else had that same problem):
>
> ...
>>
>> libpq/auth.o: In function `ClientAuthentication':
>> auth.c:(.text+0x51e): undefined reference to `gss_accept_sec_context'
>> auth.c:(.text+0x5c7): undefined reference to `gss_release_buffer'
>
> ...
>
> This error is not related to clang, but a problem with postgresql's
> configure script, in combination with the updated binutils in the base
> system.  You will get the same error if you use gcc.
>
> Patch:
> http://www.andric.com/freebsd/binutils/bu217-databases-postgresql90-server-1.diff
>
> Similar one for postgres 8.4:
> http://www.andric.com/freebsd/binutils/bu217-databases-postgresql84-server-1.diff
>

Okay, thanks :-)

-- 
chs,
Received on Mon Apr 04 2011 - 04:21:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:13 UTC