It's a math function - the natural log in float format. It should be included in libm but since you're linking with -lm and still getting the error, I would assume that the math library in your uclibc has a feature missing or something.

You may have to upgrade the uclibc version.

~/Chris

Jan Meier wrote:
Hello, when I try to compile media-sound/sox-13.0.0 on a nslu2 (arm platform with uclibc) I get the following error message:

(cd .libs && rm -f libst.la && ln -s ../libst.la libst.la)
/bin/sh ../libtool --tag=CC --mode=link armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -o sox sox.o libst.la -lm armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -o .libs/sox sox.o ./.libs/libst.so -lm
./.libs/libst.so: undefined reference to `logf'
collect2: ld returned 1 exit status
make[1]: *** [sox] Error 1
make[1]: Leaving directory `/var/tmp/portage/sox-13.0.0/work/sox-13.0.0/src'
make: *** [all-recursive] Error 1

Any ideas how I can fix this? Is it a problem with the uclibc? emerge --info has the following output:
 emerge --info
Portage 2.0.51.22-r2 (default-linux/arm, gcc-4.1.2, uclibc-0.9.27-r0, 2.6.16 armv5teb)
=================================================================
System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b)
Gentoo Base System release 1.12.9
distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="arm ~arm"
AUTOCLEAN="yes"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-Os"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo";
PKGDIR="/home/packages/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm acl berkdb bitmap-fonts bzip2 cli cracklib crypt curl expat fortran gmp idn isdnlog lowmem midi ncurses pam pcre perl pppd python readline reflection samba session spl ssl tcpd truetype-fonts type1-fonts uclibc-compat xorg zlib video_cards_ati video_cards_chips video_cards_dummy video_cards_fbdevglint video_cards_mga video_cards_nv video_cards_s3 video_cards_s3virge video_cards_savage video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_trident video_cards_v4l video_cards_vga video_cards_voodoo input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

Regards
Jan

--
[email protected] mailing list

Reply via email to