Assuming you appended hw/savage to SUBDIRS in lib/XvMC/Imakefile I
attached the lib/XvMC/hw/savage/Imakefile that I used and a small patch
that fixes a few include file problems. I hope that does the trick.

  Felix

On Thu, 15 Jan 2004 11:57:10 -0800 (PST)
Alex Deucher <[EMAIL PROTECTED]> wrote:

> OT: XvMC, I've been playing with that today, but I can't seem to make
> it build.  can you send me your imake file for the savageXvMC lib in
> xc/lib/XvMC/hw/savage?  The one I have looks almost identical to the
> one for i810 and yet it refuses to build.  Am I missing something?  do
> I have to add it to some other imake for def file somewhere?
> 
> Alex
> 
> --- Felix K_hling <[EMAIL PROTECTED]> wrote:
[snip]

------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.
diff -u ./Imakefile /home/felix/dri/lib/XvMC/hw/savage/Imakefile
--- ./Imakefile 2003-05-30 04:11:22.000000000 +0200
+++ /home/felix/dri/lib/XvMC/hw/savage/Imakefile        2003-11-04 23:15:42.000000000 
+0100
@@ -1,6 +1,6 @@
 XCOMM $XFree86: xc/lib/XvMC/hw/savage/Imakefile,v 1.2 2003/04/17 S3 Graphics $
 #define DoNormalLib NormalLibXvMC
-#define DoSharedLib YES
+#define DoSharedLib SharedLibXvMC
 #define DoDebugLib DebugLibXvMC
 #define DoProfileLib ProfileLibXvMC
 #define LibName savageXvMC
Nur in /home/felix/dri/lib/XvMC/hw/savage/: libsavageXvMC.a.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: Makefile.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: Makefile.bak.
diff -u ./savagehwmc.c /home/felix/dri/lib/XvMC/hw/savage/savagehwmc.c
--- ./savagehwmc.c      2003-05-30 04:11:24.000000000 +0200
+++ /home/felix/dri/lib/XvMC/hw/savage/savagehwmc.c     2003-11-04 23:20:00.000000000 
+0100
@@ -42,7 +42,7 @@
 #include <sys/time.h>
 
 #include <sys/ioctl.h>
-#include <Xlibint.h>
+#include <X11/Xlibint.h>
 #include <fourcc.h>
 #include <Xv.h>
 #include <Xvlib.h>
Nur in /home/felix/dri/lib/XvMC/hw/savage/: savagehwmc.o.
diff -u ./savageXvMC.c /home/felix/dri/lib/XvMC/hw/savage/savageXvMC.c
--- ./savageXvMC.c      2003-05-30 04:11:24.000000000 +0200
+++ /home/felix/dri/lib/XvMC/hw/savage/savageXvMC.c     2003-11-04 23:20:08.000000000 
+0100
@@ -40,7 +40,7 @@
 #include <string.h>
 
 #include <sys/ioctl.h>
-#include <Xlibint.h>
+#include <X11/Xlibint.h>
 #include <fourcc.h>
 #include <Xv.h>
 #include <Xvlib.h>
diff -u ./savageXvMC.h /home/felix/dri/lib/XvMC/hw/savage/savageXvMC.h
--- ./savageXvMC.h      2003-05-30 04:11:24.000000000 +0200
+++ /home/felix/dri/lib/XvMC/hw/savage/savageXvMC.h     2003-11-04 23:21:02.000000000 
+0100
@@ -39,7 +39,7 @@
 #define XVMC_DEBUG(x)
 
 #include <xf86drm.h>
-#include <Xlibint.h>
+#include <X11/Xlibint.h>
 
 #define MAXFLIPBUFF     2
 
Nur in /home/felix/dri/lib/XvMC/hw/savage/: savageXvMC.o.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drm.c.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmHash.c.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmHash.o.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drm.o.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmRandom.c.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmRandom.o.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmSL.c.
Nur in /home/felix/dri/lib/XvMC/hw/savage/: xf86drmSL.o.

Attachment: Imakefile
Description: Binary data

Reply via email to