Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2001 22:33:36 +0100 (CET)
From:      Holger Lamm <holger.lamm@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:  <Pine.BSF.4.21.0103072218370.21057-100000@sauerbruch.evk-koeln.de>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103072218370.21057-100000>