[BusyBox] CONFIG_IPADDR

Thomas Lundquist lists at zelow.no
Sat Apr 10 11:27:01 UTC 2004


The ipaddr applet has probably not been working for a while. 

In applets.h it has been changed from "CONFIG_IPADDRESS" to the correct
"CONFIG_IPADDR" but the result, as it is now linked into busybox are;

gcc -s -Wl,-warn-common -o busybox -Wl,--start-group ./applets/applets.a
./archival/archival.a ./archival/libunarchive/libunarchive.a
./coreutils/coreutils.a ./console-tools/console-tools.a
./debianutils/debianutils.a ./editors/editors.a ./findutils/findutils.a
./init/init.a ./miscutils/miscutils.a ./modutils/modutils.a
./networking/networking.a ./networking/libiproute/libiproute.a
./networking/udhcp/udhcp.a ./procps/procps.a ./loginutils/loginutils.a
./shell/shell.a ./sysklogd/sysklogd.a ./util-linux/util-linux.a
./libpwdgrp/libpwdgrp.a ./coreutils/libcoreutils/libcoreutils.a
./libbb/libbb.a -lcrypt -Wl,--end-group

./networking/networking.a(ipaddr.o)(.text+0xb): In function
`ipaddr_main':
: undefined reference to `ip_parse_common_args'
./networking/networking.a(ipaddr.o)(.text+0x1e): In function
`ipaddr_main':
: undefined reference to `do_ipaddr'
collect2: ld returned 1 exit status


Changing back to "CONFIG_IPADDRESS" gives a busybox binary without the
ipaddr applet.

Gonna look at whats wrong later, just wanted to inform about this (and
maybe someone just knows what to fix :=)


Thomas



More information about the busybox mailing list