Am Donnerstag, 24. Oktober 2002 15:59 schrieb Michel Dänzer: > On Die, 2002-10-22 at 23:30, Malte Cornils wrote: > > On Tue, Oct 22, 2002 at 01:07:24PM +0200, Michel Dänzer wrote: > > > The gotcha about TREE is that you have to provide the include > > > directory, so you'd have to use > > > TREE=/home/mcornils/kernel-source-2.4.18/include in this case. > > > > Errm, is this documented somewhere? Couldn't this be part of the install > > script? Maybe with an option to specify a correct TREE before the kernel > > module compilation starts? > > IMHO the best thing would be to educate users about > /lib/modules/`uname -r`/build .
As I stand corrected that's right. And the current DRM build process do it already (see below). My system was a Slackware based SuSE in the beginning and for several years I had a truly self maintained one 'cause I needed the threaded Glibc-2.1 long before the "normal" distros supported it. After I got back to SuSE (7.1) I didn't changed anything...;-) But it "only" solve my mentioned "keyboard case" but NOT the current 2.5.41+ DRM module builds. We need a 2.5.41+ DRM "path" like it was with 2.2 vs 2.3 (2.4) ages ago. make -f Makefile.linux make[10]: Entering directory `/tmp/INSTALL/SOURCE/dri-mesa-4-1/xc/xc/programs/Xserver/hw/xf ree86/os-support/linux/drm/kernel' === KERNEL HEADERS IN /lib/modules/2.5.43-mm2/build/include === SMP=1 MODULES=1 MODVERSIONS=1 AGP=1 === Compiling for machine i686 === WARNING === WARNING Use 2.4.x kernels ONLY ! === WARNING cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-exte rns -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MO DULE -DCONFIG_DRM_SIS -D__SMP__ -DMODVERSIONS -include /lib/modules/2.5.43-mm2/build/includ e/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/2.5.43-mm2/build/include -c gamma_drv.c -o gamma_drv.o In file included from /lib/modules/2.5.43-mm2/build/include/linux/irq.h:19, from /lib/modules/2.5.43-mm2/build/include/asm/hardirq.h:6, from /lib/modules/2.5.43-mm2/build/include/linux/interrupt.h:25, from /lib/modules/2.5.43-mm2/build/include/asm/highmem.h:24, from /lib/modules/2.5.43-mm2/build/include/linux/highmem.h:12, from /lib/modules/2.5.43-mm2/build/include/linux/pagemap.h:10, from drmP.h:56, from gamma_drv.c:34: /lib/modules/2.5.43-mm2/build/include/asm/irq.h:16: irq_vectors.h: Datei oder Verzeichnis nicht gefunden make[10]: *** [gamma_drv.o] Error 1 Regards, Dieter ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel