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

List:       busybox
Subject:    [BusyBox] busybox and uClibc without CONFIG_LFS
From:       Thomas Lundquist <lists () zelow ! no>
Date:       2003-08-30 11:19:50
[Download RAW message or body]


after some testing I've found that busybox ash will not compile unless
UCLIBC_HAS_LFS=y is set in uClibc .config.

the offending code is: 

                if (metaflag == 0 || lstat64(expdir, &statb) >= 0)
		                        addfname(expdir);

(compiling coughs on the lstat64 call.)

this is shell/ash.c

newest CVS head (pre3+)

the error:

shell/ash.c: In function `expmeta':
shell/ash.c:5631: error: storage size of `statb' isn't known
shell/ash.c:5674: warning: implicit declaration of function `lstat64'
shell/ash.c:5631: warning: unused variable `statb'

(I tried the dirty s/lstat64/lstat/ but that did not work either)


Thomas.

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

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