All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] build problems with linux usb support?
Date: Wed, 22 Mar 2006 22:10:13 -0500	[thread overview]
Message-ID: <20060323031013.GA28604@nevyn.them.org> (raw)
In-Reply-To: <20060322204511.GC18039@narn.hozed.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 <dirent.h>
 #include <sys/ioctl.h>
 #include <linux/usbdevice_fs.h>

-- 
Daniel Jacobowitz
CodeSourcery

      reply	other threads:[~2006-03-23  3:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 16:55 [Qemu-devel] build problems with linux usb support? Troy Benjegerdes
2006-03-08 17:08 ` Johannes Schindelin
2006-03-11 19:57 ` Daniel Jacobowitz
2006-03-22 20:45   ` Troy Benjegerdes
2006-03-23  3:10     ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060323031013.GA28604@nevyn.them.org \
    --to=drow@false.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.