Received: from eggs.gnu.org ([2001:4830:134:3::10]:46513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb9g9-0006xr-84 for qemu-devel@nongnu.org; Tue, 07 Feb 2017 12:35:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb9g6-0007OX-GW for qemu-devel@nongnu.org; Tue, 07 Feb 2017 12:35:45 -0500 Received: from indium.canonical.com ([91.189.90.7]:50375) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cb9g6-0007OB-9X for qemu-devel@nongnu.org; Tue, 07 Feb 2017 12:35:42 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1cb9g4-0005mf-GP for ; Tue, 07 Feb 2017 17:35:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B101D2E80DE for ; Tue, 7 Feb 2017 17:35:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Feb 2017 17:26:22 -0000 From: Corey Olson <1662600@bugs.launchpad.net> Reply-To: Bug 1662600 <1662600@bugs.launchpad.net> Sender: bounces@canonical.com References: <20170207172049.29850.43816.malonedeb@gac.canonical.com> Message-Id: <20170207172622.5740.17278.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1662600] Re: error while building from source on Ubuntu 16.04 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Since libibverbs was optional, I uninstalled it. After doing so, my build seems to have progressed past this error. -- = 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 =E2=80=98qemu_rdma_dump_id=E2=80=99: migration/rdma.c:749:21: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:750:22: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:750:37: error: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80= =99 undeclared (first use in this function) migration/rdma.c:750:37: note: each undeclared identifier is reported onl= y once for each function it appears in migration/rdma.c:751:24: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:751:39: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99= undeclared (first use in this function) migration/rdma.c: In function =E2=80=98qemu_rdma_broken_ipv6_kernel=E2=80= =99: migration/rdma.c:850:26: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:850:41: error: =E2=80=98IBV_LINK_LAYER_INFINIBAND=E2=80= =99 undeclared (first use in this function) migration/rdma.c:852:33: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 migration/rdma.c:852:48: error: =E2=80=98IBV_LINK_LAYER_ETHERNET=E2=80=99= undeclared (first use in this function) migration/rdma.c:891:18: error: =E2=80=98struct ibv_port_attr=E2=80=99 ha= s no member named =E2=80=98link_layer=E2=80=99 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