hi body. i need dri support on my debian sarge; my laptop is provided of an intel 855GM graphic card. i need to install graphic drivers, so i try to compile sources by intel, but this is the error make reports..
Code:
make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/home/marco/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686'
CC [M] /home/marco/dripkg/agpgart-2.0/backend.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/marco/dripkg/agpgart-2.0/backend.c:29:
include/asm/processor.h:87: error: array type has incomplete element type
make[2]: *** [/home/marco/dripkg/agpgart-2.0/backend.o] Error 1
make[1]: *** [_module_/home/marco/dripkg/agpgart-2.0] Error 2
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686'
make: *** [default] Error 2
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/marco/dripkg/drm'
make -C /lib/modules/2.6.8-2-686/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686'
CC [M] /home/marco/dripkg/drm/gdg_drv.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /home/marco/dripkg/drm/drmP.h:46,
from /home/marco/dripkg/drm/gdg_drv.c:12:
include/asm/processor.h:87: error: array type has incomplete element type
In file included from /home/marco/dripkg/drm/gdg_drv.c:20:
/home/marco/dripkg/drm/drm_context.h: In function 'gdg_context_switch':
/home/marco/dripkg/drm/drm_context.h:309: warning: pointer targets in passing argument 2 of 'test_and_set_bit' differ in signedness
/home/marco/dripkg/drm/drm_context.h:318: warning: pointer targets in passing argument 2 of 'clear_bit' differ in signedness
/home/marco/dripkg/drm/drm_context.h: In function 'gdg_context_switch_complete':
/home/marco/dripkg/drm/drm_context.h:348: warning: pointer targets in passing argument 2 of 'clear_bit' differ in signedness
make[3]: *** [/home/marco/dripkg/drm/gdg_drv.o] Error 1
make[2]: *** [_module_/home/marco/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/marco/dripkg/drm'
make: *** [gdg.ko] Error 2
what's the matter? i've installed kernel headers and sources, and all modules i could need (agpgart, intel-agp) are loaded..any suggestion?