Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 13:01:17 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Glenn Johnson <glennpj@charter.net>
Cc:        ports@FreeBSD.org
Subject:   Re: XFree86 4.0.2 mess
Message-ID:  <3A9CDA7C.3E18F262@FreeBSD.org>
References:  <20010227115106.A79382@gforce.homelan.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Replace -pthread with -lc_r in ports/x11/XFree86-4/files/patch-xthreads and
then rebuild/reinstall XFree86.

-Maxim


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?3A9CDA7C.3E18F262>