From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkLOW-0002G9-Py for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:14:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkLOW-0002Fj-2P for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:14:44 -0400 Received: from [199.232.76.173] (port=59160 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkLOV-0002Fe-UW for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:14:43 -0400 Received: from mail-gx0-f19.google.com ([209.85.217.19]:54733) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkLOW-0002JX-Cq for qemu-devel@nongnu.org; Mon, 29 Sep 2008 12:14:44 -0400 Received: by gxk12 with SMTP id 12so11565923gxk.10 for ; Mon, 29 Sep 2008 09:14:43 -0700 (PDT) Message-ID: <48E0FEB4.8000208@codemonkey.ws> Date: Mon, 29 Sep 2008 11:13:40 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] PATCH: fix usb-linux.c compile orror References: <48DFD2D9.6060205@earthlink.net> In-Reply-To: <48DFD2D9.6060205@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: > 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