Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 14:09:43 -0600
From:      Jeremy Norris <ishmael27@home.com>
To:        Glenn Johnson <glennpj@charter.net>
Cc:        ports@FreeBSD.ORG
Subject:   Re: XFree86 4.0.2 mess
Message-ID:  <20010227140943.A67410@babylon.merseine.nu>
In-Reply-To: <20010227115106.A79382@gforce.homelan.net>; from glennpj@charter.net on Tue, Feb 27, 2001 at 11:51:06AM -0600
References:  <20010227115106.A79382@gforce.homelan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
You can try manually adding:
CONFIGURE_ENV=	CPPFLAGS="-D_THREAD_SAFE -D_REENTRANT" \
		LDFLAGS="-pthread"
to the port's Makefile.

Failing that, manually edit the configure script: wherever you see
-lGL
add
-pthread after it.

Jeremy

On Tue, Feb 27, 2001 at 11:51:06AM -0600, Glenn Johnson wrote:
> Can someone please tell me what magic needs to be performed to get
> applications to build with XFree86-4.0.2?  The new kdebase2 port is
> the latest one that will not build.  I managed to get kdesupport2
> and kdelibs2 to compile by placing -pthread in the LDFLAGS lines of
> configure and of a few Makefile.am files but I can not even get kdebase2
> to configure:
> 
> conftest.C: In function `int main()':
> conftest.C:20: warning: unused variable `int magnolia'
> conftest.C:15: warning: unused variable `class QStringList * t'
> /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_getspecific'
> /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_key_create'
> /usr/X11R6/lib/libGL.so.1: undefined reference to `pthread_setspecific'
> 
> The configure script is getting generated anew with each invocation and
> I can not figure out where to stick the -pthread.
> 
> -- 
> Glenn Johnson
> glennpj@charter.net
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010227140943.A67410>