From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygxbu-0008M7-Fo for qemu-devel@nongnu.org; Sat, 11 Apr 2015 11:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygxbr-0005HS-8z for qemu-devel@nongnu.org; Sat, 11 Apr 2015 11:46:18 -0400 Received: from cantor2.suse.de ([195.135.220.15]:33574 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygxbr-0005FI-26 for qemu-devel@nongnu.org; Sat, 11 Apr 2015 11:46:15 -0400 Message-ID: <552941C5.2050508@suse.de> Date: Sat, 11 Apr 2015 17:46:13 +0200 From: =?windows-1252?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <95EB2494-1C82-4E5E-9896-427C3216660C@gmail.com> In-Reply-To: <95EB2494-1C82-4E5E-9896-427C3216660C@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] make test fails on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid , Peter Maydell Cc: qemu-devel qemu-devel Am 10.04.2015 um 19:56 schrieb Programmingkid: > The 'make test' command fails to build on Mac OS X. This is because of = a missing header file. Here is the error: >=20 > include/glib-compat.h:19:18: fatal error: glib.h: No such file or direc= tory > #include On Linux, this gets me past that point, but not yet much further: diff --git a/tests/tcg/Makefile b/tests/tcg/Makefile index 89e3342..64f661a 100644 --- a/tests/tcg/Makefile +++ b/tests/tcg/Makefile @@ -10,6 +10,7 @@ CC_X86_64=3D$(CC_I386) -m64 QEMU_INCLUDES +=3D -I../.. CFLAGS=3D-Wall -O2 -g -fno-strict-aliasing #CFLAGS+=3D-msse2 +QEMU_CFLAGS +=3D $(GLIB_CFLAGS) LDFLAGS=3D # TODO: automatically detect ARM and MIPS compilers, and run those too On Mac OS X, executing qemu-i386 (as opposed to qemu-system-i386) won't work though, as darwin-user is no longer available. Also, the Makefile seems to assume that it's running on x86. Regards, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Felix Imend=F6rffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton; HRB 21284 (AG N=FCrnberg)