Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded the fglrx driver installer from the ATI drivers page.

when I start the installation, everything goes smoothly until I hit an error message, telling me to check /usr/share/ati/fglrx-install.log.

The contents of that file are as follows:

Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers. /lib/modules/3.8.11-200.fc18.x86_64/build/include/linux/version.h cannot be found on this system. One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver. Optionally, run the installer with --force option to install without the tools. Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Now, after a bit of searching around, I found that the symbolic link called build in /lib/modules/3.8.11-200.fc18.x86_64 points to a nonexistent location.

I installed the kernel-devel package, and now it had pointed to an existing directory.

However, in the /lib/modules/3.8.11-200.fc18.x86_64/build/include/linux/ directory, that is populated with various header files - I cannot find the one I need - version.h.

How can I solve this problem? Should I install the driver in a different manner? Which other package can I install to get the version.h file?

I'm running a clean install (default) of Fedora 18, which I had updated today.

share|improve this question
up vote 10 down vote accepted

Install the kernel-headers package and try again. If it doesn't work, try

cp -v /usr/include/linux/version.h /lib/modules/$VERSION/build/include/linux

Make sure that $VERSION corresponds with what you get when typing uname -r.

share|improve this answer
I'm afraid that the file is still not there. – jcora May 12 '13 at 16:41
Edited my answer. – schaiba May 12 '13 at 16:59

one can also link the header file:

ln -S /lib/modules/$(uname -r)/build/include/linux/version.h /usr/include/linux/version.h
share|improve this answer
Isn't your link syntax backwards? – naught101 Nov 17 '15 at 0:12
@naught101 not exactly sure about the order of parameters right now; it's just an easy way to resolve absent headers - while the ln command has four forms of syntax: linux.die.net/man/1/ln – syslogic Nov 17 '15 at 1:11
Ah, I mis-read that -S as -s. Confusing.. – naught101 Nov 17 '15 at 4:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.