summaryrefslogtreecommitdiffstats
path: root/meta-yocto
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-31 10:59:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-31 23:40:50 +0100
commitfd0398f2c1355597a95242e6c8400eae6ad60fa4 (patch)
tree817db1d45f240cca6b85d6afd9f2fb4287a21eeb /meta-yocto
parent8b70d4b2863f48e843fb6ac9e4a939ae63338093 (diff)
downloadpoky-fd0398f2c1355597a95242e6c8400eae6ad60fa4.tar.gz
poky-fd0398f2c1355597a95242e6c8400eae6ad60fa4.tar.bz2
poky-fd0398f2c1355597a95242e6c8400eae6ad60fa4.zip
poky-tiny: Fix qemu build failure
qemu-native shows: | ERROR: User requested feature sdl | configure was not able to find it. | Install SDL devel | and from config.log, it shows: pokybuild@ubuntu1404:~/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/work/x86_64-linux/qemu-native/2.1.0-r0/qemu-2.1.0$ gcc -fPIE -DPIE -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -isystem/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -o config-temp/qemu-conf.exe config-temp/qemu-conf.c -Wl,-z,relro -Wl,-z,now -pie -m64 -g -L/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/usr/lib -L/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/pokybuild/yocto-autobuilder/yocto-worker/poky-tiny/build/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -L/usr/lib/x86_64-linux-gnu -lSDL //lib/x86_64-linux-gnu/libncursesw.so.5: undefined reference to `_nc_putchar' collect2: error: ld returned 1 exit status Enabling widec for ncurses-native should resolve this. (From meta-yocto rev: d573396eab4fa3efa42d4ac996bdcc5196e793ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
-rw-r--r--meta-yocto/conf/distro/poky-tiny.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
index 27cbfe6323..fb4bf41e0d 100644
--- a/meta-yocto/conf/distro/poky-tiny.conf
+++ b/meta-yocto/conf/distro/poky-tiny.conf
@@ -49,7 +49,9 @@ TCLIBCAPPEND = ""
# Disable wide char support for ncurses as we don't include it in
# in the LIBC features below.
-ENABLE_WIDEC="false"
+# Leave native enable to avoid build failures
+ENABLE_WIDEC = "false"
+ENABLE_WIDEC_class-native = "true"
# Drop native language support. This removes the
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.