DRM not compiling

tony tony at tgds.net
Sun May 15 14:55:14 UTC 2005


I'm running a modified -1303 kernel with great success except for one
thing:

	- while trying to compile out of tree DRM for VIA CLE266 from CVS
sources I keep getting the following error

My system is a FC3 which was yum upgraded to FC4 test 4 and kernel
upgraded (along with other applications) since.

The unichrome people tell me I have kernel header problems. Can some
kind person please help me debug this? 

TIA

Tony

CC [M]  /usr/src/drm/linux-core/drm_agpsupport.o
/usr/src/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_acquire’:
/usr/src/drm/linux-core/drm_agpsupport.c:108: erreur: too few arguments
to function ‘agp_backend_acquire’
/usr/src/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_release’:
/usr/src/drm/linux-core/drm_agpsupport.c:139: erreur: too few arguments
to function ‘agp_backend_release’
/usr/src/drm/linux-core/drm_agpsupport.c: In function
‘drm_agp_do_release’:
/usr/src/drm/linux-core/drm_agpsupport.c:156: erreur: too few arguments
to function ‘agp_backend_release’
/usr/src/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_enable’:
/usr/src/drm/linux-core/drm_agpsupport.c:189: attention : passing
argument 1 of ‘agp_enable’ makes pointer from integer without a cast
/usr/src/drm/linux-core/drm_agpsupport.c:189: erreur: too few arguments
to function ‘agp_enable’
/usr/src/drm/linux-core/drm_agpsupport.c: In function ‘drm_agp_init’:
/usr/src/drm/linux-core/drm_agpsupport.c:429: attention : passing
argument 1 of ‘agp_copy_info’ from incompatible pointer type
/usr/src/drm/linux-core/drm_agpsupport.c:429: erreur: too few arguments
to function ‘agp_copy_info’
/usr/src/drm/linux-core/drm_agpsupport.c: In function
‘drm_agp_allocate_memory’:/usr/src/drm/linux-core/drm_agpsupport.c:457:
attention : passing argument 1 of ‘agp_allocate_memory’ makes pointer
from integer without a cast
/usr/src/drm/linux-core/drm_agpsupport.c:457: erreur: too few arguments
to function ‘agp_allocate_memory’
/usr/src/drm/linux-core/drm_agpsupport.c:458: attention : control
reaches end of non-void function
make[2]: *** [/usr/src/drm/linux-core/drm_agpsupport.o] Erreur 1
make[1]: *** [_module_/usr/src/drm/linux-core] Erreur 2
make[1]: Leaving directory `/usr/src/linux-2.6.11'
make: *** [modules] Erreur 2





More information about the fedora-test-list mailing list