Gentoo Archives: gentoo-embedded

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

Replies

Subject Author
Re: [gentoo-embedded] Error compiling sox (for asterisk) on a arm platform (nslu2) Christopher Friedt <cfriedt@××××××××××××××.com>