[BusyBox] Can't build 'TOP' with the %cpu option
Phil Shepard
phil at artismicro.com
Wed Mar 17 04:59:27 UTC 2004
Trying to get 'TOP' to build with the %CPU utilization option. I get a
doubly defined symbol. I imagine it has something to do with how I built my
tool chain. Here's the link error mess. The compiler paths tell the
complete story of how cross tools were made.
Thanks for anyone's input. I kinda put some white space in to see what was
going on here.
If you don't turn on the %CPU option, it builds and executes fine.
Phil
---------------------------------------
Phil Shepard
Applications Engineer
Artis Microsystems
408-499-2078
[pshepard at phils_M60 busybox-1.00-pre8]$ make
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/bin/powerpc-405-l
inux-gnu-gcc -s -Wl,-warn-common --static -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 -Wl,--end-group
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/power
pc-405-linux-gnu/3.3.2/../../../../powerpc-405-linux-gnu/lib/libc.a(gedf2.o)
(.text+0x0): In function `__gtdf2':
: multiple definition of `__gedf2'
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/power
pc-405-linux-gnu/3.3.2/libgcc.a(_ge_df.oS)(.text+0x0):
/home/pshepard/crosstool-0.27/build/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.
3.2/build-gcc/gcc/dp-bit.c:1204: first defined here
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/power
pc-405-linux-gnu/3.3.2/../../../../powerpc-405-linux-gnu/bin/ld:
Warning: size of symbol `__gedf2' changed from 140 in
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/power
pc-405-linux-gnu/3.3.2/libgcc.a(_ge_df.oS) to 508 in
/opt/crosstool/powerpc-405-linux-gnu/gcc-3.3.2-glibc-2.3.2/lib/gcc-lib/power
pc-405-linux-gnu/3.3.2/libgcc.a(_ge_df.oS)
collect2: ld returned 1 exit status
make: *** [busybox] Error 1
[pshepard at phils_M60 busybox-1.00-pre8]$
More information about the busybox
mailing list