DRI kernel driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: DRI kernel driver

Hi,

I run RH9 with kernel 2.4.20-20.9 standard and Xfree86-4.3.0-2. DRI works fine but I need to resume form hibernation. I tried to compile the latest dri kernrl modules using linux-drm-4.3.0-kernelsource.tar.gz and other versions with the same result - it fails. Below is the output. Any idea how to solve this?

[root@X22 drm]# make -f Makefile.linux
=== KERNEL HEADERS IN /lib/modules/2.4.20-20.9/build/include
=== SMP=0 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-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS -DMODVERSIONS -include /lib/modules/2.4.20-20.9/build/include/linux/modversions.h -DEXPORT_SYMTAB -I/lib/modules/2.4.20-20.9/build/include -c gamma_drv.c -o gamma_drv.o

In file included from /lib/modules/2.4.20-20.9/build/include/linux/irq.h:69,
                 from /lib/modules/2.4.20-20.9/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.4.20-20.9/build/include/linux/interrupt.h:47,
                 from /lib/modules/2.4.20-20.9/build/include/asm/highmem.h:25,
                 from /lib/modules/2.4.20-20.9/build/include/linux/highmem.h:11,                 from /lib/modules/2.4.20-20.9/build/include/linux/vmalloc.h:8,

                 from /lib/modules/2.4.20-20.9/build/include/asm/io.h:47,
                 from /lib/modules/2.4.20-20.9/build/include/asm/pci.h:40,
                 from /lib/modules/2.4.20-20.9/build/include/linux/pci.h:657,
                 from drmP.h:50,
                 from gamma_drv.c:34:
/lib/modules/2.4.20-20.9/build/include/asm/hw_irq.h: In function `x86_do_profile':
/lib/modules/2.4.20-20.9/build/include/asm/hw_irq.h:195: warning: nested extern
declaration of `prof_cpu_mask'
/lib/modules/2.4.20-20.9/build/include/asm/hw_irq.h:196: warning: nested extern
declaration of `_stext'
In file included from /lib/modules/2.4.20-20.9/build/include/linux/vmalloc.h:8,
                 from /lib/modules/2.4.20-20.9/build/include/asm/io.h:47,
                 from /lib/modules/2.4.20-20.9/build/include/asm/pci.h:40,
                 from /lib/modules/2.4.20-20.9/build/include/linux/pci.h:657,
                 from drmP.h:50,
                 from gamma_drv.c:34:
/lib/modules/2.4.20-20.9/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-20.9/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
In file included from gamma_drv.c:54:
drm_vm.h: In function `gamma_mmap':
drm_vm.h:462: warning: passing arg 1 of `remap_page_range_Rc414bdc2' makes pointer from integer without a cast
drm_vm.h:462: incompatible type for argument 4 of `remap_page_range_Rc414bdc2'
drm_vm.h:462: too few arguments to function `remap_page_range_Rc414bdc2'
make: *** [gamma_drv.o] Error 1



"This communication is intended solely for the addressee and is confidential and not for third party unauthorised distribution."

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux