From: S. Z. Z. <zh...@me...> - 2000-11-14 02:47:35
|
"Marc D. Williams" wrote: > On Tue, Nov 14, 2000 at 12:25:02PM +1300, S. Z. Zhou wrote: > > > > Any one give me further assistance? Which kernel should be used? should > > I update my DRI source tree? > > I just checkout three days ago! I try to update today again! > > That is not easy for us to get DRI working, because it is strongly > > related to the linux kernel version. > > The DRI should be a loadable module for linux kernel! > > > I've compiled the stuff with 2.4.0-test10 okay. > Although with my latest CVS update (Nov. 11) I get a segfault > when doing `./XFree86 -configure'. > X, however, runs just fine. > > Anyway, what might be happening is the drm stuff isn't finding the > 2.4.0 header files. That would be the case if /usr/src/linux or the > links in /usr/include (asm & linux) aren't pointing to them. > The Makefile.linux in the drm/kernel subdir looks for the > following: > > VERSION := $(shell uname -r) > A := /usr/src/linux-$(VERSION)/include > B := /usr/src/linux/include > C := /usr/include > > Since the past two test kernels have been stable enough in my > mind I did change the links in /usr/include anyway (I consider > this pc a testing machine so...). The kernel is actually under > /usr/local/src at the moment. > If any of the three above don't point to the 2.4.0 stuff > just follow the steps mentioned in README.DRIcomp to build the > drm kernel modules. > > make TREE=/your/path/to/2.4.0-test10 > > ``or alternatively, edit Makefile to include this change.'' > > Anyhind, that's under section 7.4 of that file. > > If none of the above applies then I'm not sure. > > Marc > _______________________________________________ > Dri-users mailing list > Dri...@li... > http://lists.sourceforge.net/mailman/listinfo/dri-users Dear Marc: Many thanks for your response. I have just downloaded the latest DRI source tree and the kernel linux-2.4.0-test8. It got compiled. Could I also ask you where I can download the sample configuration file "XF86Config". I remember I found there is one for Matrox and for others. But now I need it, I can not find it again. I hope to update the "XF86Config.4" and restart the X. If anyone knows, send me information. Many thanks for your assistance. Zhou |