Bug 23817

Summary: x11-drm build fails - struct agp_memory has no member named memory
Product: xorg Reporter: steve <fourstar10_2000>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description steve 2009-09-09 10:39:45 UTC
emerging x11-drm fails with new kernel....

kernel = linux-2.6.31_pvops-xen-rebase.master.tree-2009-08-31


/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.c: In function 'drm_do_vm_fault':
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.c:153: error: 'struct agp_memory' has no member named 'memory'
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.c:157: error: 'struct agp_memory' has no member named 'memory'
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.c: In function 'drm_vm_shm_close':
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.c:252: warning: enumeration value '_DRM_GEM' not handled in switch
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_vm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_memory.c: In function 'agp_remap':
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_memory.c:286: error: 'struct agp_memory' has no member named 'memory'
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_memory.o] Error 1
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_agpsupport.c: In function 'drm_agp_bind_pages':
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_agpsupport.c:486: error: 'struct agp_memory' has no member named 'memory'
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_agpsupport.c: In function 'drm_agp_populate':
/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_agpsupport.c:547: error: 'struct agp_memory' has no member named 'memory'
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core/drm_agpsupport.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-base/x11-drm-20090320/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31_pvops-xen-rebase.master.tree-2009-08-31'
make: *** [modules] Error 2
Comment 1 Maarten Maathuis 2009-09-09 10:52:01 UTC
mesa/drm is only maintained for libdrm these days. linux-core should not be used.

Kernel module development happens here http://cgit.freedesktop.org/nouveau/linux-2.6/

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.