Re: Solution for undefined references to XRenderCreateSolidFill

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Sun, Sep 15, 2013 at 06:48:43PM -0400, Jacques Pelletier wrote:
> I'm trying to compile the GTK libraries on an old version of
> Slackware (10.1).
> 
> After compiling all the other dependencies, Cairo reports an
> undefined reference to XRenderCreateSolidFill. This function was
> added in version 0.9.0.2 of the library libXrender.

cairo carries a copy of the XRender headers so that it can stub out the
functions for missing libraries. (So that the code is not littered with
endless #ifdef when we already have runtime selection based on the
queried client/server compatible version.

All that would be required would be to extend that stubbing to handle
too-old instead of purely absence...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.