From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXz9Z-0003Xj-2R for qemu-devel@nongnu.org; Wed, 19 Sep 2007 08:59:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXz9U-0003Sd-HO for qemu-devel@nongnu.org; Wed, 19 Sep 2007 08:59:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXz9U-0003SS-9U for qemu-devel@nongnu.org; Wed, 19 Sep 2007 08:59:36 -0400 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXz9T-0008FY-Rm for qemu-devel@nongnu.org; Wed, 19 Sep 2007 08:59:36 -0400 Date: Wed, 19 Sep 2007 13:53:21 +0100 From: Thiemo Seufer Subject: Re: [Qemu-devel] Mips guest Message-ID: <20070919125321.GP9972@networkno.de> References: <46F0EA2E.2080609@bandsman.co.uk> <46F1180C.6050905@bandsman.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46F1180C.6050905@bandsman.co.uk> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nigel Horne Cc: qemu-devel@nongnu.org Nigel Horne wrote: > I suddenly remembered I'd forgotten to do a "make clean" after my last > checkout (oops). > > So I did that, and got this compilation error: > > ... > In file included from /home/njh/src/qemu/linux-user/syscall.c:4040: > /home/njh/src/qemu/linux-user/syscall.c: In function `do_syscall': > /usr/include/bits/unistd.h:62: sorry, unimplemented: inlining failed in > call to 'pread': recursive inlining > /home/njh/src/qemu/linux-user/syscall.c:63: sorry, unimplemented: called > from here > make[1]: *** [syscall.o] Error 1 > make[1]: Leaving directory `/home/njh/src/qemu/i386-linux-user' > make: *** [subdir-i386-linux-user] Error 2 > > This is because both unistd.h and linux/unistd.h are included. Remove > unistd.h from line 27 and that compiles OK. I don't see this on my systems. It looks like broken kernel headers. What host (OS version) do you use? Thiemo