On Sunday 01 December 2002 8:28 pm, Vadim Plessky wrote:
|  On Sunday 01 December 2002 7:31 pm, Owen Taylor wrote:
|  [...]
|  |  I had good luck just grabbing them from CVS
|  | (http://keithp.com/cvs.html) and doing 'xmkmf; make; sudo make install'
|  | in Xc then Xr. Total time, maybe 2 minutes.
|
|  Yes, code base is quite small, and it should build fine and quickly ... if
| you have XFree86 CVS (that's what Carl told me)
|  I have
|  $ rpm -qa | grep XFree86
|  XFree86-libs-4.2.0-6mdk
|  XFree86-devel-4.2.0-6mdk
|  XFree86-xfs-4.2.0-6mdk
|  XFree86-4.2.0-6mdk
|  XFree86-75dpi-fonts-4.2.0-6mdk
|  XFree86-100dpi-fonts-4.2.0-6mdk
|  XFree86-server-4.2.0-6mdk
|
|  And quite confused by the fact that it doesn't build for me.
|
|  [vad@VPlessky Xc]$ pwd
|  /usr/local/vadim/XrXc/XrXc-20021104/Xc

ok, I updated to CVS, 
[vad@VPlessky Xc]$ pwd
/usr/local/vadim/XrXc/cvs/Xc

and:
[vad@VPlessky Xc]$ xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config

[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.h:159: parse error before `*'
Xc.h:160: warning: function declaration isn't a prototype
Xc.h:170: warning: type defaults to `int' in declaration of `XPointFixed'
Xc.h:170: parse error before `*'
Xc.h:171: warning: function declaration isn't a prototype
Xc.h:181: warning: type defaults to `int' in declaration of `XPointFixed'
Xc.h:181: parse error before `*'
Xc.h:182: warning: function declaration isn't a prototype
xc.c: In function `XcFindStandardFormat':
xc.c:51: warning: implicit declaration of function `XRenderFindStandardFormat'
xc.c:51: warning: return makes pointer from integer without a cast
xc.c: At top level:
xc.c:118: parse error before `XTransform'
xc.c:119: warning: function declaration isn't a prototype
xc.c: In function `XcSetSurfaceTransform':
xc.c:120: `surface' undeclared (first use in this function)
xc.c:120: (Each undeclared identifier is reported only once
xc.c:120: for each function it appears in.)
xc.c:121: warning: implicit declaration of function 
`XRenderSetPictureTransform'
xc.c:121: `dpy' undeclared (first use in this function)
xc.c:121: `transform' undeclared (first use in this function)
xc.c: At top level:
xc.c:209: warning: type defaults to `int' in declaration of `XTrapezoid'
xc.c:209: parse error before `*'
xc.c:211: warning: function declaration isn't a prototype
xc.c: In function `XcCompositeTrapezoids':
xc.c:215: `src' undeclared (first use in this function)
xc.c:216: warning: implicit declaration of function 
`XRenderCompositeTrapezoids'
xc.c:216: `dpy' undeclared (first use in this function)
xc.c:216: `op' undeclared (first use in this function)
xc.c:216: `dst' undeclared (first use in this function)
xc.c:216: `maskFormat' undeclared (first use in this function)
xc.c:217: `xSrc' undeclared (first use in this function)
xc.c:217: `ySrc' undeclared (first use in this function)
xc.c:218: `traps' undeclared (first use in this function)
xc.c:218: `ntraps' undeclared (first use in this function)
xc.c: At top level:
xc.c:231: warning: type defaults to `int' in declaration of `XTriangle'
xc.c:231: parse error before `*'
xc.c:233: warning: function declaration isn't a prototype
xc.c: In function `XcCompositeTriangles':
xc.c:237: `src' undeclared (first use in this function)
xc.c:238: warning: implicit declaration of function 
`XRenderCompositeTriangles'
xc.c:238: `dpy' undeclared (first use in this function)
xc.c:238: `op' undeclared (first use in this function)
xc.c:238: `dst' undeclared (first use in this function)
xc.c:238: `maskFormat' undeclared (first use in this function)
xc.c:239: `xSrc' undeclared (first use in this function)
xc.c:239: `ySrc' undeclared (first use in this function)
xc.c:239: `triangles' undeclared (first use in this function)
xc.c:239: `ntriangles' undeclared (first use in this function)
xc.c: At top level:
xc.c:252: warning: type defaults to `int' in declaration of `XPointFixed'
xc.c:252: parse error before `*'
xc.c:254: warning: function declaration isn't a prototype
xc.c: In function `XcCompositeTriStrip':
xc.c:258: `src' undeclared (first use in this function)
xc.c:259: warning: implicit declaration of function `XRenderCompositeTriStrip'
xc.c:259: `dpy' undeclared (first use in this function)
xc.c:259: `op' undeclared (first use in this function)
xc.c:259: `dst' undeclared (first use in this function)
xc.c:259: `maskFormat' undeclared (first use in this function)
xc.c:260: `xSrc' undeclared (first use in this function)
xc.c:260: `ySrc' undeclared (first use in this function)
xc.c:260: `points' undeclared (first use in this function)
xc.c:260: `npoints' undeclared (first use in this function)
xc.c: At top level:
xc.c:273: warning: type defaults to `int' in declaration of `XPointFixed'
xc.c:273: parse error before `*'
xc.c:275: warning: function declaration isn't a prototype
xc.c: In function `XcCompositeTriFan':
xc.c:279: `src' undeclared (first use in this function)
xc.c:280: warning: implicit declaration of function `XRenderCompositeTriFan'
xc.c:280: `dpy' undeclared (first use in this function)
xc.c:280: `op' undeclared (first use in this function)
xc.c:280: `dst' undeclared (first use in this function)
xc.c:280: `maskFormat' undeclared (first use in this function)
xc.c:281: `xSrc' undeclared (first use in this function)
xc.c:281: `ySrc' undeclared (first use in this function)
xc.c:281: `points' undeclared (first use in this function)
xc.c:281: `npoints' undeclared (first use in this function)
xc.c: In function `XcParseColor':
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?

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