So I am having some issues with kernel 4.0RC5 on ubuntu... I went ahead and grabbed all the packages INCLUDING all the headers I needed and the AMD installation of proprietary drivers says I do not have the headers when I clearly do every time I run the command noted in their log file
NOTE: If your system has logged the missing packages required for installation, install them in the order as per the log file to resolve package-dependency issues.
fglrx installation requires that the system has kernel headers. /lib/modules/4.0.0- 040000rc5-generic/build/include/linux/version.h cannot be found on this system.
Install kernel headers using the command apt-get install linux-headers-4.0.0-040000rc5-generic.
Anybody else having this issue or did I miss something?
(Its not a deal breaker... I am experimenting :D )
How I installed
$ cd /tmp
$ wget \
>kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc5-vivid/linux-headers-4.0.0-040000rc5_4.0.0-040000rc5.201503230035_all.deb \
>kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc5-vivid/linux-headers-4.0.0-040000rc5-generic_4.0.0-040000rc5.201503230035_amd64.deb \
>kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-rc5-vivid/linux-image-4.0.0-040000rc5-generic_4.0.0-040000rc5.201503230035_amd64.deb
sudo dpkg -i linux-headers-4.0*.deb linux-image-4.0*.deb
sudo reboot
SOLVED
Removed header check in ati-install.sh amd-install.sh :D DKMS does the rest
[Note Please leave uname -a command there for kernel version requirements and DKMS build info]