Riku Voipio 03dfe9f871 linux-user: strace now handles guest stringscorrectly [v2]
On Tue, Jun 16, 2009 at 08:19:23PM -0500, Anthony Liguori wrote:
> malc wrote:
>>
>> On my system the above line causes gcc to emit:
>>
>> In file included from /home/malc/x/rcs/git/qemu/linux-user/strace.c:12:
>> /usr/include/linux/futex.h:48: error: field `__user' has incomplete type
>> /usr/include/linux/futex.h:48: error: syntax error before '*' token
>> /usr/include/linux/futex.h:63: error: field `list' has incomplete type
>> /usr/include/linux/futex.h:83: error: field `__user' has incomplete type
>> /usr/include/linux/futex.h:83: error: syntax error before '*' token
>> make[1]: *** [strace.o] Error 1

> We had the same problem with usb-linux.c.  It's broken system headers,
> the __user stuff is supposed to get removed as part of the headers
> installation.

> It builds fine on my system (Fedora 10).

Howabout something like this:

commit eb8387cb0eda32a18880664eb5f0ca5c8bf05b45
Author: Riku Voipio <riku.voipio@iki.fi>
Date:   Thu Jun 18 22:44:31 2009 +0300
Subject: linux-user: include futex defines directly

Since some common distributions have broken linux/futex.h, stop
including it. Instead add the defines directly.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
2009-06-19 02:51:47 +04:00
2009-06-17 18:27:44 +03:00
2009-06-18 10:28:10 +02:00
2009-06-13 08:44:31 +00:00
2009-05-13 20:54:26 +01:00
2009-05-13 20:54:26 +01:00
2009-06-15 13:52:27 +02:00
2009-03-10 21:43:35 +00:00
2009-04-07 17:57:09 +00:00
2009-04-07 17:57:09 +00:00
2009-06-16 15:36:47 -05:00
2009-05-26 21:10:28 +02:00
2009-05-13 20:54:26 +01:00
2009-05-24 21:24:33 +01:00
2009-05-26 21:10:28 +02:00
2009-05-26 21:10:28 +02:00
2009-05-27 09:46:03 -05:00
2009-06-05 15:16:41 +01:00
2009-05-30 01:59:37 +01:00
2009-06-13 19:19:25 -05:00
2009-05-28 14:00:49 +02:00
2009-06-16 15:18:36 -05:00
2009-05-25 18:56:13 +01:00
2009-06-16 15:52:32 -05:00
2009-06-16 15:52:32 -05:00
2009-06-09 11:38:50 +01:00
2009-05-13 22:21:47 +01:00
2009-05-08 15:51:19 -05:00
2009-06-15 13:52:27 +02:00
2009-05-14 22:35:09 +01:00
2009-05-09 23:22:35 +01:00
2009-05-19 22:29:20 +04:00
2009-06-16 15:52:32 -05:00
2009-06-15 12:51:37 -05:00
2009-05-08 16:11:49 -05:00
2009-05-14 17:03:49 -05:00
2009-04-07 21:47:27 +00:00
2009-05-13 22:21:47 +01:00
2009-05-22 10:50:35 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%