From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxdjv-0003JP-D0 for qemu-devel@nongnu.org; Tue, 13 Oct 2009 05:32:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxdjq-0003F4-Gq for qemu-devel@nongnu.org; Tue, 13 Oct 2009 05:32:18 -0400 Received: from [199.232.76.173] (port=40388 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxdjp-0003El-Ux for qemu-devel@nongnu.org; Tue, 13 Oct 2009 05:32:13 -0400 Received: from smtp-out1.tiscali.nl ([195.241.79.176]:50300) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mxdjp-0003Vi-HC for qemu-devel@nongnu.org; Tue, 13 Oct 2009 05:32:13 -0400 Received: from [212.123.169.34] (helo=[192.168.1.61]) by smtp-out1.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Mxdjm-0005yY-Oe for qemu-devel@nongnu.org; Tue, 13 Oct 2009 11:32:10 +0200 From: Paul Bolle Content-Type: text/plain; charset="UTF-8" Date: Tue, 13 Oct 2009 11:32:07 +0200 Message-Id: <1255426327.1817.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] Fix *-user build error List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paul Bolle --- Currently building i386-linux-user fails with this error: CC i386-linux-user/fpu/softfloat-native.o [...]/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[3]: *** [fpu/softfloat-native.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [subdir-i386-linux-user] Error 2 make: *** [build-all] Error 2 This trivial patch seems to fix it (without messing up the i386-softmmu build, the other one I sort of tested). I assume it also fixes similar errors in building the other *-user targets. fpu/softfloat.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 789179a..c6ef652 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -37,7 +37,7 @@ these four paragraphs for those parts of this code that are retained. #endif #include -#include "config.h" +#include "../config.h" /*---------------------------------------------------------------------------- | Each of the following `typedef's defines the most convenient type that holds -- 1.6.5.rc2