can't compile current trunk
Rob Landley
rob at landley.net
Mon Sep 5 02:23:22 UTC 2005
On Sunday 04 September 2005 10:36, Dirk Clemens wrote:
> If I compile the current busybox trunk it stops with the following error:
>
> .../applets/applets.c: In function `run_applet_by_name':
> .../applets/applets.c:132: error: `ENABLE_FEATURE_SUID_CONFIG'
> undeclared (first use in this function)
>
> And I can't found any definition of ENABLE_FEATURE_SUID_CONFIG
Interesting...
You're right. "make allyesconfig" works, but "make allnoconfig" doesn't.
The ENABLE_* symbols are derived form the CONFIG_* symbols (via a sed
invocation in the makefile). There's a "CONFIG_FEATURE_SUID" guard, and
"CONFIG_FEATURE_SUID_CONFIG" (what a name) is an option under that. And the
include/config.h file doesn't include a comment about that not being defined
unless the guard is defined...
It's a config dependency issue. For the ENABLE_ guards to work, they all have
to be defined (albeit 0), and the config.h stuff that's built off of is
optimizing out branches.
How do we go about fixing the config stuff so it prints the "not defined"
comments for all symbols, even the ones implied by other symbols?
Rob
More information about the busybox
mailing list