[BusyBox] CVS: chown_chmod_chgrp won't link; neither will umount

David Douthitt ssrat at mailbag.com
Fri Apr 6 14:26:21 UTC 2001


The errors are:

chmod_chown_chgrp.o: In function `fileAction':
chmod_chown_chgrp.o(.text+0x48): warning: lchown is not implemented
and will always fail
umount.o: In function `do_umount':
umount.o(.text+0x1b9): undefined reference to `umount2'
collect2: ld returned 1 exit status
make: *** [busybox] error 1
#

The environment is Red Hat 6.2 but compiling against libc 2.0.7 using
the compat-* series of RPMs, libraries, and gcc.

gcc reports:

# i386-glibc20-linux-gcc
Reading specs from
/usr/lib/gcc-lib/i386-glibc20-linux/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
#

Also, there used to be an applet in Config.h:

#define BB_ZCAT

and now it's gone.  It seems to be tied to gunzip; would it be
possible to convert "BB_GUNZIP" to "BB_GUNZIP_ZCAT"?

It also appears that other apps may depend on gunzip being present
(like dpkg_deb and gzip); what if it isn't?





More information about the busybox mailing list