qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PATCH: fix usb-linux.c compile orror


From: Robert Reif
Subject: Re: [Qemu-devel] PATCH: fix usb-linux.c compile orror
Date: Mon, 29 Sep 2008 20:54:22 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080702 SeaMonkey/1.1.11

Anthony Liguori wrote:
Robert Reif wrote:
This patch fixes the following compile error:

usb-linux.c: In function `usb_linux_update_endp_table':
usb-linux.c:777: error: structure has no member named `bRequestType'
usb-linux.c:778: error: structure has no member named `bRequest'
usb-linux.c:779: error: structure has no member named `wValue'
usb-linux.c:780: error: structure has no member named `wIndex'
usb-linux.c:781: error: structure has no member named `wLength'
usb-linux.c:818: error: structure has no member named `bRequestType'
usb-linux.c:819: error: structure has no member named `bRequest'
usb-linux.c:820: error: structure has no member named `wValue'
usb-linux.c:821: error: structure has no member named `wIndex'
usb-linux.c:822: error: structure has no member named `wLength'
make: *** [usb-linux.o] Error 1

What kernel version are you using? This needs a configure check as more recent kernel versions seem to be using usbdevfs_ctrltransfer.

Regards,

Anthony Liguori



RH9 system (2.4.20-31.9smp).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]