Date: Mon, 4 Apr 2011 08:20:55 +0200 From: Christer Solskogen <christer.solskogen@gmail.com> To: Dimitry Andric <dim@freebsd.org> Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: clang and postgresql90 Message-ID: <BANLkTik4FBsnFiduAPWFOJOnnzuKj_6S0Q@mail.gmail.com> In-Reply-To: <4D98F8F6.3060409@FreeBSD.org> References: <BANLkTinE8N=WAi7sDW5xuBXORk1_R-QMYA@mail.gmail.com> <4D98F8F6.3060409@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 4, 2011 at 12:47 AM, Dimitry Andric <dim@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. =A0You will get the same error if you use gcc. > > Patch: > http://www.andric.com/freebsd/binutils/bu217-databases-postgresql90-serve= r-1.diff > > Similar one for postgres 8.4: > http://www.andric.com/freebsd/binutils/bu217-databases-postgresql84-serve= r-1.diff > Okay, thanks :-) --=20 chs,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik4FBsnFiduAPWFOJOnnzuKj_6S0Q>