Subject: Re: modular Xorg and pthreads
To: None <>
From: Blair Sadewitz <>
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

After this is resolved, I just tell libX11 to use -lpthread-stubs as

Thanks for your help,


Support WFMU-FM: free-form radio for the masses!

"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