From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FMGDK-0005AS-4A for qemu-devel@nongnu.org; Wed, 22 Mar 2006 22:10:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FMGDI-0005A2-2c for qemu-devel@nongnu.org; Wed, 22 Mar 2006 22:10:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FMGDH-00059z-Sd for qemu-devel@nongnu.org; Wed, 22 Mar 2006 22:10:15 -0500 Received: from [66.93.172.17] (helo=nevyn.them.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FMGDm-0000BT-TK for qemu-devel@nongnu.org; Wed, 22 Mar 2006 22:10:47 -0500 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FMGDF-0007Rs-CO for qemu-devel@nongnu.org; Wed, 22 Mar 2006 22:10:13 -0500 Date: Wed, 22 Mar 2006 22:10:13 -0500 From: Daniel Jacobowitz Subject: Re: [Qemu-devel] build problems with linux usb support? Message-ID: <20060323031013.GA28604@nevyn.them.org> References: <20060308165520.GB18882@narn.hozed.org> <20060311195703.GA28135@nevyn.them.org> <20060322204511.GC18039@narn.hozed.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060322204511.GC18039@narn.hozed.org> 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 Wed, Mar 22, 2006 at 02:45:11PM -0600, Troy Benjegerdes wrote: > On Sat, Mar 11, 2006 at 02:57:03PM -0500, Daniel Jacobowitz wrote: > > On Wed, Mar 08, 2006 at 10:55:21AM -0600, Troy Benjegerdes wrote: > > > The only think I can track down so far is that BITS_PER_LONG is only > > > defined in /usr/include/asm-x86_64/types.h if __KERNEL__ is also set. > > > > > > What other linux distros/headers work with the current qemu cvs usb > > > code? > > > > I've just been disabling USB support by a local patch and hoping > > someone else fixed this :-) > > Would you mind posting the 'disable usb' patch? > > Right now I am resorting to gross things like building on a redhat box > and installing the binaries on debian. Trivial: Index: qemu/usb-linux.c =================================================================== --- qemu.orig/usb-linux.c 2005-11-26 19:32:55.000000000 -0500 +++ qemu/usb-linux.c 2005-11-26 19:32:59.000000000 -0500 @@ -23,7 +23,7 @@ */ #include "vl.h" -#if defined(__linux__) +#if 0 && defined(__linux__) #include #include #include -- Daniel Jacobowitz CodeSourcery