Skip to contentSkip to conversation

SuSE 10.1 + GCC 3.3.6

Qemu-devel Christian Bourque 1 participant 1 message May 14, 2006

lore
Share & tools
lore
#0 lore raw

Hi!

I get this error when trying to compile QEMU 0.8.1 (or CVS version) under SuSE 10.1 and GCC 3.3.6:

-----------------------------
In file included from /home/cbourque/download/qemu/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 /home/cbourque/download/qemu/usb-linux.c: In function `usb_host_handle_control':
/home/cbourque/download/qemu/usb-linux.c:91: error: invalid application of sizeof' to an incomplete type /home/cbourque/download/qemu/usb-linux.c: In function usb_host_handle_data':
/home/cbourque/download/qemu/usb-linux.c:110: error: storage size of `bt' isn't known
/home/cbourque/download/qemu/usb-linux.c:121: error: invalid application of sizeof' to an incomplete type /home/cbourque/download/qemu/usb-linux.c:110: warning: unused variable bt' /home/cbourque/download/qemu/usb-linux.c: In function `usb_host_device_open':
/home/cbourque/download/qemu/usb-linux.c:185: error: storage size of `ctrl' isn't known
/home/cbourque/download/qemu/usb-linux.c:188: error: invalid application of sizeof' to an incomplete type /home/cbourque/download/qemu/usb-linux.c:185: warning: unused variable ctrl' make[1]: *** [usb-linux.o] Error 1
-----------------------------

Has anyone else experienced the same problem?

Thanks

Christian