[BusyBox] dumpleases
Russ Dill
Russ.Dill at asu.edu
Wed Dec 11 15:22:03 UTC 2002
On Wed, 2002-12-11 at 15:17, Russ Dill wrote:
> > Currently dumpleases uses BB_VER to decide whether or not it is a
> > multi-call binary. udhcpc and udhcpd use COMBINED_BINARY to
> > decide that. BB_VER is not passed in on the command line
> > anymore, but is included from the busybox config (whicy you do
> > not include). So, since using BB_VER just for dumpleases seemed
> > rather inconsistant, I had changed dumpleases locally to use
> > COMBINED_BINARY instead and I had fixed up Makefile.in to
> > pass in COMBINED_BINARY. Anyways, we are now back where we
> > were with things not compiling:
> > ./applets/applets.a(applets.o)(.rodata+0x698): undefined
> > reference to `dumpleases_main'
> >
> > We can explicitly set it to pass in BB_VER in Makefile.in,
> > or we can make dumpleases use COMBINED_BINARY...
>
> I'll have to include config.h then. dumpleases is not included in the
> udhcp combined binary when COMBINED_BINARY is defined.
actually...I went to fix that, and realized that nearly all the .c files
in udhcp include libbb_udhcp.h, which defines the stuff like 'SYSLOG'
and 'DEBUG' based on config.h, but only does so if BB_VER is defined...
--
Russ Dill <Russ.Dill at asu.edu>
More information about the busybox
mailing list