Re: clang and postgresql90

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 04 Apr 2011 00:47:18 +0200
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
Received on Sun Apr 03 2011 - 20:47:16 UTC

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