[poky] [PATCH 2/2] local.conf.sample: qemu-native DEPENDS libxext-naive

Martin Jansa martin.jansa at gmail.com
Tue Jul 22 03:48:52 PDT 2014


On Tue, Jul 22, 2014 at 03:31:25AM -0700, Robert Yang wrote:
> Fixed do_configure error:
> 
> ERROR: User requested feature sdl
>        configure was not able to find it.
>        Install SDL devel
> 
> This is error from log.do_configure, and if we check config.log, the error is:
> 
> sysroots/x86_64-linux/usr/lib/libXext.so.6: undefined reference to `_XEatDataWords'
> 
> The _XEatDataWords is provided by libX11.so, the dependencies are:
> 
> qemu-native -> sdl(from the host) -> libXext.so(maybe host or native) -> libX11.so (maybe host or native)
> 
> We may meet the error if host's libX11.so doesn't provide _XEatDataWords, and native's
> libX11.so has been removed (for example, rebuild).
> 
> Another way to fix is: let qemu-native depend on libxext-naive when sdl is
> enabled, for example:
> 
> PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,libsdl libxext-native,"
> 
> But this might be incorrect since target sdl or qemu may not require X11, so
> set:
> 
> DEPENDS_pn-qemu-native += "libxext-naive"
> 
> in local.conf.sample to fix problem.
> 
> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
> ---
>  meta-yocto/conf/local.conf.sample |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
> index bcb0864..742eb1a 100644
> --- a/meta-yocto/conf/local.conf.sample
> +++ b/meta-yocto/conf/local.conf.sample
> @@ -243,6 +243,7 @@ BB_DISKMON_DIRS = "\
>  # seen. The two lines below enable the SDL backend too. This assumes there is a
>  # libsdl library available on your build system.
>  PACKAGECONFIG_pn-qemu-native = "sdl"
> +DEPENDS_pn-qemu-native += "libxext-naive"

Doesn't this belong in qemu-native's PACKAGECONFIG definition for sdl?

>  PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
>  ASSUME_PROVIDED += "libsdl-native"
>  
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20140722/de76a0a7/attachment.pgp>


More information about the poky mailing list