[BusyBox] some define errors in bb 0.47

Michael Renzmann renzmann at gmx.de
Tue Oct 24 18:37:28 UTC 2000


Hi all.

I just finished compiling the new bb version and found some errors
related to the ´ls´ feature-defines.

1.) when BB_FEATURE_LS_USERNAME is defined, any other ls-features not:
    ls.c: in function list_single
    ls.c:566: ´info´ undeclared

2.) when BB_FEATURE_LS_RECURSIVE is defined, any other ls-features not:
    ls.c: in function showdirs
    ls.c:433: ´dnd´ undeclared
    ls.c:434: ´dndirs´ undeclared
    ls.c:436: warning: implicit declaration of function ´shellsort´

3.) 2. can be fixed by additionally defining BB_FEATURE_LS_SORTFILES

4.) when BB_FEATURE_LS_TIMESTAMPS is defines, any other ls-features not:
    ls.c: in function ls_main
    ls.c:729: sort_opts undeclared
    ls.c:729: SORT_CTIME undeclared
    ls.c:730: SORT_MTIME undeclared
    ls.c:731: SORT_ATIME undeclared

5.) when BB_FEATURE_LS_TIMESTAMPS and BB_FEATURE_LS_SORTFILES are
defined, any other ls-feature not, there is a warning of unused
variables ´dnd´ and ´dndirs´

6.) 1. can be fixed by additionally defining BB_FEATURE_LS_FILETYPES

I did not have the time to dig in the code and fix these things, but I
wanted to post the problems at least to the list, so anyone could fix it
by time.

Bye, Mike





More information about the busybox mailing list