Thanks, this way works too. /Chew
________________________________ From: Andre McCurdy <armccu...@gmail.com> Sent: Friday, 16 June, 2017 1:49:36 AM To: Jussi Kukkonen Cc: Lm Chew; yocto@yoctoproject.org Subject: Re: [yocto] Failed to build gdb On Thu, Jun 15, 2017 at 8:13 AM, Jussi Kukkonen <jussi.kukko...@intel.com> wrote: > On 15 June 2017 at 10:19, Lm Chew <lm.c...@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@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto