[BusyBox] Compiling dpkg-deb

Glenn McGrath bug1 at optushome.com.au
Thu Jun 21 20:03:49 UTC 2001


David Douthitt wrote:

>When compiling busybox (using the CVS tar.gz file from 0620 pm) I get
>the following error:
>
>gcc -s -Wl,-warn-common -o busybox cat.o chgrp.o chmod.o chown.o
>clear.o cp.o cut.o date.o dd.o df.o dmesg.o dpkg_deb.o du.o dutmp.o
>fdflush.o find.o grep.o gunzip.o gzip.o halt.o head.o hostname.o id.o
>insmod.o kill.o ln.o loadkmap.o logger.o ls.o makedevs.o md5sum.o
>mkdir.o mkfifo.o mkfs_minix.o mkswap.o mktemp.o more.o mount.o mv.o
>nfsmount.o nslookup.o ping.o printf.o rdate.o renice.o rm.o rmdir.o
>rpmunpack.o sort.o stty.o swaponoff.o sync.o tail.o tar.o tee.o
>touch.o tr.o true_false.o umount.o uname.o uniq.o update.o uptime.o
>usleep.o wc.o which.o whoami.o xargs.o yes.o  busybox.o usage.o
>applets.o libbb.a  
>libbb.a(unarchive.o): In function `extract_archive':
>unarchive.o(.text+0x338): warning: lchown is not implemented and will
>always fail
>libbb.a(unarchive.o): In function `deb_extract':
>unarchive.o(.text+0x8b9): undefined reference to `unarchive'
>collect2: ld returned 1 exit status
>make: *** [busybox] Error 1
>
>I'm compiling busybox under Red Hat 6.2 using the Compatability
>Libraries from Red Hat - that is to say, I'm compiling against glibc
>2.0 in a glibc 2.1 environment.
>
>The version of gcc I'm using is:
>
>gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
>
>The GNU libc libraries are 2.0.7 and 2.1.3 ...
>
Ihmm, it compiles for me, im using glibc 2.2, i guess it must be the 
difference in libraries.
Ill see what i can work out.

Thanks

Glenn






More information about the busybox mailing list