[jdev] [libJingle] where to talk about it?
andromede at gmail.com
Fri Dec 30 22:29:02 CST 2005
On 12/31/05, Sean Egan <seanegan at gmail.com> wrote:
> For now, http://groups.google.com/group/google-talk-open is the
> "official" place to discuss Libjingle.
> On 12/30/05, Andro <andromede at gmail.com> wrote:
> > also something that I don't understand is that it doesn't change
> > anything to add --with-speex and/or --with-ilbc or not to ./configure.
> > I also don't know if these options are waiting for a path (usually
> > --with-x is not waiting for anything ..) or not, but ./configure
> > --help gives
> > --with-speex Set prefix where speex lib can be found (ex:/usr,
> > /usr/local) default=/usr
> > --with-ilbc Set prefix where ilbc headers and libs can be found
> > (ex:/usr, /usr/local, none to disable ilbc support) default=/usr
> Those should just be warnings, not errors. ./configure should complete
> and you should be able to build fine, just without support for iLBC or
> Speex. --with-speex and --with-ilbc does want the prefixes for Speex
> and iLBC; you're probably thinking of --enable-X and --disable-X which
> are just flags whether or not to compile with certain support. If your
> Speex and iLBC are in places where the compiler won't ordinarily find
> them, you may need to set these flags.
> Author of Open Source Messaging Application Development: Building and
> Extending Gaim: http://gaim.sf.net/book.php
Yes right, I was mistaking between --enable and --with flags, and yes
it does ./configure successfully (without speex & iLBC support).
I would like to get this libs' support, and ./configure
--with-speex=/usr/include/speex/ doesn't make the trick, I get
configure: WARNING: Could not find a libspeex version that have the
speex_encode_int() function. Please install libspeex=1.0.5 or
libspeex>=1.1.6 from http://www.speex.org/
andro at tux libjingle-0.1.0 $ ls -l /usr/include/speex/
-rw-r--r-- 1 root root 12639 Oct 9 18:28 speex.h
andro at tux libjingle-0.1.0 $ grep "speex_encode_int("
int speex_encode_int(void *state, short *in, SpeexBits *bits);
Anyway, because I can't wait to make it work, I start make'ing. I get
a first error :
checking for correct ltmain.sh version... no
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.20, ltmain.sh = 1.5) ***
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
make: *** [config.status] Error 1
running the libtoolize command succeeds, and make goes on. Second error :
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -DPOSIX -g -O2 -c -o
relayserver_main.o `test -f 'relayserver_main.cc' || echo
relayserver_main.cc: In function `int main(int, char**)':
relayserver_main.cc:47: error: `assert' undeclared (first use this function)
relayserver_main.cc:47: error: (Each undeclared identifier is reported only
once for each function it appears in.)
make: *** [relayserver_main.o] Error 1
SOLVED by adding
then libjingle compiles successfully.
Why can't I get speex support though?
More information about the JDev