From: "Ben Taylor" <bentaylor.solx86@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] "Will it blend?"
Date: Thu, 18 Sep 2008 10:34:02 -0400 [thread overview]
Message-ID: <cef699d70809180734l22eaef8cr5b52f4212aa84018@mail.gmail.com> (raw)
In-Reply-To: <48D17237.1030200@codemonkey.ws>
On Wed, Sep 17, 2008 at 5:10 PM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Ben Taylor wrote:
>>
>> On Wed, Sep 17, 2008 at 2:59 PM, Blue Swirl <blauwirbel@gmail.com> wrote:
>>
>>>
>>> On 9/17/08, Jonathan Kalbfeld <jonathan.kalbfeld@gmail.com> wrote:
>>>
>>>>
>>>> Would it even work on Sparc64/Solaris 10 any more?
>>>>
>>>
>>> Who knows? The only way is to try.
>>>
>>
>> qemu no longer compiles on Solaris 10 due to C99 issues in
>> nbd. It will compile on Solaris Express.
>>
>> adding c99 or gnuc99 also doesn't work because of
>> anonymous unions not being supported.
>>
>
> GCC on Solaris doesn't support anonymous unions? That seems bizarre. Or
> are you using the Sun compiler?
I don't remember. It's been a while since I tried to hack on it to get
it working.
>
> Is it block-nbd or qemu-nbd that doesn't work? If it's the later, it's easy
> enough to prevent it from building on Solaris.
It's block-ndb.
gcc -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels
-Wwrite-strings -m64 -I. -I/tank/src/kde/Dude/QEMU/2008.09.18 -MMD
-MP -MT block-nbd.o -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I/tank/src/kde/Dude/QEMU/2008.09.18/slirp -c -o
block-nbd.o block-nbd.c
In file included from nbd.h:24,
from block-nbd.c:30:
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only
in a c99 compilation environment."
In file included from block-nbd.c:30:
nbd.h:47: error: syntax error before "bool"
nbd.h:59: error: syntax error before "bool"
gmake: *** [block-nbd.o] Error 1
Ben
prev parent reply other threads:[~2008-09-18 14:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-17 15:51 [Qemu-devel] "Will it blend?" Jonathan Kalbfeld
2008-09-17 17:54 ` Blue Swirl
2008-09-17 18:30 ` Jonathan Kalbfeld
2008-09-17 18:59 ` Blue Swirl
2008-09-17 21:01 ` Ben Taylor
2008-09-17 21:10 ` Anthony Liguori
2008-09-18 14:34 ` Ben Taylor [this message]
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=cef699d70809180734l22eaef8cr5b52f4212aa84018@mail.gmail.com \
--to=bentaylor.solx86@gmail.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).