LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-11-2012, 09:36 AM   #1
oniichan
LQ Newbie
 
Registered: Jul 2012
Posts: 3

Rep: Reputation: Disabled
Installing AMD drivers


Hi.
Long story short: Dual monitors, latest Fedora.
Trying to install AMD fglrx-drivers.

Log outputs
Quote:
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.4.4-5.fc17.x86_64/build SUBDIRS=/usr/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/3.4.4-5.fc17.x86_64'
CC [M] /usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘kasInitExecutionLevels’:
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4159:5: error: ‘cpu_possible_map’ undeclared (first use in this function)
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4159:5: note: each undeclared identifier is reported only once for each function it appears in
/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4159:5: warning: left-hand operand of comma expression has no effect [-Wunused-value]
make[2]: *** [/usr/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/usr/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.4.4-5.fc17.x86_64'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
GCC is installed, CCC gets installed but I can't run it in administrative mode, which means I can't do any changes.
Any help is wanted.
Thank you,
onii~
 
Old 07-12-2012, 04:22 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Welcome to LQ

At first look, it's trying to build a 2.6.x module in a 3.4.x kernel, which is brave, but not guaranteed of success. Error 2 is file not found, IIRC. It's probably missed a header file.

I would load the standard config and make with commands like

Quote:
cd /usr/src/kernels/3.4.4-5.fc17.x86_64
cp /boot/config-3.4.4-5.fc17.x86_64 .config
make clean; make
and then try your install.
 
  


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
Cannot get the official AMD drivers to work with Fedora 16. CrazyGuy158 Linux - Software 40 02-23-2012 08:07 AM
AMD promises better ATi drivers for Linux khinch Linux - News 9 09-13-2007 02:00 AM
ATI drivers and AMD X86/64 error. raid517 SUSE / openSUSE 2 12-10-2005 10:55 AM
amd drivers 0n1t3hn00b Linux - Software 14 10-18-2005 01:59 PM
NVidia drivers on AMD 64 doctorwebbox Linux - Hardware 1 03-22-2005 09:59 AM

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

All times are GMT -5. The time now is 05:30 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