Bug 239050 - DRM module compile fails with vm_insert_pfn names conflict
DRM module compile fails with vm_insert_pfn names conflict
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Kernel Maintainer List
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2007-05-04 13:04 EDT by Calin Brabandt
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-05-04 13:50:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
freedesktop.org DRM won't compile bug report (30.04 KB, text/html)
2007-05-04 13:04 EDT, Calin Brabandt
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 10576 None None None Never

  None (edit)
Description Calin Brabandt 2007-05-04 13:04:09 EDT
Description of problem:
DRM modules won't compile with 2.6.20-1.3104.fc7 (vm_insert_pfn names conflict)

Version-Release number of selected component (if applicable):
Fedora 7-test4 and 2.6.20-1.3104.fc7

How reproducible:

Steps to Reproduce:
1.Obtain current DRM source
git-clone git://anongit.freedesktop.org/git/mesa/drm
2. make
Actual results:
[mythtv@localhost linux-core]$ make
make -C /lib/modules/2.6.20-1.3104.fc7/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.3104.fc7-i686'
  CC [M]  /home/mythtv/src/drm/linux-core/drm_compat.o
/home/mythtv/src/drm/linux-core/drm_compat.c:190: error: static declaration of
‘vm_insert_pfn’ follows non-static declaration
include/linux/mm.h:1131: error: previous declaration of ‘vm_insert_pfn’ was here
make[2]: *** [/home/mythtv/src/drm/linux-core/drm_compat.o] Error 1
make[1]: *** [_module_/home/mythtv/src/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.3104.fc7-i686'
make: *** [modules] Error 2

Expected results:
Successful compile of DRM

Additional info:
Bug reported here to freedesktop.org but they aren't fixing it.
Comment 1 Calin Brabandt 2007-05-04 13:04:09 EDT
Created attachment 154141 [details]
freedesktop.org DRM won't compile bug report
Comment 2 Chuck Ebbert 2007-05-04 13:50:14 EDT
Fixed with newer kernels based on official 2.6.21.


Comment 3 Calin Brabandt 2007-05-06 14:43:08 EDT
Fix confirmed. :)  Thank you!

Note You need to log in before you can comment on or make changes to this bug.