[yocto] Failed to build gdb

Lm Chew lm.chew at free2move.se
Thu Jun 15 20:43:57 PDT 2017

Thanks, this way works too.


From: Andre McCurdy <armccurdy at gmail.com>
Sent: Friday, 16 June, 2017 1:49:36 AM
To: Jussi Kukkonen
Cc: Lm Chew; yocto at yoctoproject.org
Subject: Re: [yocto] Failed to build gdb

On Thu, Jun 15, 2017 at 8:13 AM, Jussi Kukkonen
<jussi.kukkonen at intel.com> wrote:
> On 15 June 2017 at 10:19, Lm Chew <lm.chew at free2move.se> wrote:
>> | /usr/src/debug/gdb/7.12.1-r0/gdb-7.12.1/gdb/completer.c:1862: undefined
>> reference to `_rl_completion_prefix_display_length'
>> | /usr/src/debug/gdb/7.12.1-r0/gdb-7.12.1/gdb/completer.c:1862: undefined
>> reference to `rl_sort_completion_matches'
>> | collect2: error: ld returned 1 exit status
> Making an educated guess here: Because of the INCOMPATIBLE_LICENSE setting
> you end up with an ancient version of readline that doesn't actually provide
> the API that gdb needs. You may have to allow GPLv3+ for readline as well.

Or use gdb's bundled version of readline, which avoids needing to
whitelist additional packages. Try adding this to local.conf:

  PACKAGECONFIG_remove_pn-gdb = "readline"

> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170616/c32c3aa1/attachment.html>

More information about the yocto mailing list