Amd graphics card installation error on ubuntu 15.10

You have all the prerequisites installed already the problem is that in newer versions of the kernel the version.h file has been relocated. You can locate it with

locate version.h

Which most likely will come up with this location for your version.h file for that version of the kernel "/usr/src/linux-headers-4.2.0-18-generic/include/generated/uapi/linux/version.h". But since we already know which kernel version and what distro you are using all you have to do is link the missing file to the folder and start the installation again.

sudo ln -s /usr/src/linux-headers-4.2.0-18-generic/include/generated/uapi/linux/version.h /lib/modules/4.2.0-18-generic/build/include/linux/version.h

That should work. Unless AMD is still not supporting that version of the kernel.


I solve this problem. Just touch /lib/modules/4.2.0-18-generic/build/include/linux/version.h file in folder in logfile.