When installing the DKMS module I get this error log.
DKMS make.log for amdgpu-pro-16.30.3-315407 for kernel 4.8.12-3-ARCH (x86_64)
Fri Dec 9 16:16:09 CET 2016
make: Entering directory '/usr/lib/modules/4.8.12-3-ARCH/build'
LD /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/built-in.o
LD /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/built-in.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_device.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_kms.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_atombios.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/atombios_crtc.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_connectors.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/atom.o
CC [M] /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_fence.o
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu.h:59:0,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5,
from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:10,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../scheduler/gpu_scheduler.h:27:49: error: operator '==' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR == 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:14:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_acpi.h:8:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
In file included from /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/backport.h:15:0,
from <command-line>:0:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h: In function ‘kcl_hwmon_device_register_with_groups’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../backport/include/kcl/kcl_hwmon.h:15:49: error: operator '<=' has no left operand
#if (defined OS_NAME_RHEL) && (OS_VERSION_MAJOR <= 6)
^~
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_kms.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/atombios_crtc.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_fence.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_atombios.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_connectors.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/atom.o] Error 1
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_device.o] Error 1
make[1]: *** [scripts/Makefile.build:440: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu] Error 2
make: *** [Makefile:1473: _module_/var/lib/dkms/amdgpu-pro-16.30.3/315407/build] Error 2
make: Leaving directory '/usr/lib/modules/4.8.12-3-ARCH/build'
When installing the DKMS module I get this error log.