Summary: | Can't compile git drm/linux-core/drm_memory.c | ||
---|---|---|---|
Product: | DRI | Reporter: | Dario <wallace76> |
Component: | DRM/other | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | blocker | ||
Priority: | high | ||
Version: | DRI git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Dario
2009-10-16 08:50:57 UTC
(In reply to comment #0) > Hi all, i must compile from git to get the mach64 drm module, but compiling in > kernel 2.6.31 i got the error: > CC [M] /usr/src/drm/drm/linux-core/drm_memory.o > /usr/src/drm/drm/linux-core/drm_memory.c: In function 'agp_remap': > /usr/src/drm/drm/linux-core/drm_memory.c:286: error: 'struct agp_memory' has no > member named 'memory' > make[2]: *** [/usr/src/drm/drm/linux-core/drm_memory.o] Error 1 > make[1]: *** [_module_/usr/src/drm/drm/linux-core] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.31' > make: *** [modules] Error 2 > > How to fix this? > 10x > struct agp_memory now uses 'pages' not 'memory' in 2.6.31. need to update the following files to reflect this change linux-core/drm_agpsupport.c linux-core/drm_memory.c linux-core/drm_vm.c (In reply to comment #1) > > struct agp_memory now uses 'pages' not 'memory' in 2.6.31. need to update the > following files to reflect this change > > linux-core/drm_agpsupport.c > linux-core/drm_memory.c > linux-core/drm_vm.c > Yes... I read something about this on different forum... but how change this files? :) Other people (dev?) how build on 2.6.31? ^_^" Why don't commit the change on repository? This wasn't only my problem, I think. 10x Ok... now the source code was cutted out from git... exist anymore? where can i find the drm code (kernel various .ko driver)? thanks (In reply to comment #3) > Ok... now the source code was cutted out from git... exist anymore? where can i > find the drm code (kernel various .ko driver)? In the kernel source. (In reply to comment #4) > (In reply to comment #3) > > Ok... now the source code was cutted out from git... exist anymore? where can i > > find the drm code (kernel various .ko driver)? > > In the kernel source. > ;) /drivers/gpu/drm/ ok, so I can say definitively 'good bye' to mach64 driver? no more (poor) hw acceleration... :/ sad Hi, Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org. To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default). Sorry about the noise! |
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.