dri module compiling error

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

 



Hello there.

Have just downloaded dri kernel module for my Mandrake linux 10.0 official powerpack.
Kernel 2.6.3-7mdk1
XFree86-4.3.0
The kernel source code is installed.

Do make -f Makefile.linux and get

drm_vm.h: In function `gamma_vm_sg_nopage':
drm_vm.h:257: error: `dev' undeclared (first use in this function)
In file included from gamma_drv.c:54:
drm_vm.h: In function `gamma_vm_open':
drm_vm.h:281: error: `dev' undeclared (first use in this function)
In file included from gamma_drv.c:54:
drm_vm.h: In function `gamma_vm_close':
drm_vm.h:302: error: `dev' undeclared (first use in this function)
drm_vm.h:310: warning: left-hand operand of comma expression has no effect
In file included from gamma_drv.c:54:
drm_vm.h: In function `gamma_mmap_dma':
drm_vm.h:327: error: `dev' undeclared (first use in this function)
drm_vm.h: In function `gamma_mmap':
drm_vm.h:373: error: `dev' undeclared (first use in this function)
drm_vm.h:393: warning: left-hand operand of comma expression has no effect
In file included from gamma_drv.c:55:
drm_stub.h: At top level:
drm_stub.h:46: error: parse error before "drm_device_t"
drm_stub.h:46: warning: function declaration isn't a prototype
In file included from gamma_drv.c:55:
drm_stub.h:74: error: parse error before "drm_device_t"
drm_stub.h:75: warning: function declaration isn't a prototype
drm_stub.h: In function `gamma_stub_getminor':
drm_stub.h:89: error: `name' undeclared (first use in this function)
drm_stub.h:90: error: `fops' undeclared (first use in this function)
drm_stub.h:91: error: `dev' undeclared (first use in this function)
drm_stub.h: At top level:
drm_stub.h:121: error: parse error before "drm_device_t"
drm_stub.h:122: warning: function declaration isn't a prototype
drm_stub.h: In function `gamma_stub_register':
drm_stub.h:141: error: `name' undeclared (first use in this function)
drm_stub.h:141: error: `fops' undeclared (first use in this function)
drm_stub.h:141: error: `dev' undeclared (first use in this function)
make: *** [gamma_drv.o] Error 1

Do you know what is wrong?


--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[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