Steve Kieu wrote: > > Hi, > > I would like to compile the dri kernel module for > XFree86-4.2.0, the kernel 2.4.19-pre2-ac4 doesn'nt > have and XFree86-4.2.0 complain about dri modules and > 3D accel is disabled. So I go to the > dri.sourceforge.net, download the file > linux-drm-4.2.0-kernelsource.tar.gz > extract and make -f Makefile.linux. The error is as > below: > cc -O2 -O2 -mcpu=i686 -march=i686 > -fno-strength-reduce -Wall -Wwrite-strings > -Wpointer-arith -Wcast-align -Wstrict-prototypes > -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE > -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE > -DCONFIG_DRM_SIS > -I/lib/modules/2.4.19-pre2-ac4/build/include -c > i810_dma.c -o i810_dma.o > i810_dma.c: In function `i810_free_page': > i810_dma.c:298: structure has no member named `wait' > make: *** [i810_dma.o] Error 1 > sk@localhost:~/src/drm$ > > My cards is intel810. Linux Mandrake 8.1 gcc > gcc-2.96-0.76mdk > > What should I do? > > ===== > Steve Kieu
The DRI source is on a different development tree that is faster moving and less stable than the source at XFree86, which synchronizes with DRI source intermittantly. This is not obvious from web pages or docs of either XFree86 or DRI, and had me confused for a while too. So, DRI source will have more problems and more features. To get the XFree86 version of DRI, get the XFree86 source and got to the following directory: xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel That's where the 4.2 kernel stuff is for Linux. Joe Krahn _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert