Whenever I try to build fglrx with dkms for kernel 3.18.22 I get the following:
FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol 'pci_ignore_hotplug' scripts/Makefile.modpost:90: recipe for target '__modpost' failed make: *** [__modpost] Error 1 Makefile:1384: recipe for target 'modules' failed make: *** [modules] Error 2 make: Leaving directory '/usr/src/linux-3.18.22' Makefile:88: recipe for target 'kmod_build' failed make: *** [kmod_build] Error 2 build failed with return value 2
How can I fix this? I've looked around online but haven't found a whole lot on it.
My distro is Debian 8 Jessie, I'm using
sudo dkms autoinstall -k 3.18.22 to build and I'm using the official drivers straight from AMD's site.
EDIT: So I tried compiling 4.2.3 which didn't work as I suspected since AMD doesn't even claim to support that kernel but I also tried 3.14.54 which like 3.18.22 is an LTS kernel supported by the drivers. 3.14.54 worked just fine except it's older than the kernel Jessie ships with so it's kinda pointless. I guess it is just a matter of 3.18.22 not being supported. It's just weird because it's supposed to be.