(resent - original did not have a question mark and was probably dismissed
as a HOWTO)

I am wondering how I can simply recompile my neomagic driver, and copy it
into my system without recompiling all of X ?

Hardware: Toshiba Libretto 100ct
Kernel: 2.4.20 with pcmcia in-kernel, using pcmcia-cs 3.1.26
XFree86: 4.1.0
Slackware 8.0 (very default install)

I have a patch that will allow using my margi "dvd to go" zoomed video
cardbus card and display the video on-screen.  The README for this patch
tells me:

3. How to apply this patch

  cd xc/program/Xserver/hw/xfree86/drivers/neomagic
  patch -p1 -s < neomagic.diff
  make
  make install

When I do this, I get no errors from patch - so the patch seems to work -
it should, since the patch was written for XFree96-4.1.0, and I am using
it on the 4.1.0 source tree - so all is well, I suppose.

However, there is no Makefile, only an Imakefile - so the next step is to
run xmkmf, which succeeds and outputs:

imake -DUseInstalled -I/usr/X11R6/lib/X11/config

so now I have a Makefile - and I continue following the instructions and
run `make`.  But make bombs out with:

neo_driver.c:40: xf86.h: No such file or directory
neo_driver.c:41: xf86_OSproc.h: No such file or directory
neo_driver.c:42: xf86_ansic.h: No such file or directory
neo_driver.c:45: compiler.h: No such file or directory
neo_driver.c:47: xf86Resources.h: No such file or directory
neo_driver.c:50: xf86PciInfo.h: No such file or directory
neo_driver.c:53: xf86Pci.h: No such file or directory

... and so on ... presumably bombing for every .h specified in
neo_driver.c and every file included from it.

----------

So here are the two questions:

1. Why is the make failing ?  I don't think it is a problem with X or the
patch or anything, I think it is a general "I have very little experience
compiling things" error and I think I am just missing a path or
something...

2. Is this scheme a sound one ?  Note that I am not reinstalling or even
recompiling X, I am just patching the neomagic driver and then running
`make ; make install` (I checked, the Makefile does have an install rule)
... do I then just start X and I will be using a patched neomagic driver ?

Any additional comments appreciated.

Thanks!



_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to