commit '*: remove "Options:" string from help texts' broke build
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sun Jun 5 10:18:47 UTC 2011
Left macro USAGE_PS undefined.
Error message:
In file included from applets/usage.c:30:0:
include/applets.h:351:1: error: expected '}' before 'USAGE_PS'
This (possibly not most optimal) patch:
diff --git a/procps/ps.c b/procps/ps.c
index 213695f..279f25e 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -25,6 +25,7 @@
//usage:#if !ENABLE_SELINUX && !ENABLE_FEATURE_PS_WIDE
//usage:#define USAGE_PS "\nThis version of ps accepts no options"
//usage:#else
+//usage:#define USAGE_PS ""
//usage:#endif
//usage:
//usage:#define ps_trivial_usage
makes it build again.
Cheers,
--
Cristian
More information about the busybox
mailing list