LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Error trying to compile drm-trunk (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/error-trying-to-compile-drm-trunk-224222/)

chozas 08-30-2004 04:43 AM

Error trying to compile drm-trunk
 
Hello I have an ati igp320m and i was trying to put 3D acceleration trough DRI.

I have debian an I install the packets that dri recommended to install to have dri.

My problem is that when I'm going to compile the drm-trunk with:

make -f Makefile.linux DRM_MODULES="radeon"

I recieve the following errors:

make -C /lib/modules/2.6.8.1/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1'
CC [M] /usr/src/modules/drm-trunk/radeon_drv.o
In file included from /usr/src/modules/drm-trunk/radeon_drv.c:39:
/usr/src/modules/drm-trunk/ati_pcigart.h: In function `radeon_ati_alloc_pcigart_table':
/usr/src/modules/drm-trunk/ati_pcigart.h:71: error: structure has no member named `count'
/usr/src/modules/drm-trunk/ati_pcigart.h: In function `radeon_ati_free_pcigart_table':
/usr/src/modules/drm-trunk/ati_pcigart.h:88: error: structure has no member named `count'
In file included from /usr/src/modules/drm-trunk/radeon_drv.c:55:
/usr/src/modules/drm-trunk/drm_vm.h: In function `radeon_do_vm_nopage':
/usr/src/modules/drm-trunk/drm_vm.h:104: error: structure has no member named `count'
make[2]: *** [/usr/src/modules/drm-trunk/radeon_drv.o] Error 1
make[1]: *** [_module_/usr/src/modules/drm-trunk] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1'
make: *** [modules] Error 2

Also another question for enabling DRI do I need to enable DRI support in the kernel??

Thank you for your help


All times are GMT -5. The time now is 01:58 PM.