[oe] [PATCH] qemu-0.12.5: add ncurses, gnutls dependencies

Thilo Fromm t.fromm at dresearch.de
Wed Sep 29 15:07:38 UTC 2010


Hello, Holger,

>> 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:
>
>> | /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libgnutls.so: undefined reference to `gcry_cipher_setkey at GCRYPT_1.2'
>> | /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libgnutls.so: undefined reference to `gcry_cipher_setiv at GCRYPT_1.2'
>
> hmm no... the bug is more with libgnutls of your system not linking to gcrypt.
> I have this with JHBUILD building GNOME 3.x.

That's the point: qemu is not supposed to link against my host 
libraries. It should use OpenEmbedded staging libraries for this. Also, 
the recipe explicitly points the qemu build to the native staging 
"includes" directory already. After adding gnutls and ncurses to the 
dependencies qemu linked the native staging libs as expected, and the 
build is now successful.

Anyway, qemu _does_ link against gnutls and ncurses at some point in its 
build process. So why not provide these dependencies? I guess it could 
be important for a target build, too.

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Developer
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:t.fromm at dresearch.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB:54412
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642
Geschäftsführer: Dr. M. Weber, W. Mögle




More information about the Openembedded-devel mailing list