I have been following instructions to install the latestfglrx drivers having downloaded the *.run from ati.com. it almost completes then…
[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.
ATI module generator V 2.0
initializing…
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
I can’t find any readme either.
I have re installed the kernel headers, but get the same error exactly. I’m now wondering should I install the kernel sources as well ? Or is it simply the ati.run file cannot find the headers ?
If it can’t how do I tell it where they are?
I have a working monitor , but not the laptops , the second/dual screen (a samsung hdtv) is working great as a clone, but the laptop’s screen is blank. That’s why I want the drivers.
Sounds like you are still missing some dependencies.
Insert your install disc. Go to Yast / Software Management. Go to Filters / Patterns. Check the box for “Linux Kernel Development”. Some other stuff will automatically be selected, including “C++ Development”. Install all of this stuff.
A lot of it will be on your install disc, but some may have to be downloaded, depending upon if you have updated your kernel or not.
[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.
ATI module generator V 2.0
initializing…
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
OK, well it’s possible that you may have updated your kernel to a version which does not yet have kernel source packages available for download. And since the installer needs these to “build” a driver for you, you get error messages.
That’s my guess.
Have you tried going into Yast and doing a search for “fglrx” and seeing if any of the repos has a driver that will work? You don’t need kernel source packages to install the repo drivers, but the version HAS to match your kernel version.
if you have the ati repo that might work unless you have done what foresthill said about the kernel
cause i run radeon x700 and the ati repo works just fine for me
Sorry, I forgot that you have to add the ATI repo manually. If you go to Yast / Software Repositories / Community Repositories, and add the ATI one, and THEN do a search in Yast / Software Repositories for fglrx, that might work.
Try to create a link, mimicing existence of version.h there where the compilation process needs it.
In my computer, there are several version.h-s, the most relevant one perhaps is
/usr/include/linux/version.h
/usr/src/linux-2.6.25.18-0.2-obj/x86_64/default/include/linux/version.h
Link from
/usr/src/linux/include/linux/
to one of those version.h-s.
But before that of course have installed kernel-source, linux-kernel-headers and kernel-syms packages.