[Speex-dev] build speex-1.0.5 problem (undefined reference to `__strtol_internal')

Jessy.Wen at QMITW.COM Jessy.Wen at QMITW.COM
Fri Jul 21 01:15:37 PDT 2006


Skipped content of type multipart/alternative-------------- next part --------------
pending configuration tag "CXX" to libtool
checking for ld used by /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++... /home/jessy/proce
ss_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-ld
checking if the linker (/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-ld) is GNU ld... yes
checking whether the /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++ linker (/home/jessy/pro
cess_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-ld) supports shared libraries... no
checking for /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++ option to produce PIC... -fPIC
checking if /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++ PIC flag -fPIC works... yes
checking if /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++ supports -c -o file.o... yes
checking whether the /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-g++ linker (/home/jessy/pro
cess_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-ld) supports sh
ared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether byte ordering is bigendian... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking for libogg... Ogg includes in /usr/include
Ogg libraries in /usr/lib
checking for sin in -lm... yes
checking for getopt_long in -lgnugetopt... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libspeex/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Speex.spec
config.status: creating include/Makefile
config.status: creating include/speex/Makefile
config.status: creating speex.pc
config.status: creating win32/Makefile
config.status: creating win32/libspeex/Makefile
config.status: creating win32/speexenc/Makefile
config.status: creating win32/speexdec/Makefile
config.status: executing depfiles commands
Type "make; make install" to compile and install Speex
make
make[2]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5'
Making all in libspeex
make[3]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/libspeex'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/libspeex'
Making all in include
make[3]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include'
Making all in speex
make[4]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include/speex'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include/speex'
make[4]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include'
make[3]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/include'
Making all in src
make[3]: Entering directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/src'
/bin/sh ../libtool --mode=link /home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-gcc  -Wall -Wstri
ct-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer   -o speexenc  speexenc.o wav_io.
o ../libspeex/libspeex.la -L/usr/lib -logg -lm
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin/arm-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2
 -fno-strict-aliasing -fno-common -fomit-frame-pointer -o speexenc speexenc.o wav_io.o  ../libspeex/.libs/libspeex.a -L/
usr/lib -logg -lm
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libogg.so when searching for -logg
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libogg.a when searching for -logg
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/home/jessy/process_ctrl_7_21/toolChains/cross_arm/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/../../../../arm-linux-uc
libc/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
speexenc.o(.text+0x15b4): In function `main':
speexenc.c: undefined reference to `__strtol_internal'
speexenc.o(.text+0x1ac0):speexenc.c: undefined reference to `__strtol_internal'
speexenc.o(.text+0x1ad8):speexenc.c: undefined reference to `__strtod_internal'
speexenc.o(.text+0x1afc):speexenc.c: undefined reference to `__strtol_internal'
speexenc.o(.text+0x1b20):speexenc.c: undefined reference to `__strtol_internal'
speexenc.o(.text+0x1b44):speexenc.c: undefined reference to `__strtol_internal'
speexenc.o(.text+0x1bf4):speexenc.c: undefined reference to `__strtol_internal'
collect2: ld returned 1 exit status
make[3]: *** [speexenc] Error 1
make[3]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/jessy/process_ctrl_7_21/apps_src/opensource/speex-1.0.5'
make: *** [speech] Error 2
[jessy at FedoraJessy process_ctrl_7_21]$
[jessy at FedoraJessy process_ctrl_7_21]$ strtol


More information about the Speex-dev mailing list