On Sat, Sep 18, 2010 at 8:50 PM, Dan Fandrich <[email protected]> wrote: > On Sat, Sep 18, 2010, Douglas Mencken wrote: >> After I switched off 'pmap' applet (which is already included in >> procps package): >> >> @@ -860,7 +860,7 @@ >> # >> CONFIG_IOSTAT=y >> # CONFIG_MPSTAT is not set >> -CONFIG_PMAP=y >> +# CONFIG_PMAP is not set >> # CONFIG_SMEMCAP is not set >> # CONFIG_FREE is not set >> CONFIG_FUSER=y >> >> everything builds just fine. I have working busybox. But this is >> obviously a bug in configure dependencies. >> >> (This e-mail is follow-up to "[busybox] Build error: >> procps.c:(.text.procps_read_smaps+0x2bc): undefined reference to >> `fast_strtoul_16'".) > > Looks like pmap.c needs this patch: > > diff --git a/libbb/procps.c b/libbb/procps.c > index 14d4481..7924660 100644 > --- a/libbb/procps.c > +++ b/libbb/procps.c > @@ -120,7 +120,7 @@ void FAST_FUNC free_procps_scan(procps_status_t* sp) > free(sp); > } > > -#if ENABLE_FEATURE_TOPMEM > +#if ENABLE_FEATURE_TOPMEM || ENABLE_PMAP > static unsigned long fast_strtoul_16(char **endptr) > { > unsigned char c;
Thanks Dan, fixed in git. -- vda _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
