On Sunday 01 December 2002 9:32 pm, Vadim Plessky wrote:
|  On Sunday 01 December 2002 8:28 pm, Vadim Plessky wrote:
[...]
|  [vad@VPlessky Xc]$ make
|  rm -f xc.o
|  gcc -c -g -Wall    -Wall -Wpointer-arith -Wstrict-prototypes
|  -Wmissing-prototypes -Wmissing-declarat
|  ions -Wnested-externs  -I/usr/X11R6/include    -Dlinux -D__i386__
|  -D_POSIX_C_SOURCE=199309L -D_POSIX
|  _SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE     -DFUNCPROTO=15
|  -DNARROWPROTO -DXTHREADS  -D
|  _REENTRANT -DXUSE_MTSAFE_API       xc.c
|  In file included from xcint.h:30,
|                   from xc.c:29:
|  Xc.h:101: parse error before `XTransform'
|  Xc.h:101: warning: function declaration isn't a prototype
|  Xc.h:148: warning: type defaults to `int' in declaration of `XTrapezoid'
|  Xc.h:148: parse error before `*'
|  Xc.h:149: warning: function declaration isn't a prototype
|  Xc.h:159: warning: type defaults to `int' in declaration of `XTriangle'
[...]
|  xc.c:291: warning: implicit declaration of function `XRenderParseColor'
|  make: *** [xc.o] Error 1
|
|  Looks like Xc can't find definitions for XTransform, XTriangle, XTrapezoid
| and some other variables/functions.
|  Does someone have any clue how to fix this?

ok, I found that Xrender.h from FontConfig-2.1 (sigh...)
/*
 * $XFree86: xc/lib/Xrender/Xrender.h,v 1.17 2002/11/06 22:47:49 keithp Exp $
 *
has missing structures:
----------------------------------
typedef struct _XTriangle {
    XPointFixed p1, p2, p3;
} XTriangle;

typedef struct _XTrapezoid {
    XFixed  top, bottom;
    XLineFixed  left, right;
} XTrapezoid;

typedef struct _XTransform {
    XFixed  matrix[3][3];
} XTransform;
----------------------------------

How I can get latest Xrender extension (and those jeader files) working with 
my XFree86 4.2.0?
Is it safe to delete 

/usr/X11R6/include/X11/extensions/Xrender.h
/usr/X11R6/lib/libXrender.so.1.1
/usr/X11R6/lib/libXrender.so.1
/usr/X11R6/lib/libXrender.so

and replace them with newer version of Xrender?
And *how* I can build that extension?..
I don't want to break my system, I work on it every day.

|
|  I have following headers installed (as part of my XFree86 4.2.0):
|
|   * $XFree86: xc/lib/Xrender/Xrender.h,v 1.10 2001/12/27 01:16:00 keithp
| Exp $ * $XFree86: xc/include/extensions/render.h,v 1.4 2001/08/16 08:03:25
| keithp Exp $
|   * $Xorg: Xfuncproto.h,v 1.4 2001/02/09 02:03:22 xorgcvs Exp $ */
|   * $Xorg: Xosdefs.h,v 1.5 2001/02/09 02:03:23 xorgcvs Exp $
|   * $Xorg: Xutil.h,v 1.8 2001/02/09 02:03:39 xorgcvs Exp $ */

-- 

Vadim Plessky
SVG Icons * BlueSphere Icons 0.3.0 released
http://svgicons.sourceforge.net
My KDE page
http://kde2.newmail.ru  (English)
KDE mini-Themes
http://kde2.newmail.ru/themes/
_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to