[uClibc]troubles with Busybox and lastest uClibc CVS snapshot

Wayne Buckhanan buck at andrews.edu
Wed May 30 22:09:52 UTC 2001


fresh copy of the uClibc snapshot, only changing INSTALL_DIR
  make all shared install_dev install
(the last install bombs since I'm not root and it can't make the symlinks)

export PATH=/my/install/dir:${PATH}

clean Busybox 0.51 source, only changing USE_SYSTEM_PWD_GRP = false
  make

I get:

gcc -s -Wl,-warn-common -o busybox basename.o cat.o chmod_chown_chgrp.o
chroot.o chvt.o clear.o cmdedit.o cp_mv.o cut.o date.o dd.o df.o
dirname.o dmesg.o du.o echo.o env.o find.o free.o grep.o gunzip.o gzip.o
halt.o head.o id.o init.o kill.o klogd.o ln.o logger.o ls.o lsmod.o
mkdir.o mknod.o mkswap.o more.o mount.o nfsmount.o poweroff.o ps.o pwd.o
reboot.o reset.o rm.o rmdir.o sed.o sh.o sleep.o sort.o swaponoff.o
sync.o syslogd.o tail.o tar.o touch.o true_false.o tty.o umount.o
uname.o uniq.o uptime.o wc.o which.o whoami.o xargs.o yes.o  busybox.o
messages.o usage.o applets.o libpwd.a libbb.a 
gunzip.o: In function `gz_open':
gunzip.o(.text+0x1571): undefined reference to `fork'
init.o: In function `run':
init.o(.text+0x4e2): undefined reference to `fork'
klogd.o: In function `klogd_main':
klogd.o(.text+0x1b2): undefined reference to `daemon'
sh.o: In function `run_command':
sh.o(.text+0x197a): undefined reference to `fork'
syslogd.o: In function `syslogd_main':
syslogd.o(.text+0x877): undefined reference to `daemon'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
bash$ echo $PATH
/home/buck/WLinB/i386-linux-uclibc/bin/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/homes/buck/bin
bash$ 

grep daemon `find ./uClibc -type f -print`
gets me a few source references and both my shared and static uClibc's...
am I missing something or is it broken?

tried with stock TinyLogin 0.80:
gcc -s -Wl,-warn-common  -o tinylogin tinylogin.o env.o obscure.o
pwd2spwd.o setupenv.o shell.o utmp.o utility.o usage.o addgroup.o
adduser.o deluser.o getty.o login.o passwd.o shadow.o vlock.o -lcrypt
pwd_grp/libpwd.a
utmp.o: In function `setutmp':
utmp.o(.text+0x14c): undefined reference to `updwtmp'
getty.o: In function `update_utmp':
getty.o(.text+0x57c): undefined reference to `updwtmp'
collect2: ld returned 1 exit status
make: *** [tinylogin] Error 1
bash$

atleast when I try the grep trick all I get for updwtmp is a commented
out call to it.  Where am I supposed to get that function?  Should I
steal it out of the glibc code?

thx.

-- 
Wayne Buckhanan					buck at andrews.edu
Piro:				Largo:
"Why are you naked?"		"One must take drastic measures to prevent 
				static discharge.  Care must be taken to 
(Visit Piro and Largo at	preserve the purity of these components."
http://www.megatokyo.com)	"PH34R MY L33T N3KKID SKILLZ!!!"





More information about the uClibc mailing list