How to use amdgpu-pro with 17.04?
Solution 1:
I have some bad news.
Firstly, you're also trying to install 16.60 which is not the newest version (although the latest won't help you either).
The log file mentions:
/var/lib/dkms/amdgpu-pro/16.60-379184/build/amd/amdgpu/../amdgpu/amdgpu.h:37:25: fatal error: linux/fence.h: No such file or directory
fence.h was renamed to dma-fence.h in linux 4.10 (if you click on version 4.9, you'll see fence.h exists and dma-fence.h does not).
Thus, if you try the latest version (17.10 at time of writing) on a kernel 4.9 or older it may work... but otherwise you'll have to wait for AMD to release an update with 4.10 support.