1 |
It's a math function - the natural log in float format. It should be |
2 |
included in libm but since you're linking with -lm and still getting the |
3 |
error, I would assume that the math library in your uclibc has a feature |
4 |
missing or something. |
5 |
|
6 |
You may have to upgrade the uclibc version. |
7 |
|
8 |
~/Chris |
9 |
|
10 |
Jan Meier wrote: |
11 |
> Hello, |
12 |
> |
13 |
> when I try to compile media-sound/sox-13.0.0 on a nslu2 (arm platform with |
14 |
> uclibc) I get the following error message: |
15 |
> |
16 |
> (cd .libs && rm -f libst.la && ln -s ../libst.la libst.la) |
17 |
> /bin/sh ../libtool --tag=CC --mode=link |
18 |
> armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -o |
19 |
> sox sox.o libst.la -lm |
20 |
> armeb-softfloat-linux-uclibc-gcc -Os -fsigned-char -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -o .libs/sox |
21 |
> sox.o ./.libs/libst.so -lm |
22 |
> ./.libs/libst.so: undefined reference to `logf' |
23 |
> collect2: ld returned 1 exit status |
24 |
> make[1]: *** [sox] Error 1 |
25 |
> make[1]: Leaving directory `/var/tmp/portage/sox-13.0.0/work/sox-13.0.0/src' |
26 |
> make: *** [all-recursive] Error 1 |
27 |
> |
28 |
> Any ideas how I can fix this? Is it a problem with the uclibc? |
29 |
> emerge --info has the following output: |
30 |
> |
31 |
> emerge --info |
32 |
> Portage 2.0.51.22-r2 (default-linux/arm, gcc-4.1.2, uclibc-0.9.27-r0, 2.6.16 |
33 |
> armv5teb) |
34 |
> ================================================================= |
35 |
> System uname: 2.6.16 armv5teb XScale-IXP42x Family rev 1 (v5b) |
36 |
> Gentoo Base System release 1.12.9 |
37 |
> distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port |
38 |
> 3632) [disabled] |
39 |
> app-admin/eselect-compiler: [Not Present] |
40 |
> dev-java/java-config: [Not Present] |
41 |
> dev-lang/python: 2.3.5 |
42 |
> dev-python/pycrypto: 2.0.1-r5 |
43 |
> dev-util/ccache: [Not Present] |
44 |
> dev-util/confcache: [Not Present] |
45 |
> sys-apps/sandbox: 1.2.17 |
46 |
> sys-devel/autoconf: 2.13, 2.61 |
47 |
> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10 |
48 |
> sys-devel/binutils: 2.17 |
49 |
> sys-devel/gcc-config: 1.3.15-r1 |
50 |
> sys-devel/libtool: 1.5.18-r1 |
51 |
> virtual/os-headers: 2.4.26-r1 |
52 |
> ACCEPT_KEYWORDS="arm ~arm" |
53 |
> AUTOCLEAN="yes" |
54 |
> CBUILD="armeb-softfloat-linux-uclibc" |
55 |
> CFLAGS="-Os" |
56 |
> CHOST="armeb-softfloat-linux-uclibc" |
57 |
> CONFIG_PROTECT="/etc" |
58 |
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" |
59 |
> CXXFLAGS="-Os" |
60 |
> DISTDIR="/usr/portage/distfiles" |
61 |
> FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict" |
62 |
> GENTOO_MIRRORS="http://distfiles.gentoo.org |
63 |
> http://distro.ibiblio.org/pub/Linux/distributions/gentoo" |
64 |
> PKGDIR="/home/packages/" |
65 |
> PORTAGE_TMPDIR="/var/tmp" |
66 |
> PORTDIR="/usr/portage" |
67 |
> PORTDIR_OVERLAY="/usr/local/portage" |
68 |
> SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
69 |
> USE="arm acl berkdb bitmap-fonts bzip2 cli cracklib crypt curl expat fortran |
70 |
> gmp idn isdnlog lowmem midi ncurses pam pcre perl pppd python readline |
71 |
> reflection samba session spl ssl tcpd truetype-fonts type1-fonts |
72 |
> uclibc-compat xorg zlib video_cards_ati video_cards_chips video_cards_dummy |
73 |
> video_cards_fbdevglint video_cards_mga video_cards_nv video_cards_s3 |
74 |
> video_cards_s3virge video_cards_savage video_cards_sis video_cards_sisusb |
75 |
> video_cards_tdfx video_cards_trident video_cards_v4l video_cards_vga |
76 |
> video_cards_voodoo input_devices_keyboard input_devices_mouse |
77 |
> input_devices_evdev userland_GNU kernel_linux elibc_glibc |
78 |
> alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym |
79 |
> alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare |
80 |
> alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug |
81 |
> alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 |
82 |
> alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat |
83 |
> alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw |
84 |
> alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug |
85 |
> alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share |
86 |
> alsa_pcm_plugins_shm alsa_pcm_plugins_softvol lcd_devices_bayrad |
87 |
> lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 |
88 |
> lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses |
89 |
> lcd_devices_text" |
90 |
> Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, |
91 |
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, |
92 |
> PORTAGE_RSYNC_OPTS |
93 |
> |
94 |
> Regards |
95 |
> Jan |
96 |
> |
97 |
-- |
98 |
gentoo-embedded@g.o mailing list |