http://bugs.freedesktop.org/show_bug.cgi?id=10576
Summary: drm modules won't compile with 2.6.21-rc6 (m_insert_pfn clash) Product: DRI Version: DRI CVS Platform: All OS/Version: All Status: NEW Severity: normal Priority: highest Component: DRM modules AssignedTo: dri-devel@lists.sourceforge.net ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] It looks like that latest (as of writing [EMAIL PROTECTED]) kernel contains function named vm_insert_pfn in /mm/memory.c and /mm/mm.h (see http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e0dc0d8f4a327d033bfb63d43f113d5f31d11b3c for specific check-in). Unfortunately vm_insert_pfn is also used in drm_compat.c thus resulting in naming clash. At a first glance they both differ in code very much. The result of make is /home/michal/nouveau/drm/linux-core/drm_compat.c:190: error: static declaration of ‘vm_insert_pfn’ follows non-static declaration include/linux/mm.h:1126: error: previous declaration of ‘vm_insert_pfn’ was here The bug was found on Ubuntu Feisty with latest kernel packages installed (which apparently is 2.6.20. uname -r gives 2.6.20-14-generic) 2.6.20 from gentoo does not have this problem. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel