I am trying to install amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64 on Ubuntu 14.04, and failing due missing /lib/modules/3.13.0-37-generic/build/include/linux/version.h. I tried to install driver forcefully with no success.

The error in /usr/share/ati/fglrx-install.log is:

Check if system has the tools required for installation. fglrx installation requires that the system have kernel headers. /lib/modules/3.13.0-37-generic/build/include/linux/version.h cannot be found on this system. fglrx installation is being forced. Installation will proceed without the required tools on the system. Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/ -> /usr/src/fglrx-

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area.... cd /var/lib/dkms/fglrx/; sh make.sh --nohints --uname_r=3.13.0-37-generic --norootcheck....(bad exit status: 1) [Error] Kernel Module : Failed to build fglrx- with DKMS [Error] Kernel Module : Removing fglrx- from DKMS

------------------------------ Deleting module version: completely from the DKMS tree. ------------------------------ Done. [Reboot] Kernel Module : update-initramfs

1 Answer 1


Beginning with 3.7, the uapi sources have changed and this causes issues with some older drivers that can't locate version.h...

Try this:

ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/
  • As trying to install this driver ruined x-server, It doesn't make sense to try it again ;)
    – Mehraban
    Oct 26, 2014 at 5:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .