Re: [Qemu-devel] build problems with linux usb support?
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.0 -0500 +++ qemu/usb-linux.c2005-11-26 19:32:59.0 -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 ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] build problems with linux usb support?
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. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
Re: [Qemu-devel] build problems with linux usb support?
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 :-) -- Daniel Jacobowitz CodeSourcery ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel