hi people. i'm trying to compile drivers for my graphic card, a intel 855GME, on Debian sarge, 2.6.12-1-686.
i begin to compile but after few seconds it stops saying that..
DIRECT RENDERING OPEN SOURCE PROJECT - DRIVER INSTALLATION SCRIPT
[
http://dri.sourceforge.net ]
==========================================================================
The script will now compile the agpgart module and DRM kernel modules
for your machine.
Press ENTER to continue or CTRL-C to exit.
Compiling new agpgart module...
Compiling DRM module...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.
..so i read this dri.log file, and it says that..
make -f Makefile.linux DRM_MODULES=gdg.ko modules
make[1]: Entering directory `/home/marco/Desktop/dripkg/drm'
make -C /lib/modules/2.6.12-1-686/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.13.4'
CC [M] /home/marco/Desktop/dripkg/drm/gdg_drv.o
In file included from /home/marco/Desktop/dripkg/drm/gdg_drv.c:17:
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:47: error: syntax error before '*' token
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:47: warning: type defaults to `int' in declaration of `drm_agp'
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:47: warning: data definition has no type or storage class
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_info':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:69: error: request for member `copy_info' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_acquire':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:111: error: request for member `acquire' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:117: error: request for member `acquire' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_release':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:140: error: request for member `release' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:142: error: request for member `release' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_do_release':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:155: error: request for member `release' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:156: error: request for member `release' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_enable':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:178: error: request for member `enable' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:185: error: request for member `enable' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_bind':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:333: error: request for member `bind_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_init':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:407: error: `drm_agp_t' undeclared (first use in this function)
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:407: error: (Each undeclared identifier is reported only once
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:407: error: for each function it appears in.)
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:407: error: syntax error before ')' token
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:412: error: request for member `copy_info' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_uninit':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:436: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:573)
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_allocate_memory':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:443: error: request for member `allocate_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:445: error: request for member `allocate_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_free_memory':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:451: error: request for member `free_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:453: error: request for member `free_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_bind_memory':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:460: error: request for member `bind_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:462: error: request for member `bind_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h: In function `gdg_agp_unbind_memory':
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:468: error: request for member `unbind_memory' in something not a structure or union
/home/marco/Desktop/dripkg/drm/drm_agpsupport.h:470: error: request for member `unbind_memory' in something not a structure or union
In file included from /home/marco/Desktop/dripkg/drm/gdg_drv.c:28:
/home/marco/Desktop/dripkg/drm/drm_memory.h: In function `drm_follow_page':
/home/marco/Desktop/dripkg/drm/drm_memory.h:139: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
In file included from /home/marco/Desktop/dripkg/drm/gdg_drv.c:30:
/home/marco/Desktop/dripkg/drm/drm_vm.h: In function `gdg_mmap':
/home/marco/Desktop/dripkg/drm/drm_vm.h:625: warning: implicit declaration of function `remap_page_range'
In file included from /home/marco/Desktop/dripkg/drm/gdg_drv.c:31:
/home/marco/Desktop/dripkg/drm/drm_stub.h: In function `gdg_stub_putminor':
/home/marco/Desktop/dripkg/drm/drm_stub.h:145: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:573)
/home/marco/Desktop/dripkg/drm/drm_stub.h:147: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:570)
/home/marco/Desktop/dripkg/drm/drm_stub.h: In function `gdg_stub_register':
/home/marco/Desktop/dripkg/drm/drm_stub.h:177: warning: implicit declaration of function `inter_module_get'
/home/marco/Desktop/dripkg/drm/drm_stub.h:188: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:569)
make[3]: *** [/home/marco/Desktop/dripkg/drm/gdg_drv.o] Error 1
make[2]: *** [_module_/home/marco/Desktop/dripkg/drm] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13.4'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/marco/Desktop/dripkg/drm'
make: *** [gdg.ko] Error 2
..why? what's wrong? drivers' code? tnx : )