[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Error with make_single_applets and CONFIG_FEATURE_CUT_REGEX
From: Jeff Pohlmeyer <yetanothergeek () gmail ! com>
Date: 2022-01-21 1:36:01
Message-ID: CAEuRe+3r5EVznMNMT+NaxePb1o6Jng6tixx9Xx3syyEzcqpRag () mail ! gmail ! com
[Download RAW message or body]
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
["0001-Link-xregcomp.o-when-CONFIG_FEATURE_CUT_REGEX-y.patch" (text/x-patch)]
From b3bd6abe7b203d71594ca435cb73fca056391513 Mon Sep 17 00:00:00 2001
From: Jeff Pohlmeyer <yetanothergeek@gmail.com>
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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic