qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1662600] [NEW] error while building from source on Ubu


From: Corey Olson
Subject: [Qemu-devel] [Bug 1662600] [NEW] error while building from source on Ubuntu 16.04
Date: Tue, 07 Feb 2017 17:20:49 -0000

Public bug reported:

I'm trying to build Qemu from source (from git) as specified here:
http://www.qemu-project.org/download/#source

Here is the git commit hash for the source:
7d2c6c95511e42dffe2b263275e09957723d0ff4

During the 'make' step, I get the following error:

migration/rdma.c: In function ‘qemu_rdma_dump_id’:
migration/rdma.c:749:21: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
migration/rdma.c:750:22: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
migration/rdma.c:750:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first 
use in this function)
migration/rdma.c:750:37: note: each undeclared identifier is reported only once 
for each function it appears in
migration/rdma.c:751:24: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
migration/rdma.c:751:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use 
in this function)
migration/rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’:
migration/rdma.c:850:26: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
migration/rdma.c:850:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first 
use in this function)
migration/rdma.c:852:33: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
migration/rdma.c:852:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use 
in this function)
migration/rdma.c:891:18: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
make: *** [migration/rdma.o] Error 1

I searched around a bit, my problem seems related to this:
https://patchwork.kernel.org/patch/992952/

That issue makes me think my libibverbs may be out of date, but I
checked and I have libibverbs-dev installed.  Is that the correct
version?

FYI, I installed libibverbs-dev as suggested here: http://wiki.qemu-
project.org/index.php/Hosts/Linux#Recommended_additional_packages

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1662600

Title:
  error while building from source on Ubuntu 16.04

Status in QEMU:
  New

Bug description:
  I'm trying to build Qemu from source (from git) as specified here:
  http://www.qemu-project.org/download/#source

  Here is the git commit hash for the source:
  7d2c6c95511e42dffe2b263275e09957723d0ff4

  During the 'make' step, I get the following error:

  migration/rdma.c: In function ‘qemu_rdma_dump_id’:
  migration/rdma.c:749:21: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  migration/rdma.c:750:22: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  migration/rdma.c:750:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first 
use in this function)
  migration/rdma.c:750:37: note: each undeclared identifier is reported only 
once for each function it appears in
  migration/rdma.c:751:24: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  migration/rdma.c:751:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first 
use in this function)
  migration/rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’:
  migration/rdma.c:850:26: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  migration/rdma.c:850:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first 
use in this function)
  migration/rdma.c:852:33: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  migration/rdma.c:852:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first 
use in this function)
  migration/rdma.c:891:18: error: ‘struct ibv_port_attr’ has no member named 
‘link_layer’
  make: *** [migration/rdma.o] Error 1

  I searched around a bit, my problem seems related to this:
  https://patchwork.kernel.org/patch/992952/

  That issue makes me think my libibverbs may be out of date, but I
  checked and I have libibverbs-dev installed.  Is that the correct
  version?

  FYI, I installed libibverbs-dev as suggested here: http://wiki.qemu-
  project.org/index.php/Hosts/Linux#Recommended_additional_packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1662600/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]