* Qemu-native requires alsa-libs-native
@ 2011-03-20 11:06 Koen Kooi
2011-03-21 3:44 ` Zhai, Edwin
0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2011-03-20 11:06 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Hi,
While attempting to build the qemuarm machine in oe-core I get this:
| + /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user --disable-werror --disable-vnc-tls --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
|
| Error: alsa check failed
| Make sure to have the alsa libs and headers installed.
But there's not alsa-libs-native in OE-core. Should we add such a recipe or disable also in qemu?
That's with:
OE Build Configuration:
BB_VERSION = "1.13.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "f0afe5827570eff5442d2f9a9846b4098e5c3333"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "angstrom"
DISTRO_VERSION = "v20110320-core"
TARGET_FPU = "soft"
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Qemu-native requires alsa-libs-native
2011-03-20 11:06 Qemu-native requires alsa-libs-native Koen Kooi
@ 2011-03-21 3:44 ` Zhai, Edwin
2011-03-21 10:30 ` Yury Bushmelev
2011-03-21 15:34 ` Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Zhai, Edwin @ 2011-03-21 3:44 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Koen,
We enabled alsa in configure for the feature of receiving sound from
guest. It is assumed that audio system on host is already enabled.
I'm not sure if we need add alsa native, given that they are host
specific. Besides alsa, we also need sound card driver on host, which is
beyond the scope of our build system.
Maybe, we can check alsa lib first, and enabled "--audio-drv-list=alsa"
after finding it. Or we can document alsa as build prerequisite?
Koen Kooi wrote:
>
> Hi,
>
> While attempting to build the qemuarm machine in oe-core I get this:
>
> | +
> /OE/tentacle/build/tmp-angstrom_2010_x/work/x86_64-linux/qemu-native-0.13.0-r1/qemu-0.13.0/configure
> --prefix=/OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x86_64-linux/usr
> --target-list=arm-linux-user,arm-softmmu,i386-linux-user,i386-softmmu,x86_64-linux-user,x86_64-softmmu,mips-linux-user,mips-softmmu,ppc-linux-user,ppc-softmmu,mipsel-linux-user
> --disable-werror --disable-vnc-tls --enable-kvm
> --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370
>
> |
> | Error: alsa check failed
> | Make sure to have the alsa libs and headers installed.
>
> But there's not alsa-libs-native in OE-core. Should we add such a
> recipe or disable also in qemu?
>
> That's with:
>
> OE Build Configuration:
> BB_VERSION = "1.13.0"
> METADATA_BRANCH = "master"
> METADATA_REVISION = "f0afe5827570eff5442d2f9a9846b4098e5c3333"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "qemuarm"
> DISTRO = "angstrom"
> DISTRO_VERSION = "v20110320-core"
> TARGET_FPU = "soft"
>
>
> regards,
>
> Koen
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Qemu-native requires alsa-libs-native
2011-03-21 3:44 ` Zhai, Edwin
@ 2011-03-21 10:30 ` Yury Bushmelev
2011-03-21 15:34 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Yury Bushmelev @ 2011-03-21 10:30 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
2011/3/21 Zhai, Edwin <edwin.zhai@intel.com>:
> Koen,
> We enabled alsa in configure for the feature of receiving sound from guest.
> It is assumed that audio system on host is already enabled.
I see following purposes of qemu-native:
(1) automated runtime images testing
(2) manual images testing/using
(1) should be used against small subset of compatible targets. For
oe-core this is set of qemu machines only. For automated testing
purposes qemu wav driver may be more suitable than alsa imho. As well
as vnc instead of sdl. This happens on build (testing?) host, which
may be node in large build farm. I would prefer to have minimal
dependencies on such nodes.
(2) is different. Here we need alsa and sdl. But this should happens
not on build host in ideal case. In common case user already have X11,
sdl, alsa, etc on his home workstation. So here we may use anything.
So, my idea to separate (1) and (2). we may use different recipes.
qemu-testing and qemu e.g. Then qemu-testing may have minimal set of
features suitable only for runtime testing but qemu may have full set
of features suitable for common usage.
--
Yury Bushmelev
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Qemu-native requires alsa-libs-native
2011-03-21 3:44 ` Zhai, Edwin
2011-03-21 10:30 ` Yury Bushmelev
@ 2011-03-21 15:34 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-03-21 15:34 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Mon, 2011-03-21 at 11:44 +0800, Zhai, Edwin wrote:
> Koen,
> We enabled alsa in configure for the feature of receiving sound from
> guest. It is assumed that audio system on host is already enabled.
>
> I'm not sure if we need add alsa native, given that they are host
> specific. Besides alsa, we also need sound card driver on host, which is
> beyond the scope of our build system.
> Maybe, we can check alsa lib first, and enabled "--audio-drv-list=alsa"
> after finding it. Or we can document alsa as build prerequisite?
If we need a dependency, it needs to either be listed in ASSUME_PROVIDED
or built. In this case we can general the needed alsa library easily so
I've merged Koen's patches.
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-21 15:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-20 11:06 Qemu-native requires alsa-libs-native Koen Kooi
2011-03-21 3:44 ` Zhai, Edwin
2011-03-21 10:30 ` Yury Bushmelev
2011-03-21 15:34 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox