qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] "Will it blend?"


From: Ben Taylor
Subject: Re: [Qemu-devel] "Will it blend?"
Date: Thu, 18 Sep 2008 10:34:02 -0400

On Wed, Sep 17, 2008 at 5:10 PM, Anthony Liguori <address@hidden> wrote:
> Ben Taylor wrote:
>>
>> On Wed, Sep 17, 2008 at 2:59 PM, Blue Swirl <address@hidden> wrote:
>>
>>>
>>> On 9/17/08, Jonathan Kalbfeld <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]