Problem building BB 1.2 daemons for uClinux ARM
Ian Oliver
lists at foxhill.co.uk
Sun Aug 13 20:11:56 UTC 2006
Hi,
I've worked through a few problems building BusyBox for an MMU-less ARM
and with the help of much googling have got executables that work.
My current make line is -
LDFLAGS="-Wl,-elf2flt" make busybox_unstripped
But if I enable telnetd I get this error -
busybox_unstripped.elf2flt: In function `bb_xdaemon':
busybox_unstripped.elf2flt(.text.bb_xdaemon+0x4): undefined reference
to `daemon'
I then started linking with -
LDFLAGS="-Wl,-elf2flt" EXTRA_CFLAGS="-DBB_NOMMU" make
busybox_unstripped
I now get -
busybox_unstripped.elf2flt: In function `telnetd_main':
busybox_unstripped.elf2flt(.text.telnetd_main+0x1e0): undefined
reference to `bb_xdaemon'
This is odd as, 1) I'd have thought the make would pick up the BB_NOMMU
automatically, 2) it still isn't building!
My toolkit is -
gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from
http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from
http://www.snapgear.com/)
and this has successfully built working uClinux kernel.
Suggestions?
Thanks
Ian
More information about the busybox
mailing list