* [Qemu-devel] usb-linux.c compile error on latest code
@ 2006-12-13 15:23 Chuck Brazie
2006-12-13 15:29 ` Paul Brook
0 siblings, 1 reply; 2+ messages in thread
From: Chuck Brazie @ 2006-12-13 15:23 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] usb-linux.c compile error on latest code
2006-12-13 15:23 [Qemu-devel] usb-linux.c compile error on latest code Chuck Brazie
@ 2006-12-13 15:29 ` Paul Brook
0 siblings, 0 replies; 2+ messages in thread
From: Paul Brook @ 2006-12-13 15:29 UTC (permalink / raw)
To: qemu-devel; +Cc: Chuck Brazie
On Wednesday 13 December 2006 15:23, Chuck Brazie wrote:
> 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?
Your kernel headers are broken. See list archives.
Paul
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-13 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 15:23 [Qemu-devel] usb-linux.c compile error on latest code Chuck Brazie
2006-12-13 15:29 ` Paul Brook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).