diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-31 10:59:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-31 23:40:50 +0100 |
commit | fd0398f2c1355597a95242e6c8400eae6ad60fa4 (patch) | |
tree | 817db1d45f240cca6b85d6afd9f2fb4287a21eeb /meta-yocto/conf | |
parent | 8b70d4b2863f48e843fb6ac9e4a939ae63338093 (diff) | |
download | poky-fd0398f2c1355597a95242e6c8400eae6ad60fa4.tar.gz |
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/conf')
-rw-r--r-- | meta-yocto/conf/distro/poky-tiny.conf | 4 |
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 = "" | |||
49 | 49 | ||
50 | # Disable wide char support for ncurses as we don't include it in | 50 | # Disable wide char support for ncurses as we don't include it in |
51 | # in the LIBC features below. | 51 | # in the LIBC features below. |
52 | ENABLE_WIDEC="false" | 52 | # Leave native enable to avoid build failures |
53 | ENABLE_WIDEC = "false" | ||
54 | ENABLE_WIDEC_class-native = "true" | ||
53 | 55 | ||
54 | # Drop native language support. This removes the | 56 | # Drop native language support. This removes the |
55 | # eglibc->bash->gettext->libc-posix-clang-wchar dependency. | 57 | # eglibc->bash->gettext->libc-posix-clang-wchar dependency. |