I am getting a failure when CONFIG_FEATURE_CUT_REGEX=y is enabled: ./make_single_applets.sh CUT
cut.c:(.text.cut_main+0x205): undefined reference to `xregcomp' It looks like adding this line: lib-$(CONFIG_FEATURE_CUT_REGEX) += xregcomp.o around line ~203 in ./libbb/Kbuild.src solves the problem. - Jeff
From b3bd6abe7b203d71594ca435cb73fca056391513 Mon Sep 17 00:00:00 2001 From: Jeff Pohlmeyer <[email protected]> Date: Thu, 20 Jan 2022 19:32:47 -0600 Subject: [PATCH] Link xregcomp.o when CONFIG_FEATURE_CUT_REGEX=y --- libbb/Kbuild.src | 1 + 1 file changed, 1 insertion(+) diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index e8bb24f6d..b9d34de8e 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src @@ -200,6 +200,7 @@ lib-$(CONFIG_PGREP) += xregcomp.o lib-$(CONFIG_PKILL) += xregcomp.o lib-$(CONFIG_DEVFSD) += xregcomp.o lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o +lib-$(CONFIG_FEATURE_CUT_REGEX) += xregcomp.o # Add the experimental logging functionality, only used by zcip lib-$(CONFIG_ZCIP) += logenv.o -- 2.34.1
_______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
