[yocto] Failed to build gdb

Andre McCurdy armccurdy at gmail.com
Thu Jun 15 10:49:36 PDT 2017


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
>



More information about the yocto mailing list