Mailinglist Archive: opensuse-bugs (7967 mails)

< Previous Next >
[Bug 241950] fix for qemu without usbdevfs
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 15 Feb 2007 06:31:03 -0700 (MST)
  • Message-id: <20070215133103.C406CD69@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=241950


uli@xxxxxxxxxx changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |




------- Comment #12 from uli@xxxxxxxxxx 2007-02-15 06:31 MST -------
/tmp/gcc33/bin/gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2
-fno-strict-aliasing -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/usr/src/packages/BUILD/qemu-0.9.0/target-i386 -I/usr/src/package
s/BUILD/qemu-0.9.0 -D_GNU_SOURCE -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/usr/src/packages/BUILD/qemu-0.9.0/fpu -DHAS_AUDIO
-I/usr/src/packages/BUILD/qemu-0.9.0/slirp -c -o usb-lin
ux.o /usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c
In file included from /usr/src/packages/BUILD/qemu-0.9.0/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
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c: In function
`usb_host_handle_control':
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:102: error: invalid application
of `sizeof' to an incomplete type
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c: In function
`usb_host_handle_data':
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:119: error: storage size of `bt'
isn't known
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:131: error: invalid application
of `sizeof' to an incomplete type
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:119: warning: unused variable
`bt'
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c: In function
`usb_host_device_open':
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:198: error: storage size of
`ctrl' isn't known
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:201: error: invalid application
of `sizeof' to an incomplete type
/usr/src/packages/BUILD/qemu-0.9.0/usb-linux.c:198: warning: unused variable
`ctrl'
make[1]: *** [usb-linux.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/qemu-0.9.0/x86_64-softmmu'
make: *** [subdir-x86_64-softmmu] Error 2


Please provide a patch that both works and compiles.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References