From owner-freebsd-stable Fri Dec 20 10: 4:51 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E04F37B405 for ; Fri, 20 Dec 2002 10:04:49 -0800 (PST) Received: from one.2531.org (w005.z064003115.lax-ca.dsl.cnc.net [64.3.115.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A2C043EEC for ; Fri, 20 Dec 2002 10:04:42 -0800 (PST) (envelope-from mmca@2531.org) Received: from 2531.org (localhost.2531.org [127.0.0.1]) by one.2531.org (8.12.6/8.12.6) with ESMTP id gBKI5SJ8086324; Fri, 20 Dec 2002 10:05:32 -0800 (PST) (envelope-from mmca@2531.org) Message-Id: <200212201805.gBKI5SJ8086324@one.2531.org> Date: Fri, 20 Dec 2002 10:05:28 -0800 (PST) From: mmca@2531.org Subject: Re: The plot thickens (problem solved!) (was Re: More information ...) To: coolvibe@hackerheaven.org Cc: stijn@win.tue.nl, freebsd-stable@FreeBSD.ORG In-Reply-To: <20021220163729.GC81599@hackerheaven.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 20 Dec, Emiel Kollof wrote: > * Stijn Hoop (stijn@win.tue.nl) wrote: >> > I might be the first to have noticed. What if suddenly 20 more people in >> > the span of the next 24 hours report that X or X apps won't build? >> >> That's of course true, but 16 hours have passed since your first email >> and noone else reports such a problem. Experience has shown that X build >> problems will probably be reported more frequently here or on -ports >> during that period if they affect all of the FreeBSD user group. >> Or maybe everyone's on holiday of course, I don't know... > After a portupgrade last night /usr/ports/multimedia/mplayer would not build so this morning I went to rebuild XFree and it failed with: /usr/X11R6/lib/libXaw.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_self' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_destroy' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init' *** Error code 1 > > All ports that wanted to link with -lX11 broke here. I suspected that X > was the problem when I digged through the autoconf config.log files > which stated everytime that libXThrStubs.so.6 had unresolved symbols, so I > started grepping for those symbols in the X lib source. > > When I found them, I found a UIThrStubs.c.orig file which meant that > that file was patched. I put two and two together and looked at what was > patched, and concluded that that was the source for the unresolved > symbol problems. When I undid the patch to that file, all was well and > linked happily again. Even my test code worked as expected. > I'm going to give that a try. BTW, mplayer fails while looking for X11: Checking for byte order ... Little Endian Checking for shared postprocess lib ... no Checking for GUI ... yes Error: X11 support required for GUI compilation > So there you have it :) > > Cheers, > Emiel -M To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message