Date: Fri, 20 Dec 2002 10:05:28 -0800 (PST) From: mmca@2531.org To: coolvibe@hackerheaven.org Cc: stijn@win.tue.nl, freebsd-stable@FreeBSD.ORG Subject: Re: The plot thickens (problem solved!) (was Re: More information ...) Message-ID: <200212201805.gBKI5SJ8086324@one.2531.org> In-Reply-To: <20021220163729.GC81599@hackerheaven.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20 Dec, Emiel Kollof wrote: > * Stijn Hoop (stijn@win.tue.nl) wrote: <snip> >> > 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 <snip> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212201805.gBKI5SJ8086324>