All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org, Zhangle.Yang@windriver.com
Subject: Re: [PATCH 1/1] qemu: update dependency of native package
Date: Mon, 19 Aug 2013 10:02:12 +0800	[thread overview]
Message-ID: <52117CA4.3050304@windriver.com> (raw)
In-Reply-To: <1376650065.22952.118.camel@ted>

On 2013年08月16日 18:47, Richard Purdie wrote:
> On Fri, 2013-08-16 at 18:05 +0800, Kai Kang wrote:
>> [YOCTO #4973]
>>
>> It fails to start qemu with core-image-sato on Fedora 19. The error
>> message shows:
>>
>> Could not initialize SDL(No available video device) - exiting
>>
>> Add dependecy libxext-native to qemu-native to fix this error.
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   meta/recipes-devtools/qemu/qemu.inc | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
>> index 97e9b7b..a96e00c 100644
>> --- a/meta/recipes-devtools/qemu/qemu.inc
>> +++ b/meta/recipes-devtools/qemu/qemu.inc
>> @@ -2,7 +2,7 @@ DESCRIPTION = "open source processor emulator"
>>   HOMEPAGE = "http://qemu.org"
>>   LICENSE = "GPLv2 & LGPLv2.1"
>>   DEPENDS = "glib-2.0 zlib alsa-lib virtual/libx11 pixman dtc libsdl"
>> -DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native"
>> +DEPENDS_class-native = "zlib-native alsa-lib-native glib-2.0-native pixman-native dtc-native libxext-native"
>>   DEPENDS_class-nativesdk = "nativesdk-zlib nativesdk-libsdl nativesdk-glib-2.0 nativesdk-pixman nativesdk-dtc"
>>   RDEPENDS_${PN}_class-nativesdk = "nativesdk-libsdl"
> This is one of the ugly dependencies we've tried to ignore.
>
> We basically assume if your build machine has graphics, you have the
> devel headers/libs there and qemu will autodetect and include graphics
> support. Equally, if your build machine doesn't, it just won't build
> graphics support. In general most people seem happy with this even if
> its imperfect.

If qemu has autodected the devel headers/libs and include graphics 
support, it should be able to boot a target with the graphics.
But it fails. I'll check it and find out the reason.

Thanks a lot.
Kai

>
> Adding libxext-native upsets this balance a little...
>
> Cheers,
>
> Richard
>
>
>
>


-- 
Regards,
Neil | Kai Kang



      parent reply	other threads:[~2013-08-19  2:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16 10:05 [PATCH 0/1] Fix qemu failed to start on Fedora 19 Kai Kang
2013-08-16 10:05 ` [PATCH 1/1] qemu: update dependency of native package Kai Kang
2013-08-16 10:47   ` Richard Purdie
2013-08-16 15:55     ` Stanacar, StefanX
2013-08-19  2:06       ` Kang Kai
2013-08-19  2:02     ` Kang Kai [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=52117CA4.3050304@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=Zhangle.Yang@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.