AMD GPU Pro build failure
Nathan Osman — 11 months ago


DKMS make.log for amdgpu-pro-16.15.2-277429 for kernel 4.4.0-21-generic (x86_64)
Sat Apr 30 16:29:25 PDT 2016
make: Entering directory '/usr/src/linux-headers-4.4.0-21-generic'
LD /var/lib/dkms/amdgpu-pro/16.15.2-277429/build/built-in.o
LD /var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/built-in.o
CC [M] /var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.o
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:509:24: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_vblank_counter = amdgpu_get_vblank_counter_kms,
^
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:509:24: note: (near initialization for ‘kms_driver.get_vblank_counter’)
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:510:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.enable_vblank = amdgpu_enable_vblank_kms,
^
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:510:19: note: (near initialization for ‘kms_driver.enable_vblank’)
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:511:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.disable_vblank = amdgpu_disable_vblank_kms,
^
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:511:20: note: (near initialization for ‘kms_driver.disable_vblank’)
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:512:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_vblank_timestamp = amdgpu_get_vblank_timestamp_kms,
^
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:512:26: note: (near initialization for ‘kms_driver.get_vblank_timestamp’)
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:513:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.get_scanout_position = amdgpu_get_crtc_scanoutpos,
^
/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.c:513:26: note: (near initialization for ‘kms_driver.get_scanout_position’)
cc1: all warnings being treated as errors
scripts/Makefile.build:258: recipe for target '/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.o' failed
make[2]: *** [/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu/amdgpu_drv.o] Error 1
scripts/Makefile.build:403: recipe for target '/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu-pro/16.15.2-277429/build/amd/amdgpu] Error 2
Makefile:1396: recipe for target '_module_/var/lib/dkms/amdgpu-pro/16.15.2-277429/build' failed
make: *** [_module_/var/lib/dkms/amdgpu-pro/16.15.2-277429/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-21-generic'