[BusyBox 0000531]: Several link errors when creating flat executable file
bugs at busybox.net
bugs at busybox.net
Tue Jan 10 06:11:02 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=531
======================================================================
Reported By: swsnyder
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 531
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 11-04-2005 10:26 PST
Last Modified: 01-09-2006 22:11 PST
======================================================================
Summary: Several link errors when creating flat executable
file
Description:
First, I should note that this is with version busybox-1.1.0-pre1,
downloaded from the Busybox website. (This version does not appears in the
version choices offered above.)
I don't know why it is choking like this, so I will just show the error
that I am seeing. Note that the overall configuration (tools and switches
used) works correctly with Busybox v1.01.
arm-elf-gcc -Wl,-elf2flt -o busybox -Wl,--start-group
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/applets/applets.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/archival/archival.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/archival/libunarchive/libunarchive.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/coreutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/console-tools/console-tools.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/debianutils/debianutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/editors/editors.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/findutils/findutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/init/init.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/miscutils/miscutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/modutils/modutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/networking.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/libiproute/libiproute.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/networking/udhcp/udhcp.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/procps/procps.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/loginutils/loginutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/shell/shell.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/sysklogd/sysklogd.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/util-linux/util-linux.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/e2fsprogs/e2fsprogs.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/libpwdgrp/libpwdgrp.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/libcoreutils/libcoreutils.a
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/libbb/libbb.a -lm -lm
-lcrypt -Wl,--end-group
/opt/armutils_2.5.85.0/build_arm/busybox-1.1.0-pre1/coreutils/coreutils.a(nohup.o):
In function `close_stdout':
nohup.o(.text+0x80): This version of __fpending returns bytes remaining in
buffer for both narrow and wide streams. glibc's version returns wide
chars in buffer for the wide stream case.
busybox.elf2flt: In function `compare_keys':
busybox.elf2flt(.text+0xe3a0): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3b4): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3d0): undefined reference to `__isnan'
busybox.elf2flt(.text+0xe3e4): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe414): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe458): undefined reference to `__isinf'
busybox.elf2flt(.text+0xe48c): undefined reference to `__isinf'
busybox.elf2flt: In function `inetd_main':
busybox.elf2flt(.text+0x2b9a4): undefined reference to `daemon'
busybox.elf2flt: In function `telnetd_main':
busybox.elf2flt(.text+0x30328): undefined reference to `daemon'
busybox.elf2flt: In function `klogd_main':
busybox.elf2flt(.text+0x406fc): undefined reference to `daemon'
busybox.elf2flt: In function `syslogd_main':
busybox.elf2flt(.text+0x41424): undefined reference to `daemon'
collect2: ld returned 1 exit status
make[1]: *** [busybox] Error 1
======================================================================
----------------------------------------------------------------------
landley - 01-09-06 22:11
----------------------------------------------------------------------
This is something to do with your build environment. daemon() should be in
your libc and I believe __isnan() is libgcc but it could also be libc.
Issue History
Date Modified Username Field Change
======================================================================
11-04-05 10:26 swsnyder New Issue
11-04-05 10:26 swsnyder Status new => assigned
11-04-05 10:26 swsnyder Assigned To => BusyBox
11-04-05 10:26 swsnyder File Added: .config
11-08-05 06:24 dajomas Issue Monitored: dajomas
01-09-06 22:11 landley Status assigned => closed
01-09-06 22:11 landley Note Added: 0000904
======================================================================
More information about the busybox-cvs
mailing list