Received: from eggs.gnu.org ([2001:4830:134:3::10]:33115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ5H-0007qN-Ft for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alJ5E-0001vY-Ay for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:07 -0400 Received: from mail-io0-x242.google.com ([2607:f8b0:4001:c06::242]:34877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alJ5E-0001vD-6E for qemu-devel@nongnu.org; Wed, 30 Mar 2016 12:35:04 -0400 Received: by mail-io0-x242.google.com with SMTP id q128so9321429iof.2 for ; Wed, 30 Mar 2016 09:35:04 -0700 (PDT) From: Programmingkid Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Mar 2016 12:35:01 -0400 Message-Id: Mime-Version: 1.0 (Apple Message framework v1084) Subject: [Qemu-devel] [PATCH] fix missing event_notifier_init_fd() function on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel qemu-devel Cc: Paolo Bonzini , Peter Maydell Remove macro that prevents event_notifier_init_fd() function from being = compiled on Mac OS X. This patch fixes this error: Undefined symbols for architecture x86_64: "_event_notifier_init_fd", referenced from: _process_msg in ivshmem.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status make[1]: *** [qemu-system-ppc] Error 1 make: *** [subdir-ppc-softmmu] Error 2 Signed-off-by: John Arbuckle --- util/event_notifier-posix.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/util/event_notifier-posix.c b/util/event_notifier-posix.c index e150301..11cef87 100644 --- a/util/event_notifier-posix.c +++ b/util/event_notifier-posix.c @@ -21,7 +21,6 @@ #include #endif =20 -#ifdef CONFIG_EVENTFD /* * Initialize @e with existing file descriptor @fd. * @fd must be a genuine eventfd object, emulation with pipe won't do. @@ -31,7 +30,6 @@ void event_notifier_init_fd(EventNotifier *e, int fd) e->rfd =3D fd; e->wfd =3D fd; } -#endif =20 int event_notifier_init(EventNotifier *e, int active) { --=20 2.7.2