From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuVyL-00010U-Gs for qemu-devel@nongnu.org; Wed, 13 Dec 2006 10:24:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuVyA-0000oX-Tb for qemu-devel@nongnu.org; Wed, 13 Dec 2006 10:24:36 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuVyA-0000nj-CY for qemu-devel@nongnu.org; Wed, 13 Dec 2006 10:24:30 -0500 Received: from [32.97.182.141] (helo=e1.ny.us.ibm.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuVy6-0004zB-IP for qemu-devel@nongnu.org; Wed, 13 Dec 2006 10:24:27 -0500 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.12.11) with ESMTP id kBDFNkvC015368 for ; Wed, 13 Dec 2006 10:23:46 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay04.pok.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id kBDFNkUn175004 for ; Wed, 13 Dec 2006 10:23:46 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id kBDFNkgL007536 for ; Wed, 13 Dec 2006 10:23:46 -0500 Received: from [127.0.0.1] (chuckbrazie.endicott.ibm.com [9.60.67.42]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id kBDFNi9k007403 for ; Wed, 13 Dec 2006 10:23:45 -0500 Message-ID: <45801AFA.4080402@stny.rr.com> Date: Wed, 13 Dec 2006 10:23:38 -0500 From: Chuck Brazie MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] usb-linux.c compile error on latest code 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 I pulled the latest code to rebuild my patch and I get compile errors on usb-linux.c. What do I need to change to get clean compiles? Chuck ------------------ In file included from /qemu-new/usb-linux.c:29: /usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token /usr/include/linux/usbdevice_fs.h:56: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:56: error: syntax error before '*' token /usr/include/linux/usbdevice_fs.h:66: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:66: error: syntax error before '*' token /usr/include/linux/usbdevice_fs.h:100: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:100: error: syntax error before '*' token /usr/include/linux/usbdevice_fs.h:109: error: syntax error before '}' token /usr/include/linux/usbdevice_fs.h:116: error: variable or field `__user' declared void /usr/include/linux/usbdevice_fs.h:116: error: syntax error before '*' token /qemu-new/usb-linux.c: In function `usb_host_handle_control': /qemu-new/usb-linux.c:102: error: invalid application of `sizeof' to an incomplete type /qemu-new/usb-linux.c: In function `usb_host_handle_data': /qemu-new/usb-linux.c:119: error: storage size of `bt' isn't known /qemu-new/usb-linux.c:131: error: invalid application of `sizeof' to an incomplete type /qemu-new/usb-linux.c:119: warning: unused variable `bt' /qemu-new/usb-linux.c: In function `usb_host_device_open': /qemu-new/usb-linux.c:198: error: storage size of `ctrl' isn't known /qemu-new/usb-linux.c:201: error: invalid application of `sizeof' to an incomplete type /qemu-new/usb-linux.c:198: warning: unused variable `ctrl' make[1]: *** [usb-linux.o] Error 1 make[1]: Leaving directory `/qemu-new/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2