[Bug 101189] Latest git fails to compile with radeon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



changed bug 101189
What Removed Added
Resolution FIXED ---
Status RESOLVED REOPENED

Comment # 15 on bug 101189 from
With this patch https://patchwork.freedesktop.org/patch/158696/ the build is
broken for me now, not using radeon. Two issues: 1) when you remove amdgpu.h
from ac_gpu_info.h, you need to (but didn't) add includes for stdint.h and
stdbool.h. 2) I get the following error when compiling (after adding the
stdint/stdbool includes):

In file included from ../../../src/amd/common/ac_gpu_info.c:37:0:
/usr/local/include/libdrm/amdgpu.h:107:31: error: conflicting types for
‘amdgpu_device_handle’
 typedef struct amdgpu_device *amdgpu_device_handle;
                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../src/amd/common/ac_gpu_info.c:26:0:
../../../src/amd/common/ac_gpu_info.h:39:16: note: previous declaration of
‘amdgpu_device_handle’ was here
 typedef void * amdgpu_device_handle;
                ^~~~~~~~~~~~~~~~~~~~



And then a few more compiler warnings/errors that I believe tie into the above
one and will be resolved when the above is resolved.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux