public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [rdma-core] Compile issue with DRM headers
@ 2021-03-19  8:43 liweihang
  2021-03-19 16:50 ` Xiong, Jianxin
  0 siblings, 1 reply; 6+ messages in thread
From: liweihang @ 2021-03-19  8:43 UTC (permalink / raw)
  To: jianxin.xiong@intel.com, linux-rdma@vger.kernel.org
  Cc: Jason Gunthorpe, Leon Romanovsky, Linuxarm

Hi Jianxin,

I met a compile error with recent version of rdma-core on my server with Ubuntu
14.04:

./pyverbs/dmabuf_alloc.c:16:24: fatal error: amdgpu_drm.h: No such file or
directory
 #include <amdgpu_drm.h>
                        ^
compilation terminated.

I found it is related with dma-buf based commits. And the commit 3788aa843b4b
("configure: Add check for DRM headers") adds a check for libdrm headers. I have
installed it but my version(2.4.67-1ubuntu0.14.04.2) isn't new enough, there is
no 'amdgpu_drm.h' in DRM_INCLUDE_DIRS(/usr/include/drm).

So I think we may need some check for the the version of libdrm in CMakeList.txt
or something else :) Could you please give me some suggestions?

Thanks
Weihang

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-22  6:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-19  8:43 [rdma-core] Compile issue with DRM headers liweihang
2021-03-19 16:50 ` Xiong, Jianxin
2021-03-21 12:06   ` Leon Romanovsky
2021-03-21 15:53     ` Jason Gunthorpe
2021-03-22  6:00       ` Xiong, Jianxin
2021-03-22  6:25         ` liweihang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox