From: Chuck Brazie <cbrazie@stny.rr.com>
To: QEMU-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] usb-linux.c compile error on latest code
Date: Wed, 13 Dec 2006 10:23:38 -0500 [thread overview]
Message-ID: <45801AFA.4080402@stny.rr.com> (raw)
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
next reply other threads:[~2006-12-13 15:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-13 15:23 Chuck Brazie [this message]
2006-12-13 15:29 ` [Qemu-devel] usb-linux.c compile error on latest code Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45801AFA.4080402@stny.rr.com \
--to=cbrazie@stny.rr.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).