From owner-freebsd-ports Wed Mar 7 13:33:43 2001 Delivered-To: freebsd-ports@freebsd.org Received: from grisu.evk-koeln.de (grisu.evk-koeln.de [194.77.188.194]) by hub.freebsd.org (Postfix) with ESMTP id 533D637B718 for ; Wed, 7 Mar 2001 13:33:38 -0800 (PST) (envelope-from holger.lamm@evk-koeln.de) Received: from sauerbruch.evk-koeln.de([139.64.201.254]) (1990 bytes) by grisu.evk-koeln.de via sendmail with P:esmtp/R:inet_hosts/T:smtp (sender: ) id for ; Wed, 7 Mar 2001 22:33:36 +0100 (CET) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Mar-14) Received: from localhost (localhost [127.0.0.1]) by sauerbruch.evk-koeln.de (8.11.2/8.11.2) with ESMTP id f27LXaQ73295 for ; Wed, 7 Mar 2001 22:33:36 +0100 (CET) (envelope-from holger.lamm@evk-koeln.de) Date: Wed, 7 Mar 2001 22:33:36 +0100 (CET) From: Holger Lamm X-Sender: lamm@sauerbruch.evk-koeln.de To: freebsd-ports@freebsd.org Subject: Re: Kde2 does not build(XFree86-4.0.2_6 + qt2.2.4 + KDE 2.1) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, recently Lioux complained that KDE does not build any more. I got exactly the same problem, building kdelibs2: (kdesupport2 builds fine, in contrast to what Lioux reported) /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' After a bit of investigating, I found out the following: - libGL.so.1 belongs to XFree86-4.0.2_6 - libGL gets included into libqt2, but (even the non-threaded version of) qt2 compiles with -pthread, so building qt succeeds. - The error occurs when KDE includes libqt2, but does not use -pthread. I have to point out that QT-2.2.4 consists of a thread-safe and a non-threaded lib, but now, even the non-threaded lib is (partly) threaded. Even when I throw out "-threads" from QT's makefile, exactly the same happens. I have a Voodoo 3. Question: What do we do now? I finally managed to build kdelibs by including -pthread into nearly every Makefile, just to see kdebase2 makes the same problem. Would building threadsave libs be a success? Does anybody make use of it? Currently compiling XFree86-4.0.1 again, Holger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message