--- On Thu, 5/1/12, Denys Vlasenko <[email protected]> wrote:
> On Wed, Jan 4, 2012 at 5:49 PM,
> Hin-Tak Leung
> <[email protected]>
> wrote:
> > Hi,
> >
> > I cannot see why or since when this change is needed
> since the last time I built busybox ( a few months ago), as
> neither configs/android2_defconfig nor libpwdgrp nor libbb
> has changed much recently; but the change seems to be
> correct or at least should cause no harm, so here it is.
>
> > CONFIG_USE_BB_PWD_GRP=y
>
> This will make bbox use internal parsing routines for
> /etc/passwd
> and /etc/group files - because we expect to live on a
> ordinary Unix.
>
> My understanding is that Android does not HAVE those
> files,
> so using internal parsing routines which expect them is
> a wrong thing to do.
>
> So I am not applying the patch - need to understand the
> problem better.
>
> Can you elaborate - what exactly does not compile for you?
The error message was in the change-log, included in the patch:
---------
libbb/lib.a(change_identity.o): In function `change_identity':
change_identity.c:(.text.change_identity+0x28): undefined reference to
`endgrent'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
---------
Maybe the problem is in libbb/change_identity.c ?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox