[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] compile issue with shadow password disabled
From:       Aurelien Jacobs <aurel () gnuage ! org>
Date:       2004-07-26 17:04:28
Message-ID: 20040726190428.293b1875.aurel () gnuage ! org
[Download RAW message or body]

On Mon, 26 Jul 2004 00:38:00 -0600
Erik Andersen <andersen@codepoet.org> wrote:

> On Sun Jul 25, 2004 at 04:55:06PM +0200, Aurelien Jacobs wrote:
> > Hi,
> > 
> > I'm curently building busybox 1.00-rc1 against a uClibc with shadow
> > password support disabled. I also disabled all busybox options in
> > the "Login/Password Management Utilities" section, so I assume that
> > no codes about passords should be compiled. Unfortunately the file
> > libbb/pwd2spwd.c is still compiled and it complain about shadow.h
> > being not found (which is normal).
> 
> I did a 'make allyesconfig', then ran 'make menuconfig' and
> disabled everything under the "Login/Password Management
> Utilities" menu.  Then ran 'make' and everything compiled right
> up without error...
> 
> I'm afraid we are going to need your .config file, the exact
> error message you are getting, and anything else you can think of
> that might help to track this down.

Sure ! I should have done it in my first mail.

I think the important point to note is that my uClibc is build with
HAS_SHADOW _not_ set.

Here is the error I get :

/data/geexbox/build/uClibc-0.9.26/build/usr/bin/gcc -I./include
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-Wall -Wstrict-prototypes -Wshadow -Os -march=i386
-mpreferred-stack-boundary=2 -falign-functions=0 -falign-jumps=0
-falign-loops=0 -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG
-c -o libbb/pwd2spwd.o libbb/pwd2spwd.c
In file included from libbb/pwd2spwd.c:34:
include/shadow_.h:22:20: shadow.h: No such file or directory
libbb/pwd2spwd.c: In function `pwd_to_spwd':
libbb/pwd2spwd.c:47: error: storage size of `sp' isn't known
libbb/pwd2spwd.c:47: warning: unused variable `sp'
libbb/pwd2spwd.c:47: error: storage size of `sp' isn't known
make: *** [libbb/pwd2spwd.o] Erreur 1

I use gcc 3.3.4 on a debian sid, with uClibc 0.9.26.
I didn't had such a problem with busybox 1.00-pre10. It appeared
with 1.00-rc1 and is still their in 1.00-rc2.
I join my busybox .config and also the uClibc .config.

Thanks,
Aurel

["busybox.config" (application/octet-stream)]
["uClibc.config" (application/octet-stream)]

_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic