[BusyBox] dumpleases

Russ Dill Russ.Dill at asu.edu
Wed Dec 11 15:17: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.

err...I just looked at my code, and BB_VER is depended on in multiple
places, like libbb_udhcp.h, dhcpc.c... I'll have to fix this in the
Makefile.in (something like s/-DCOMBINED_BINARY/-DIN_BUSYBOX/)

-- 
Russ Dill <Russ.Dill at asu.edu>




More information about the busybox mailing list