package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
PATCH 1/1 package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
Fixes:
match.o: In function `SetMatchSpec':
match.c:(.text+0x9c): undefined reference to re_comp' match.o: In function Match':
match.c:(.text+0xca): undefined reference to `re_exec'
Signed-off-by Peter Seiderer <[email protected]>
--- package/ytree/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
package/ytree/Config.in +5 -0
@@ -1,8 +1,13 @@ config BR2_PACKAGE_YTREE bool "ytree" + depends on !BR2_TOOLCHAIN_USES_MUSL # re_comp/re_exec depends on BR2_USE_MMU # fork() select BR2_PACKAGE_NCURSES help Ytree - a (curses-based) file manager similar to DOS Xtree(tm) https://www.han.de/~werner/ytree.html + +comment "ytree needs a glibc or uClibc toolchain" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_USES_MUSL
--
2.23.0
Thomas Petazzoni
AppliedPATCH 1/1 package/ytree: needs glibc/uclibc toolchain (re_comp/re_exec)
Quoted 11 lines · On Thu, 19 Sep 2019 22:02:57 +0200 Peter Seiderer <[email protected]> wrote:
Fixes:
match.o: In function `SetMatchSpec':
match.c:(.text+0x9c): undefined reference tore_comp' match.o: In functionMatch':
match.c:(.text+0xca): undefined reference to `re_exec'Signed-off-by Peter Seiderer <[email protected]>--- package/ytree/Config.in | 5 +++++ 1 file changed, 5 insertions(+)
Applied to master, thanks. Not great that we're adding a new package, and it uses some old legacy/deprecated APIs that musl doesn't implement.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com