linphone-users
[Top][All Lists]
Advanced

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

Re: [Linphone-users] Compilation without speex


From: Simon Morlat
Subject: Re: [Linphone-users] Compilation without speex
Date: Wed, 19 Oct 2005 17:17:45 +0200
User-agent: KMail/1.8.2

I think I already see that with arm-gcc-2.95: just turn off optimisation 
(remove -02 in the gsmlib/Makefile) and it works.

Simon

Le Mercredi 19 Octobre 2005 13:28, Kushal Dalal a écrit :
> Hello,
>
> Thanks. I am able to compile Speex-1.0.5 with my toolchain.
> Previously I was trying Speex-1.1.6. It's ok as it is enough.
> Now while compiling linphone as mentioned in README.arm,
> it gives following error.
> I have pasted that part..
>
> """"""""""""""""""
> source='code.c' object='code.lo' libtool=yes \
> depfile='.deps/code.Plo' tmpdepfile='.deps/code.TPlo' \
> depmode=gcc /bin/sh ../depcomp \
> /bin/sh ../libtool --mode=compile armv4l-unknown-linux-gcc
> -DHAVE_CONFIG_H -I. -I. -I..   -O2 -fno-exceptions -w -O2
> -fno-exceptions -I../support -c -o code.lo code.c
>  armv4l-unknown-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2
> -fno-exceptions -w -O2 -fno-exceptions -I../support -c code.c
> -Wp,-MD,.deps/code.TPlo  -fPIC -DPIC -o .libs/code.o
> /tmp/ccM7d2bX.s: Assembler messages:
> /tmp/ccM7d2bX.s:96: Error: Can not represent OFFSET_IMM8 relocation in
> this object file format (1)
> /tmp/ccM7d2bX.s:98: Error: Can not represent OFFSET_IMM8 relocation in
> this object file format (1)
> make: *** [code.lo] Error 1
> """""""""""""""""""""""""""""""""""""""""""""
> Can I compile without GSM codec as I don't need it?
> Or how to solve above problem?
>
> Thanks in advance.
> -Kushal
>
> Kushal Dalal
> Embedded Engineer
> eInfochips Limited.
> Email: address@hidden
>
> Simon Morlat wrote:
> >Hello,
> >
> >The speex dependency is mandatory.
> >However it is quite easy to cross compile speex on arm:
> >
> >taken from my README.arm in linphone's tree:
> >
> >Cross compiling speex for ARM:
> >********************************
> >First you need to remove ogg headers from your build system to avoid a
> > dirty conflict between
> >your build machine binaries and the arm binaries. They are usually in a
> >libogg-dev package (rpm or deb).
> >Then:
> >./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static
> >--enable-fixed-point --enable-arm-asm
> >make
> >make install DESTDIR=$ARM_INSTALL_TREE
> >make install DESTDIR='pwd'/armbuild
> >
> >Simon
> >
> >Le Mardi 18 Octobre 2005 15:17, Kushal Dalal a écrit :
> >>Hello,
> >>
> >>I am cross compiling linphonec-1.1.0  for ARM - MIZI Embedded Linux
> >>platform.(for Samsung S3C2410 board.)
> >>I am using cross compilaton tool chain by MIZI.
> >>I would like to remove speex depedancy for the package.
> >>I tried "--with-speex=no" and "--without-speex" while running configure
> >>script.
> >>But it is not working. I think there is a bug in that script at speex
> >> part. What could be the solution?
> >>Even I am not able to cross compile Speex with my tool chain !!..
> >>
> >>Thanks in advance.
> >>
> >>-Kushal Dalal
> >
> >Disclaimer: This e-mail and any attachment is for authorized use by the
> > intended recipients only. It may contain proprietary material,
> > confidential information and/or be subject to legal privilege of
> > eInfochips Ltd. If you have received this message in error, please notify
> > the originator immediately. If you are not the intended recipient, you
> > are notified that you are strictly Prohibited from retaining, using,
> > copying, altering or disclosing the contents of this message.




reply via email to

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