QEmu build breaks occassionally because some of the libraries required have not been built at the time qemu is being built. I ran into problems with the "qemu-native" build which tried to link against host libraries and subsequently failed:
.... | LINK sh4eb-softmmu/qemu-system-sh4eb | LINK sh4-softmmu/qemu-system-sh4 | LINK mips-softmmu/qemu-system-mips | CC mips64el-softmmu/fpu/softfloat.o | CC sparc-softmmu/i386-dis.o | /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libgnutls.so: undefined reference to `gcry_cipher_set...@gcrypt_1.2' | /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libgnutls.so: undefined reference to `gcry_cipher_se...@gcrypt_1.2' | collect2: ld returned 1 exit status | make[1]: *** [qemu-system-mips] Error 1 | make: *** [subdir-mips-softmmu] Error 2 .... This patch adds gnutls and ncurses dependencies to the recipe. Signed-off-by: Thilo Fromm <[email protected]> --- recipes/qemu/qemu_0.12.5.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/qemu/qemu_0.12.5.bb b/recipes/qemu/qemu_0.12.5.bb index c823fbd..a8d67f1 100644 --- a/recipes/qemu/qemu_0.12.5.bb +++ b/recipes/qemu/qemu_0.12.5.bb @@ -1,7 +1,7 @@ LICENSE = "GPL" -DEPENDS = "zlib" +DEPENDS = "zlib ncurses gnutls" -PR = "r0" +PR = "r1" SRC_URI = "\ http://download.savannah.gnu.org/releases/qemu/qemu-${PV}.tar.gz \ -- 1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
