All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thilo Fromm <t.fromm@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] qemu-0.12.5: add ncurses, gnutls dependencies
Date: Wed, 29 Sep 2010 17:07:38 +0200	[thread overview]
Message-ID: <4CA3563A.9030905@dresearch.de> (raw)
In-Reply-To: <4CA353EE.8040605@freyther.de>

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@GCRYPT_1.2'
>> | /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libgnutls.so: undefined reference to `gcry_cipher_setiv@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@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



  reply	other threads:[~2010-09-29 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-29 14:48 [PATCH] qemu-0.12.5: add ncurses, gnutls dependencies Thilo Fromm
2010-09-29 14:57 ` Holger Freyther
2010-09-29 15:07   ` Thilo Fromm [this message]
2010-09-29 15:20     ` Holger Freyther
2010-09-29 15:36       ` Thilo Fromm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CA3563A.9030905@dresearch.de \
    --to=t.fromm@dresearch.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.