clang and postgresql90
Christer Solskogen
christer.solskogen at gmail.com
Mon Apr 4 06:21:16 UTC 2011
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,
More information about the freebsd-current
mailing list