linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] linphone-1.0.0pre5 Could not find libspeex-error


From: Simon Morlat
Subject: Re: [Linphone-users] linphone-1.0.0pre5 Could not find libspeex-error
Date: Wed, 5 Jan 2005 11:22:22 +0100
User-agent: KMail/1.7.1

Le Vendredi 24 Décembre 2004 01:29, beni mahler a écrit :
> hi again
>
> as i do NOT need speex for my program and I am not interested in
> compiling speex, but when I use --without-speex or
> --disable-speexenc/dec the check in the configure script for the
> libspeex files is still done. if anyone could help me changing this, I
> would appreciate.
Those option do not exist, so I don't expect them to work...

Concerning the -ldl that breaks all, I found the problem in configure.in:
you have to put the AC_CHECK_LIB(dl,dlopen,[LIBS="$LIBS -ldl"]) at the end of 
the configure.in before the first AM_CONDITIONAL for example, so that it 
cannot disturb the speex lib test. As your architecture does not seem to 
support dlopen, you may also simply remove this line.
It will be in the CVS soon.
Thanks and happy new year too !


>
> have a wonderful X-mas and a happy new year
>
> enjoy yourself
>
> beni mahler
>
> beni mahler escribió:
> > hi all
> >
> >
> > i use linphone-1.0.0pre5 and i try to compile for arm-linux. i first
> > compiled speex and found that if you use ./configure
> > --prefix=~/build/speex then we don't have the header files in
> > ~/build/speex/include/ as usual, but in ~/build/speex/include/speex/.
> >
> >
> > once copied the headers to .../include I try to configure with the
> > command that is quoted in the end of this mail, i get:
> > ...
> > checking for speex.h... yes
> > checking for speex_encode in -lspeex... no
> > configure: error: Could not find libspeex (speex codec). Please
> > install libspeex<1.1 or libspeex>=1.1.6
> >
> >
> > I do use the version 1.1.6 of speex and i use the
> > --with-speex=/axoteclinux/crossdev/arm/build/speex
> >
> >
> > the config.log of linphone says:
> > configure:23086: checking for speex_encode in -lspeex
> > configure:23116: /axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-gcc
> > -o conftest -O2 -fno-exceptions -I$(top_srcdir)/
> > support -I/axoteclinux/crossdev/arm/build/speex/include -lm
> > -L/axoteclinux/crossdev/arm/build/speex/lib conftest.c -ls
> > peex   -ldl >&5
> > /axoteclinux/arm-linux/bin/ld: cannot find -ldl
> > collect2: ld returned 1 exit status
> > configure:23122: $? = 1
> >
> > configure: failed program was:
> > | /* confdefs.h.  */
> > |
> > | #define PACKAGE_NAME ""
> > | #define PACKAGE_TARNAME ""
> > | #define PACKAGE_VERSION ""
> > | #define PACKAGE_STRING ""
> > | #define PACKAGE_BUGREPORT ""
> > | #define STDC_HEADERS 1
> > | #define HAVE_SYS_TYPES_H 1
> > | #define HAVE_SYS_STAT_H 1
> > | #define HAVE_STDLIB_H 1
> > | #define HAVE_STRING_H 1
> > | #define HAVE_MEMORY_H 1
> > | #define HAVE_STRINGS_H 1
> > | #define HAVE_INTTYPES_H 1
> > | #define HAVE_STDINT_H 1
> > | #define HAVE_UNISTD_H 1
> > | #define HAVE_DLFCN_H 1
> > | #ifdef __cplusplus
> > | extern "C" void std::exit (int) throw (); using std::exit;
> > | #endif
> > | #define GETTEXT_PACKAGE "linphone"
> > | #define HAVE_LOCALE_H 1
> > | #define HAVE_LC_MESSAGES 1
> > | #define __LINUX__ 1
> > | #define __ARM__ 1
> > | #define PACKAGE_LOCALE_DIR
> >
> > "/axoteclinux/crossdev/arm/build/linphone-0.12.1//share/locale"
> >
> > | #define PACKAGE_DATA_DIR
> >
> > "/axoteclinux/crossdev/arm/build/linphone-0.12.1//share"
> >
> > | #define PACKAGE_SOUND_DIR
> >
> > "/axoteclinux/crossdev/arm/build/linphone-0.12.1//share/sounds/linphone"
> >
> > | #define HAVE_SYS_SOUNDCARD_H 1
> > | #define HAVE_DLFCN_H 1
> > | #define HAVE_SPEEX_H 1
> > | /* end confdefs.h.  */
> > |
> > | /* Override any gcc2 internal prototype to avoid an error.  */
> > | #ifdef __cplusplus
> > | extern "C"
> > | #endif
> > | /* We use char because int might match the return type of a gcc2
> > |    builtin and then its argument prototype would still apply.  */
> > | char speex_encode ();
> > | int
> > | main ()
> > | {
> > | speex_encode ();
> > |   ;
> > |   return 0;
> > | }
> >
> > configure:23148: result: no
> > configure:23165: error: Could not find libspeex (speex codec). Please
> > install libspeex<1.1 or libspeex>=1.1.6
> >
> >
> >
> > when i check the dir i see
> > /axoteclinux/crossdev/arm/build/speex/lib/libspeex.a
> > /axoteclinux/crossdev/arm/build/speex/lib/libspeex.la
> >
> >
> > when i check the libspeex.a file with nm i see [among much more]
> > speex.o:
> >         U floor
> > 00000000 t gcc2_compiled.
> > 000002bc T nb_mode_query
> > 00000168 T speex_decode
> > 00000188 T speex_decode_int
> > 00000090 T speex_decode_native
> > 0000029c T speex_decoder_ctl
> > 00000054 T speex_decoder_destroy
> > 0000001c T speex_decoder_init
> > 000000b0 T speex_encode
> > 000000d0 T speex_encode_int
> > 00000070 T speex_encode_native
> > 0000027c T speex_encoder_ctl
> > 00000038 T speex_encoder_destroy
> > 00000000 T speex_encoder_init
> > 000003c0 T speex_lib_ctl
> >         U speex_warning_int
> > 0000033c T wb_mode_query
> >
> > I am convinced that my speex-lib is ok and I would be pleased if
> > anyone could give me a hint, what to try next.
> > thank you.
> >
> > beni
> >
> >
> >
> > ***** here is my configure:
> > CC=/axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-gcc \
> > CXX=/axotec/gcc-3.2.2/toolchain/arm-linux/bin/g++ \
> > CFLAGS="-O2 -fno-exceptions" \
> > CXXFLAGS="-O2 -fno-exceptions" \
> > CPPFLAGS="-O2 -fno-exceptions \
> > -I/axoteclinux/crossdev/arm/build/speex/include/speex \
> > -I/home/beni/build/include/osipua/ \
> > -I/axoteclinux/crossdev/arm/build/libosip-arm/include/ \
> > -I/axoteclinux/crossdev/arm/build/libosip-arm/include/osip/ \
> > -I/axoteclinux/crossdev/arm/build/libogg/include" \
> > AR=/axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-ar \
> > RANLIB=/axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-ranlib \
> > NM=/axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-nm
> > ac_cv_path_NM=/axoteclinux/arm-linux-uclibc/usr/bin/arm-uclibc-nm
> > LDFLAGS="-L/axoteclinux/crossdev/arm/build/libiconf-arm/bin
> > -L/axotec/gcc-3.2.2/toolchain/lib \
> > -L/axoteclinux/lib -L/axoteclinux/lib/gcc-lib/arm-linux/2.95.3 \
> > -L/axoteclinux/uClibc/lib -L/axoteclinux/uClibc/libc
> > -L/axoteclinux/crossdev/arm/build/libiconf-arm/lib
> > -L/axoteclinux/crossdev/arm/build/libosip-arm/lib
> > -L/axoteclinux/crossdev/arm/build/libosip-arm/include/osip
> > -L/home/beni/build/include/ -L/home/beni/build/include/osipua/
> > -L/axoteclinux/crossdev/arm/build/libosip-arm/include
> > -L/axoteclinux/crossdev/arm/build/libosip2-2.2.0/lib
> > -L/axoteclinux/crossdev/arm/build/libogg/lib
> > -L/axoteclinux/crossdev/arm/build/libogg/include
> > -L/axoteclinux/crossdev/arm/build/speex/lib -L/usr/local/lib
> > -L/axoteclinux/crossdev/arm/build/speex" \
> > ./configure --host=arm-linux --disable-shared --enable-static
> > --build=i686
> > --prefix=/axoteclinux/crossdev/arm/build/linphone-1.0.0pre5/
> > --disable-glib --with-speex=/axoteclinux/crossdev/arm/build/speex
> >
> >
> >
> >
> >
> > _______________________________________________
> > Linphone-users mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/linphone-users
>
> _______________________________________________
> Linphone-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]