From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkUD1-0000nf-Vb for qemu-devel@nongnu.org; Mon, 29 Sep 2008 21:39:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkUD0-0000mJ-Sf for qemu-devel@nongnu.org; Mon, 29 Sep 2008 21:39:27 -0400 Received: from [199.232.76.173] (port=56929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkUD0-0000m2-5C for qemu-devel@nongnu.org; Mon, 29 Sep 2008 21:39:26 -0400 Received: from an-out-0708.google.com ([209.85.132.241]:19992) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkUCz-0000Kh-RA for qemu-devel@nongnu.org; Mon, 29 Sep 2008 21:39:25 -0400 Received: by an-out-0708.google.com with SMTP id d18so122734and.130 for ; Mon, 29 Sep 2008 18:39:25 -0700 (PDT) Message-ID: <48E1830D.1000903@codemonkey.ws> Date: Mon, 29 Sep 2008 20:38:21 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] PATCH: fix usb-linux.c compile orror References: <48DFD2D9.6060205@earthlink.net> <48E0FEB4.8000208@codemonkey.ws> <48E178BE.70508@earthlink.net> In-Reply-To: <48E178BE.70508@earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Robert Reif wrote: > 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). Huh. I'm amazed it compiles with just that change on such an old kernel. Regards, Anthony Liguori