From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ev5K8-0008Ad-Kr for qemu-devel@nongnu.org; Fri, 06 Jan 2006 23:05:00 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ev5K4-0008AL-T1 for qemu-devel@nongnu.org; Fri, 06 Jan 2006 23:05:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ev5K4-0008AI-Oq for qemu-devel@nongnu.org; Fri, 06 Jan 2006 23:04:56 -0500 Received: from [64.233.162.200] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ev5Lw-0004HD-8c for qemu-devel@nongnu.org; Fri, 06 Jan 2006 23:06:52 -0500 Received: by zproxy.gmail.com with SMTP id z3so3368479nzf for ; Fri, 06 Jan 2006 20:03:03 -0800 (PST) Message-ID: <2ad73a0601062003o6d318708t2f4d6e420f6c16fb@mail.gmail.com> Date: Sat, 7 Jan 2006 02:03:00 -0200 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Subject: Re: [Qemu-devel] [PATCH] Compilation errors on BSD In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 1/7/06, andrzej zaborowski wrote: > Hiyas, > Today I tried compiling QEMU on a FreeBSD computer and it spitted at > me a bunch of errors, all of them being results of trivial differences > in system headers. The following patch fixed them and I got a working > QEMU 0.8.0, in case anyone's interested. There was also another > trivial change needed to get KQEMU working (but this I will keep for > myself, to be alright with the license). As far as I have checked, > compiling on OpenBSD would require these same changes. > Greetings, > Andrew Sorry if what I'm about to say sounds like a cold shower to you, but... QEMU as available in the ports collection has patches to work around this, and even includes some interesting hacks (namely the DMA patch) to make QEMU more responsive. Same goes to KQEMU, which is in the ports collection as well. Still, thanks for bringing this up again. I really think the QEMU build system should support BSDs out of the box and these patches have been available for quite some time; I fail to realise why Fabrice hasn't integrated them yet. -- "I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science." Donald Knuth