<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br></div>No idea if it has been done before. But you're definitely at the right
<br>place. How about some details on how it's failing?<br><br>I don't think any versions other than 1.4.12 or 1.5.4 are really<br>interesting.<br><font color="#888888"><br>-Carl<br></font></blockquote></div><br>OK, I grabbed
1.4.12 and untarred, then:<br><br>./configure --prefix=$HOME<br>make<br><br>got me this:<br><br> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/home/u102k/include/freetype2 -I/home/u102k/include -I/home/u102k/include -I/home/u102k/include/libpng12 -I/usr/X11R6/include -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -g -O2 -c
cairo-type1-subset.c -Wp,-MD,.deps/cairo-type1-subset.TPlo -o cairo-type1-subset.o >/dev/null 2>&1<br>source='cairo-xlib-surface.c' object='cairo-xlib-surface.lo' libtool=yes \<br>DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
<br>/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/home/u102k/include/freetype2 -I/home/u102k/include -I/home/u102k/include -I/home/u102k/include/libpng12 -I/usr/X11R6/include -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -g -O2 -c -o
cairo-xlib-surface.lo cairo-xlib-surface.c<br> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../pixman/src -I/home/u102k/include/freetype2 -I/home/u102k/include -I/home/u102k/include -I/home/u102k/include/libpng12 -I/usr/X11R6/include -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -g -O2 -c
cairo-xlib-surface.c -Wp,-MD,.deps/cairo-xlib-surface.TPlo -fPIC -DPIC -o .libs/cairo-xlib-surface.o<br>/usr/include/bits/string2.h: In function `__strcpy_small':<br>In file included from /usr/include/string.h:360,<br>
from cairoint.h:55,<br> from cairo-xlib-surface.c:39:<br>/usr/include/bits/string2.h:439: warning: pointer of type `void *' used in arithmetic<br>/usr/include/bits/string2.h:447: warning: pointer of type `void *' used in arithmetic
<br>/usr/include/bits/string2.h:452: warning: pointer of type `void *' used in arithmetic<br>/usr/include/bits/string2.h:457: warning: pointer of type `void *' used in arithmetic<br>/usr/include/bits/string2.h:459: warning: pointer of type `void *' used in arithmetic
<br>/usr/include/bits/string2.h:464: warning: pointer of type `void *' used in arithmetic<br>cairo-xlib-surface-private.h: At top level:<br>In file included from cairo-xlib-surface.c:43:<br>cairo-xlib-surface-private.h
:91: parse error before `XTransform'<br>cairo-xlib-surface-private.h:91: warning: no semicolon at end of struct or union<br>cairo-xlib-surface.c:83: parse error before `identity'<br>cairo-xlib-surface.c:83: warning: type defaults to `int' in declaration of `identity'
<br>cairo-xlib-surface.c:83: warning: braces around scalar initializer for `identity'<br>cairo-xlib-surface.c:84: warning: braces around scalar initializer for `identity'<br>cairo-xlib-surface.c:84: warning: excess elements in scalar initializer after `identity'
<br>cairo-xlib-surface.c:84: warning: excess elements in scalar initializer after `identity'<br>cairo-xlib-surface.c:85: warning: braces around scalar initializer for `identity'<br>cairo-xlib-surface.c:85: warning: excess elements in scalar initializer after `identity'
<br>cairo-xlib-surface.c:85: warning: excess elements in scalar initializer after `identity'<br>cairo-xlib-surface.c:85: warning: excess elements in scalar initializer after `identity'<br>cairo-xlib-surface.c:86: warning: braces around scalar initializer for `identity'
<br>cairo-xlib-surface.c:86: warning: excess elements in scalar initializer after `identity'<br>cairo-xlib-surface.c:86: warning: excess elements in scalar initializer after `identity'<br>cairo-xlib-surface.c:86: warning: excess elements in scalar initializer after `identity'
<br>cairo-xlib-surface.c:87: warning: data definition has no type or storage class<br>cairo-xlib-surface.c: In function `_CAIRO_FORMAT_TO_XRENDER_FORMAT':<br>cairo-xlib-surface.c:133: `PictStandardA1' undeclared (first use in this function)
<br>cairo-xlib-surface.c:133: (Each undeclared identifier is reported only once<br>cairo-xlib-surface.c:133: for each function it appears in.)<br>cairo-xlib-surface.c:135: `PictStandardA8' undeclared (first use in this function)
<br>cairo-xlib-surface.c:137: `PictStandardRGB24' undeclared (first use in this function)<br>cairo-xlib-surface.c:140: `PictStandardARGB32' undeclared (first use in this function)<br>cairo-xlib-surface.c:142: implicit declaration of function `XRenderFindStandardFormat'
<br>cairo-xlib-surface.c:142: warning: return makes pointer from integer without a cast<br><br>[many lines deleted]<br><br>cairo-xlib-surface.c:3169: dereferencing pointer to incomplete type<br>cairo-xlib-surface.c:3198: dereferencing pointer to incomplete type
<br>cairo-xlib-surface.c:3203: dereferencing pointer to incomplete type<br>make[2]: *** [cairo-xlib-surface.lo] Error 1<br>make[2]: Leaving directory `/opt1/home/u102k/cairo-1.4.12/src'<br>make[1]: *** [all-recursive] Error 1
<br>make[1]: Leaving directory `/opt1/home/u102k/cairo-1.4.12'<br>make: *** [all] Error 2<br>[u102k@dws91 cairo-1.4.12]$<br><br><br>BTW, if I try the later version, I keep running into a problem with all the make files having issue with -fno-strict-aliasing. I don't think my GCC supports that.
<br><br><br>