[cairo-bugs] [Bug 31906] New: cairo 1.10.0 requires XLinearGradient

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 24 14:45:38 PST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31906

           Summary: cairo 1.10.0 requires XLinearGradient
           Product: cairo
           Version: 1.10.0
          Platform: All
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xlib backend
        AssignedTo: cworth at cworth.org
        ReportedBy: Tim.Mooney at ndsu.edu
         QAContact: cairo-bugs at cairographics.org


cairo 1.10.0 documents that it requires Xlib if you're going to build the xlib
backend, which is obviously pretty important on UNIX and Linux.  The README
doesn't document which *version* of xlib it requires, though.

At least with cairo 1.8.x, it was possible to build against the Xlib that comes
with Solaris 10, which I believe is 6.8.x.

With 1.10.0, the build now fails in cairo-xlib-surface.c.  The Solaris Xlib is
apparently missing XLinearGradient:

libtool: compile:  cc -xO4 -xipo=2 -DHAVE_CONFIG_H -I. -I.. -I. -D_REENTRANT
-I/local/include/pixman-1 -I/local/include -I/local/include/freetype2
-I/local/include -I/local/include/libpng14 -DXTHREADS -I/local/include
-I/usr/openwin/include -I/usr/openwin/include -erroff=E_ENUM_TYPE_MISMATCH_ARG
-erroff=E_ENUM_TYPE_MISMATCH_OP -Wp,-D_FORTIFY_SOURCE=2 -I/local/include
-I/local/gnu/include -I/usr/local/include -Xa -xO4 -xipo=2 -xstrconst -KPIC -mt
-xtarget=native -m64 -xarch=native -I/local/include -I/local/gnu/include
-I/usr/local/include -D_POSIX_PTHREAD_SEMANTICS -c cairo-xlib-surface.c  -KPIC
-DPIC -o .libs/cairo-xlib-surface.o
"cairo-xlib-surface.c", line 2133: undefined symbol: XLinearGradient
"cairo-xlib-surface.c", line 2133: syntax error before or at: grad
"cairo-xlib-surface.c", line 2161: undefined symbol: grad


I'll be happy to provide more information if needed.  I'm just wondering if the
requirement for Xlib was intentionally increased, or if this was more of an
accident?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list