LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2012, 01:25 PM   #1
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Rep: Reputation: 31
Errors compiling fglrx (AMD Catalyt) drivers on recent kernel


I'm trying to install the latest AMD graphics drivers (12.8, downloaded from AMD's website) on Linux Mint Debian Edition running kernel 3.7.0-rc1. The installed ran, then exited with errors. Checking the logs, I found that compilation had failed. The error messages:
Code:
make -C /lib/modules/3.7.0-rc1/build SUBDIRS=/var/lib/dkms/fglrx/8.982/build/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.7-rc1'
  CC [M]  /var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.o
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c: In function ‘KCL_MEM_AllocLinearAddrInterval’:
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:2131:5: error: implicit declaration of function ‘do_mmap’ [-Werror=implicit-function-declaration]
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:2131:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c: In function ‘KCL_MEM_VM_MapRegion’:
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:3880:39: error: ‘VM_RESERVED’ undeclared (first use in this function)
/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.c:3880:39: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/fglrx/8.982/build/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/var/lib/dkms/fglrx/8.982/build/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-3.7-rc1'
make: *** [kmod_build] Error 2
build failed with return value 2
I did some Googling but didn't find anything. It looks like I'm missing a library or something. I tried installing the driver from the repo, it fails with the same error on this kernel. It does compile and work on 3.2.0, but I need a newer kernel version than that. Any ideas?
 
Old 10-20-2012, 01:54 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
fglrx does currently not support kernel 3.7.
 
Old 10-20-2012, 08:40 PM   #3
hunternet93
Member
 
Registered: Jun 2009
Posts: 87

Original Poster
Rep: Reputation: 31
Ok, rolling back to 3.6.2 (assuming its supported...)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATi/AMD Proprietary FGLRX driver? "additional drivers" CrazyGuy158 Linux Mint 4 02-24-2012 11:21 AM
Errors when compiling kernel 2.6.23, cdrom.o and drivers/block/built-in.o stanunruh Linux - Newbie 3 08-26-2011 03:56 PM
compiling fglrx drivers on Debian 5.0.6 ferenc Linux - Hardware 1 10-28-2010 04:03 PM
Fglrx and kernel compiling slackware 13.1 sbailey85 Slackware 6 06-13-2010 04:43 AM
compiling kernel 2.2.26 on a recent distro syrekron Linux - General 2 06-23-2004 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration