Subject: Re: modular Xorg and pthreads
To: None <pkgsrc-users@netbsd.org>
From: Blair Sadewitz <blair.sadewitz@gmail.com>
List: pkgsrc-users
Date: 04/12/2007 15:02:26
On NetBSD, if I try to build libpthread-stubs (from xcb), I get an
error about conflicting types in <pthread.h>. This goes away if I
tell it to use #pragma weak instead of the weak aliases __attribute__
(it obviously detects that weak aliases are supported). Is it OK to
just tell it to use #pragma weak, or is there a "right" thing to do
here?
After this is resolved, I just tell libX11 to use -lpthread-stubs as
XTHREADLIB, right?
Thanks for your help,
--Blair
--
Support WFMU-FM: free-form radio for the masses!
<http://www.wfmu.org/>
"The frivolity and boredom which unsettle the established order, the
vague foreboding of something unknown, these are the heralds of
approaching change. The gradual crumbling that left unaltered the
face of the whole is cut short by a sunburst which, in one flash,
illuminates the features of the new world." --G.W.F. Hegel,
_Phenomenology of Spirit_ 5:11