From owner-freebsd-ports Wed Feb 28 3: 1:36 2001 Delivered-To: freebsd-ports@freebsd.org Received: from blizzard.sabbo.net (pop3.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 9D0CF37B719 for ; Wed, 28 Feb 2001 03:01:31 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f1SB1Ng28255; Wed, 28 Feb 2001 13:01:24 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.2/8.11.2) with ESMTP id f1SB1JS52265; Wed, 28 Feb 2001 13:01:19 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A9CDA7C.3E18F262@FreeBSD.org> Date: Wed, 28 Feb 2001 13:01:17 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Glenn Johnson Cc: ports@FreeBSD.org Subject: Re: XFree86 4.0.2 mess References: <20010227115106.A79382@gforce.homelan.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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