compile problem with now shadow passwds

Max Okumoto max at kiyon.com
Thu Aug 3 11:04:47 UTC 2006


There also seems to be a typo in the loginutils/Config.in

Index: loginutils/Config.in
===================================================================
RCS file: /opt/cvs/busybox/loginutils/Config.in,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Config.in
--- loginutils/Config.in        9 Jul 2006 19:10:12 -0000       1.1.1.2
+++ loginutils/Config.in        3 Aug 2006 10:55:30 -0000
@@ -14,7 +14,7 @@
          publicly readable.
 
 config CONFIG_USE_BB_SHADOW
-       bool #"  Use busybox shadow password functions"
+       bool "  Use busybox shadow password functions"
        default y
        depends on CONFIG_USE_BB_PWD_GRP && CONFIG_FEATURE_SHADOWPASSWDS
        help


Max Okumoto <max at kiyon.com> wrote: Hi

I am running into problems compiling busybox with shadow passwd support turned off.  This is for a arm cross compile system,
with uClibc with shadow passwd support also turned off.

uClibc-0.9.28
busybox-1.2.0
 
The compile fails in libpwdgrp when the compiler can not find
shadow.h in the system headers.  Which makes sense since I
turn it off :-)   But since busybox isn't using the shadow passwd
code I want it to compile.

<UGLY HACK>
Since I don't want shadow passwd support anyway.
I commented out the #include "shadow_.h"  in libpwdgrp/pwd_grp.c and libpwdgrp/pwd_grp_internal.c

The libpwdgrp/Makefile.in tries to compile the shadow library code anyway.  So I commented out LIBPWDGRP_MOBJS1 assignment.
</UGLY HACK>

This allowed me to compile busybox... but it doesn't seem like the
 best way to do this :-/  So I guess I should say this is a  bug.

                                  Max Okumoto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20060803/deb66007/attachment-0001.htm 


More information about the busybox mailing list