[BusyBox] BB 0.49 fails compiling username_tab_completion()

Jim Gleason jimg at lineo.com
Tue Jan 30 21:22:52 UTC 2001


In BB version 0.49,

If you enable BB_FEATURE_SH_TAB_COMPLETION
and
If you enable BB_FEATURE_USERNAME_COMPLETION

then the function username_tab_completion() in the file cmdedit.c fails
to build. as follows:


gcc -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -I- -I. -I.
-DBB_VER='"0.49"' -DBB_BT='"2001.01.30-21:14+0000"'  -c cmdedit.c -o
cmdedit.o
cmdedit.c: In function `username_tab_completion':
cmdedit.c:353: warning: implicit declaration of function `bb_setpwent'
cmdedit.c:356: warning: implicit declaration of function `bb_getpwent'
cmdedit.c:356: warning: assignment makes pointer from integer without a
cast
cmdedit.c:358: dereferencing pointer to incomplete type
cmdedit.c:360: dereferencing pointer to incomplete type
cmdedit.c:361: dereferencing pointer to incomplete type
cmdedit.c:368: warning: implicit declaration of function `bb_endpwent'
make[1]: *** [cmdedit.o] Error 1


Did someone fail to commit a new file?

Jim



More information about the busybox mailing list