qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix *-user build error


From: Paul Bolle
Subject: [Qemu-devel] [PATCH] Fix *-user build error
Date: Tue, 13 Oct 2009 11:32:07 +0200

Signed-off-by: Paul Bolle <address@hidden>
---
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 <inttypes.h>
-#include "config.h"
+#include "../config.h"
 
 /*----------------------------------------------------------------------------
 | Each of the following `typedef's defines the most convenient type that holds
-- 
1.6.5.rc2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]