Hello, my p650 arrived. 2d is great in linux and in windows i get 191 fps in quake3. i would like to play in linux though... so i was trying to build the matrox parhelia kernel module on linux 2.6.0-test9. but it did not compile:
Using kernel headers in /lib/modules/2.6.0-beta-test9/build/include gcc -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -O2 -fomit-frame-pointer -fi In file included from /lib/modules/2.6.0-beta-test9/build/include/asm/ processor.h:18, from /lib/modules/2.6.0-beta-test9/build/include/asm/ thread_info.h:13, from /lib/modules/2.6.0-beta-test9/build/include/linux/ thread_info.h:21, from /lib/modules/2.6.0-beta-test9/build/include/linux/ spinlock.h:12, from /lib/modules/2.6.0-beta-test9/build/include/linux/ capability.h:45, from /lib/modules/2.6.0-beta-test9/build/include/linux/ sched.h:7, from /lib/modules/2.6.0-beta-test9/build/include/linux/ module.h:10, from mtx_drv.h:34, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/asm/system.h: In function `__set_64bit_var': /lib/modules/2.6.0-beta-test9/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /lib/modules/2.6.0-beta-test9/build/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /lib/modules/2.6.0-beta-test9/build/include/linux/ sched.h:25, from /lib/modules/2.6.0-beta-test9/build/include/linux/ module.h:10, from mtx_drv.h:34, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h: In function `sigorsets': /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h:102: warning: nested extern declaration of `_NSIG_WORDS_is_unsupported_size' /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h: In function `sigandsets': /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h:105: warning: nested extern declaration of `_NSIG_WORDS_is_unsupported_size' /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h: In function `signandsets': /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h:108: warning: nested extern declaration of `_NSIG_WORDS_is_unsupported_size' /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h: In function `signotset': /lib/modules/2.6.0-beta-test9/build/include/linux/signal.h:132: warning: nested extern declaration of `_NSIG_WORDS_is_unsupported_size' In file included from /lib/modules/2.6.0-beta-test9/build/include/linux/ percpu.h:4, from /lib/modules/2.6.0-beta-test9/build/include/linux/ sched.h:31, from /lib/modules/2.6.0-beta-test9/build/include/linux/ module.h:10, from mtx_drv.h:34, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/linux/slab.h: In function `kmalloc': /lib/modules/2.6.0-beta-test9/build/include/linux/slab.h:89: warning: nested extern declaration of `__you_cannot_kmalloc_that_much' In file included from /lib/modules/2.6.0-beta-test9/build/include/linux/ irq.h:20, from /lib/modules/2.6.0-beta-test9/build/include/asm/ hardirq.h:6, from /lib/modules/2.6.0-beta-test9/build/include/linux/ interrupt.h:11, from mtx_drv.h:42, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.0-beta-test9/build/include/asm/ hardirq.h:6, from /lib/modules/2.6.0-beta-test9/build/include/linux/ interrupt.h:11, from mtx_drv.h:42, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/linux/irq.h: At top level: /lib/modules/2.6.0-beta-test9/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /lib/modules/2.6.0-beta-test9/build/include/linux/ irq.h:72, from /lib/modules/2.6.0-beta-test9/build/include/asm/ hardirq.h:6, from /lib/modules/2.6.0-beta-test9/build/include/linux/ interrupt.h:11, from mtx_drv.h:42, from mtx_drv.c:17: /lib/modules/2.6.0-beta-test9/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /lib/modules/2.6.0-beta-test9/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) /lib/modules/2.6.0-beta-test9/build/include/asm/hw_irq.h: In function `x86_do_profile': /lib/modules/2.6.0-beta-test9/build/include/asm/hw_irq.h:78: warning: nested extern declaration of `prof_cpu_mask' In file included from mtx_drv.c:17: mtx_drv.h: At top level: mtx_drv.h:158: error: parse error before "agp_kern_info" mtx_drv.h:158: warning: no semicolon at end of struct or union mtx_drv.h:167: error: parse error before '}' token mtx_drv.h:167: warning: type defaults to `int' in declaration of `mtx_agp_driver_t' mtx_drv.h:167: warning: data definition has no type or storage class mtx_drv.h:572: error: parse error before '*' token mtx_drv.h:572: warning: type defaults to `int' in declaration of `agp_drv' mtx_drv.h:572: warning: data definition has no type or storage class mtx_drv.c: In function `mtx_do_tests': mtx_drv.c:206: error: `PCI_DEVICE_ID_VIA_82C691' undeclared (first use in this function) mtx_drv.c:206: error: (Each undeclared identifier is reported only once mtx_drv.c:206: error: for each function it appears in.) mtx_drv.c: In function `mtx_find_symbol': mtx_drv.c:349: warning: implicit declaration of function `MOD_CAN_QUERY' mtx_drv.c:353: warning: assignment from incompatible pointer type mtx_drv.c:353: error: structure has no member named `nsyms' mtx_drv.c:353: error: increment of pointer to unknown structure mtx_drv.c:353: error: arithmetic on pointer to an incomplete type mtx_drv.c:355: error: dereferencing pointer to incomplete type mtx_drv.c:358: error: dereferencing pointer to incomplete type make: *** [mtx_drv.o] Fehler 1 thats all spanish to me, so i ask, i please you: can you please fix this for me??? :) i know you can!!! maybe its just some small changes in the Makefile? the driver is available here: ftp://mgi401:[EMAIL PROTECTED]/private/plinux_beta4 i wonder why they write linux drivers for redhat and not just LINUX!? i dont wanna use redhat9 since i am happy with lunar-linux!! Jan -- Cannot find weapons or CIA Error Iraqi Explorer ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel