From nobody Mon Apr 29 14:28:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1518186934302600.2642897768886; Fri, 9 Feb 2018 06:35:34 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 07B614E90C; Fri, 9 Feb 2018 14:35:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 53AD0608F7; Fri, 9 Feb 2018 14:35:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 9A44E18033E7; Fri, 9 Feb 2018 14:35:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w19EVob5017871 for ; Fri, 9 Feb 2018 09:31:50 -0500 Received: by smtp.corp.redhat.com (Postfix) id 5F3ED1010435; Fri, 9 Feb 2018 14:31:50 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.42.22.189]) by smtp.corp.redhat.com (Postfix) with ESMTP id ECFF21010433; Fri, 9 Feb 2018 14:31:47 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Fri, 9 Feb 2018 14:31:45 +0000 Message-Id: <20180209143145.11652-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] rpc: export xdr_virNetMessageError for virnetmessagetest on Win32 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 09 Feb 2018 14:35:32 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 The Win32 symbol export file format can't do wildcards, so none of the 'xdr_*' symbols are exported from the libvirt DLL. This doesn't matter generally since the RPC client is built into the DLL and we don't build libvirtd on Win32. The virnetmessagetest, however, does require xdr_virNetMessageError to be exported, so just do a hack for that. Signed-off-by: Daniel P. Berrang=C3=A9 --- Pushed as win32 CI build fix src/libvirt_remote.syms | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/libvirt_remote.syms b/src/libvirt_remote.syms index 736848273a..97e22275b9 100644 --- a/src/libvirt_remote.syms +++ b/src/libvirt_remote.syms @@ -7,6 +7,12 @@ =20 # Generated files xdr_*; +# Hack only required for Win32 to make tests link properly, +# as the wildcard above doesn't work there. Fortunately +# Win32 builds don't require the other xdr_* syms exported. +# since there's no libvirtd built. +xdr_virNetMessageError; + =20 # rpc/virnetclient.h virNetClientAddProgram; --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list