From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkTVU-0000d1-Jd for qemu-devel@nongnu.org; Mon, 29 Sep 2008 20:54:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkTVT-0000bo-3B for qemu-devel@nongnu.org; Mon, 29 Sep 2008 20:54:28 -0400 Received: from [199.232.76.173] (port=59293 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkTVS-0000bl-VP for qemu-devel@nongnu.org; Mon, 29 Sep 2008 20:54:26 -0400 Received: from pop-knobcone.atl.sa.earthlink.net ([207.69.195.64]:52562) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkTVP-0007S9-Sn for qemu-devel@nongnu.org; Mon, 29 Sep 2008 20:54:25 -0400 Received: from user-142h2k8.cable.mindspring.com ([72.40.138.136] helo=[192.168.0.90]) by pop-knobcone.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1KkTVO-0001hs-00 for qemu-devel@nongnu.org; Mon, 29 Sep 2008 20:54:22 -0400 Message-ID: <48E178BE.70508@earthlink.net> Date: Mon, 29 Sep 2008 20:54:22 -0400 From: Robert Reif MIME-Version: 1.0 Subject: Re: [Qemu-devel] PATCH: fix usb-linux.c compile orror References: <48DFD2D9.6060205@earthlink.net> <48E0FEB4.8000208@codemonkey.ws> In-Reply-To: <48E0FEB4.8000208@codemonkey.ws> 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 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).