Date: Mon, 04 Apr 2011 00:47:18 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Christer Solskogen <christer.solskogen@gmail.com> Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: clang and postgresql90 Message-ID: <4D98F8F6.3060409@FreeBSD.org> In-Reply-To: <BANLkTinE8N=WAi7sDW5xuBXORk1_R-QMYA@mail.gmail.com> References: <BANLkTinE8N=WAi7sDW5xuBXORk1_R-QMYA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D98F8F6.3060409>