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: Thu, 27 Oct 2005 13:39:13 +0200
User-agent: KMail/1.8.2

I use libtool 1.5.20

Simon

Le Lundi 24 Octobre 2005 15:40, Kushal Dalal a écrit :
> Thanks
> I am using ""ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23
> 02:54:36)"".
> Which version is recomended?
>
> Thanks
> Kushal
>
> Kushal Dalal
> Embedded Engineer
> eInfochips Limited.
> Email: address@hidden
>
> Simon Morlat wrote:
> >Hello,
> >
> >I've never seen this bug. Looks like a libtool bug.
> >Try with another version of libtool and run ./autogen.sh within linphone's
> >source to update build scripts.
> >
> >Simon
> >
> >Le Jeudi 20 Octobre 2005 07:57, Kushal Dalal a écrit :
> >>Hello,
> >>
> >>Dont consider previous one, actually it shows this error at the
> >>installation time.
> >>
> >>''''''''''''''''''''''''''''''''''''''''''''''''''
> >>make[1]: Leaving directory
> >>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/exosip'
> >>Making install in coreapi
> >>make[1]: Entering directory
> >>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/coreapi'
> >>make[2]: Entering directory
> >>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/coreapi'
> >>test -z "/usr/lib" || mkdir -p -- . "/armbuild/usr/lib"
> >> /bin/sh ../libtool --mode=install /usr/bin/install -c  'liblinphone.la'
> >>'/armbuild/usr/lib/liblinphone.la'
> >>libtool: install: warning: relinking `liblinphone.la'
> >>(cd /home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/coreapi;
> >>/bin/sh ../libtool  --mode=relink armv4l-unknown-linux-gcc -Wall -Werror
> >>-DENABLE_TRACE -DG_LOG_DOMAIN="LinphoneCore" -DINET6 -D_ORTP_SOURCE -02
> >>-fno-exceptions -I../support -o liblinphone.la -rpath /usr/lib
> >>-version-info 2:0:1 linphonecore.lo exevents.lo misc.lo arts.lo enum.lo
> >>sdphandler.lo presence.lo proxy.lo friend.lo authentication.lo
> >>lpconfig.lo chat.lo ../mediastreamer/libmediastreamer.la
> >>../exosip/libeXosip.la -ldl -inst-prefix-dir /armbuild)
> >>mv: can't stat source liblinphone.so.1.1.0
> >>libtool: install: error: relink `liblinphone.la' with the above command
> >>before installing it
> >>make[2]: *** [install-libLTLIBRARIES] Error 1
> >>make[2]: Leaving directory
> >>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/coreapi'
> >>make[1]: *** [install-am] Error 2
> >>make[1]: Leaving directory
> >>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/coreapi'
> >>make: *** [install-recursive] Error 1
> >>'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> >>''
> >> ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> >>'''' ''''''''''''''''''
> >>
> >>Kushal Dalal
> >>Embedded Engineer
> >>eInfochips Limited.
> >>Email: address@hidden
> >>
> >>Kushal Dalal wrote:
> >>>Hello,
> >>>
> >>>Thanks again. It solved my compilation problem.
> >>>But at time of installation it shows following error.
> >>>
> >>>''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> >>>' '''''''''''''''''''''''''''' Making all in console
> >>>make[2]: Entering directory
> >>>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/console'
> >>>/bin/sh ../libtool --mode=link armv4l-unknown-linux-gcc -Wall -Werror
> >>>-DENABLE_TRACE -D_ORTP_SOURCE  -O2 -fno-exceptions -I../support
> >>>../oRTP/src/libortp.la -L/armbuild/usr/lib -lspeex -lm
> >>>-L/armbuild/usr/lib -losipparser2 -losip2  -o linphonec  linphonec.o
> >>>commands.o ../coreapi/liblinphone.la -ldl
> >>>armv4l-unknown-linux-gcc -Wall -Werror -DENABLE_TRACE -D_ORTP_SOURCE
> >>>-O2 -fno-exceptions -I../support -o .libs/linphonec linphonec.o
> >>>commands.o  ../oRTP/src/.libs/libortp.so -L/armbuild/usr/lib -lspeex
> >>>-lm -losipparser2 -losip2 ../coreapi/.libs/liblinphone.so -ldl
> >>>armv4l-unknown-linux-gcc: ../coreapi/.libs/liblinphone.so: No such
> >>>file or directory
> >>>make[2]: *** [linphonec] Error 1
> >>>make[2]: Leaving directory
> >>>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0/console'
> >>>make[1]: *** [all-recursive] Error 1
> >>>make[1]: Leaving directory
> >>>`/home/kushaldalal/docs/SIP/linphone/new/linphone-1.1.0'
> >>>make: *** [all] Error 2
> >>>''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
> >>>' ''''''''''''''''''''''''''''''''''''''''' please help me to solve it.
> >>>
> >>>Thanks
> >>>-Kushal
> >>>
> >>>Kushal Dalal
> >>>Embedded Engineer
> >>>eInfochips Limited.
> >>>Email: address@hidden
> >>>
> >>>Simon Morlat wrote:
> >>>>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.
> >>>>
> >>>>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.
> >
> >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.
>
> 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.
>
>
> _______________________________________________
> 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]