Salvador Gianluca | 1 Aug 12:01 2006

Speex problems solved

Hi to all the list!
I don't know exactly why, but today speex's cross-compilation ended succesfully. I report the pass of my compilation in the hope they could help others
Following the last readme.arm i removed libogg-devel package:
 
rpm -e --nodeps libogg-devel
 
then i cross-compiled libogg-devel sources:
 

./configure --prefix=/usr --host=arm-none-linux-gnueabi (this is my toolchain) --with-gnu-ld --disable-static

make

make install DESTDIR=$ARM_INSTALL_TREE

make install 'pwd'/arm-codesourcery-build


so the libogg libs were in $ARM_INSTALL_TREE/usr/lib and the ogg headers were in $ARM_INSTALL_TREE/usr/include/ogg

after that i cross-compiled speex telling to the compiler where ogg libs and  headers were:

 

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm --with-ogg=/arm-codesourcery-build/usr --with-ogg-include=/arm-codesourcery-build/usr/include --disable-oggtest

make

make install DESTDIR=$ARM_INSTALL_TREE

make install 'pwd'/arm-codesourcery-build

 

Thanks to Edwin Cordeiro, Simon Morlat and Tom Du: my compilation is a mix of their suggestion!

Now i will try to cross-compiling linphone-1.3.5 and be sure that i will post my next troubles...

Best regards,

Gian

_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users
Jeffrey Sheehan | 2 Aug 06:21 2006
Picon

Re: Build questions

Simon,

Thanks for your outstanding product and your help.  We have linphone
working very well with the echo cancellation thanks to your help.

We are using Linphone and Asterisk to make an intercom system, so we
make many calls of short duration to identical hardware/software every
time.

Since our calls are very similar every time is there any way we can
speed up the echo cancellation learning process?

Is there any settings we can change for the echo cancellation?

Thanks again.

Jeff

On Thu, 2006-07-27 at 22:19 +0200, Simon Morlat wrote:
> Le jeudi 27 juillet 2006 02:16, Jeffrey Sheehan a écrit :
> > Hi Linphone Users,
> >
> > I have compiled Linphone 1.3.99.8 but have some real issues with sound
> > quality.  I am getting sounds of very high or low pitch voices, varying
> > depending on which codecs I use, but they are all bad.
> >
> > Any ideas what could cause this problem?
> 
> Perhaps asym/dmix plugin that it used by default by alsa ?
> Try choosing the alsa device that has the name of your soundcard (not default 
> alsa device) from the property box, in the sound tab.
> jack support is discontinued in 1.4. branch thus libjack and libsamplerate are 
> unused by linphone.
> 
> 
> Simon
> >
> > I have compiled:
> > libosip2-2.2.2
> > readline-5.1
> > speex-1.1.12
> > linphone-1.3.99.8
> >
> > Also, when I installed the packaged linphone on a Ubuntu system I also
> > got libsamplerate and libjack...would adding these make performance any
> > better?
> >
> > Jeff
--

-- 
----------------------------------
Jeffrey Sheehan
email: jeffrey.sheehan <at> controlability.com.au
ph:    08 8947 2000
fax:   08 8947 3637
Salvador Gianluca | 2 Aug 17:35 2006

ARM-linphonec doesn't start: not found ?!?!!

Hi to all the list!
I'm working with an ARM-based system (Omniflash) with Cirrus Logic EP9302 processor. The system is shipped with kernel 2.4 and busybox.
On my host machine I cross-compiled helloworld.c to helloworld.arm, put it into Omniflash via tftp, changed permissions and succesfully executed it with ./helloworld.arm command.
So you can conclude with me that the toolchain works as well as tftp transfer and the command execution.
Thus where is the problem? Here are: i have also succesfully cross-compiled linphone and all dependencies following readme.arm and obtain the /armbuild directory tree:
/armbuild -> usr -> bin, include, lib, libexec, man.
In the usr/bin directory there is the linhonec binary that should be launch to execute the application. Because via TFTP you can transfer only files, i compressed all the tree in a tar archive, transfered it, and decompressed it on board-flash.
So i had a twin usr/... tree in /mnt/FlashMemory/. Exactly the same! Also permissions are correct!
But when i launch ./linphonec i get:
 
/mnt/FlashMemory/usr/bin # ./linphonec
-sh: ./linphonec: not found
 
Note that the error is "not found" not something like "wrong file format" or "error while loading shared libraries"
It is very strange and I didn't been able to understand the meaning.
Have you got any idea?
Thanks and best regards,
Gian
_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users
Edwin Cordeiro | 2 Aug 17:50 2006
Picon

Re: [Linphone-developers] ARM-linphonec doesn't start: not found ?!?!!

On 8/2/06, Salvador Gianluca <g.salvador <at> nethix.com> wrote:
Hi to all the list!
I'm working with an ARM-based system (Omniflash) with Cirrus Logic EP9302 processor. The system is shipped with kernel 2.4 and busybox.
On my host machine I cross-compiled helloworld.c to helloworld.arm, put it into Omniflash via tftp, changed permissions and succesfully executed it with ./helloworld.arm command.
So you can conclude with me that the toolchain works as well as tftp transfer and the command execution.
Thus where is the problem? Here are: i have also succesfully cross-compiled linphone and all dependencies following readme.arm and obtain the /armbuild directory tree:
/armbuild -> usr -> bin, include, lib, libexec, man.
In the usr/bin directory there is the linhonec binary that should be launch to execute the application. Because via TFTP you can transfer only files, i compressed all the tree in a tar archive, transfered it, and decompressed it on board-flash.
So i had a twin usr/... tree in /mnt/FlashMemory/. Exactly the same! Also permissions are correct!
But when i launch ./linphonec i get:
 
/mnt/FlashMemory/usr/bin # ./linphonec
-sh: ./linphonec: not found
 
Note that the error is "not found" not something like "wrong file format" or "error while loading shared libraries"
It is very strange and I didn't been able to understand the meaning.
Have you got any idea?
Thanks and best regards,
Gian

_______________________________________________
Linphone-developers mailing list
Linphone-developers <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-developers


Gianluca,
 
go into the folder "/mnt/FlashMemory/usr/bin" and run linphonec, does it work? look at the $PATH of Linux, and see if "/mnt/FlashMemory/usr/bin" is on it? I think it is not,  because it is not a default folder. Include " /mnt/FlashMemory/usr/bin" into $PATH, does linphonec runs? I think you should copy everything to root filesys "/"
 
Edwin
_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users
Salvador Gianluca | 3 Aug 09:23 2006

Re: [Linphone-developers] ARM-linphonec doesn't start: not found ?!?!!

Hi...
I had already done "export PATH=$PATH:/mnt/FlashMemory/usr/bin" but without any changes...
Hitting TAB it complete normally the linphonec word, so it recognize the file! I tryed also to rename it and move to /usr/bin but nothing...
This is a very strange problem... any other suggestion?
Gian
_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users
youyou | 3 Aug 11:58 2006

Cant build oRTP libarry on WindowXP

Hello, 

 I'm facing a problem which I cant build oRTP-0.10.1 library on 
WindowsXP. I did below steps for building oRTP library,
1)Open the "oRTP.vcproj" file which is located at ortp-0.10.1\build\win32nativ
e
2)Build oRTP project from VisualC++ 
3)After that, the VC++ noticed me following errors
c:\ortp-0.10.1\src\rtpsession.c(22) : fatal error C1083: 
can not open a include file 'ortp-config-win32.h': No such file or 
directory rtpparse.c

like that,
As error message informing, ortp-config-win32.h is not there at ortp-0.10.1\
src intially. So where is ortp-config-win32.h or/and how do I get
 ortp-config-win32.h?

If someone knows how to solve this problem,please conduct me to figure
out the problem.

Regards,
KK  
Aymeric Moizard | 3 Aug 12:22 2006

Re: Cant build oRTP libarry on WindowXP


This file should be in src/ directory.

Please try to use the CVS or if you find a new version it
should now be included.

Attached in the current ortp-config-win32.h if the mailing list authorize 
it...

Aymeric

On Thu, 3 Aug 2006, youyou <at> mbk.nifty.com wrote:

> Hello,
>
> I'm facing a problem which I cant build oRTP-0.10.1 library on
> WindowsXP. I did below steps for building oRTP library,
> 1)Open the "oRTP.vcproj" file which is located at ortp-0.10.1\build\win32nativ
> e
> 2)Build oRTP project from VisualC++
> 3)After that, the VC++ noticed me following errors
> c:\ortp-0.10.1\src\rtpsession.c(22) : fatal error C1083:
> can not open a include file 'ortp-config-win32.h': No such file or
> directory rtpparse.c
>
> like that,
> As error message informing, ortp-config-win32.h is not there at ortp-0.10.1\
> src intially. So where is ortp-config-win32.h or/and how do I get
> ortp-config-win32.h?
>
> If someone knows how to solve this problem,please conduct me to figure
> out the problem.
>
> Regards,
> KK
>
>
>
> _______________________________________________
> Linphone-users mailing list
> Linphone-users <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-users
>
>
Attachment (ortp-config-win32.h): text/x-chdr, 1550 bytes
_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users
youyou | 3 Aug 13:21 2006

Re: Re: Cant build oRTP libarry on WindowXP


I could build oRTP library on WindowsXP using files which 
are in CVS. Thank you so mach!

Regards,
KK

----- Original Message -----
>Date: Thu, 3 Aug 2006 12:22:05 +0200 (CEST)
>From: Aymeric Moizard <jack <at> atosc.org>
>To: youyou <at> mbk.nifty.com
>Cc: linphone-users <at> nongnu.org
>Subject: Re: [Linphone-users] Cant build oRTP libarry on WindowXP
>
>
>
>This file should be in src/ directory.
>
>Please try to use the CVS or if you find a new version it
>should now be included.
>
>Attached in the current ortp-config-win32.h if the mailing list authorize 
>it...
>
>Aymeric
>
>On Thu, 3 Aug 2006, youyou <at> mbk.nifty.com wrote:
>
>> Hello,
>>
>> I'm facing a problem which I cant build oRTP-0.10.1 library on
>> WindowsXP. I did below steps for building oRTP library,
>> 1)Open the "oRTP.vcproj" file which is located at ortp-0.10.1\build\win32na
tiv
>> e
>> 2)Build oRTP project from VisualC++
>> 3)After that, the VC++ noticed me following errors
>> c:\ortp-0.10.1\src\rtpsession.c(22) : fatal error C1083:
>> can not open a include file 'ortp-config-win32.h': No such file or
>> directory rtpparse.c
>>
>> like that,
>> As error message informing, ortp-config-win32.h is not there at ortp-0.10.1
\
>> src intially. So where is ortp-config-win32.h or/and how do I get
>> ortp-config-win32.h?
>>
>> If someone knows how to solve this problem,please conduct me to figure
>> out the problem.
>>
>> Regards,
>> KK
>>
>>
>>
>> _______________________________________________
>> Linphone-users mailing list
>> Linphone-users <at> nongnu.org
>> http://lists.nongnu.org/mailman/listinfo/linphone-users
>>
>>
Juergen Hennerich | 5 Aug 11:50 2006
Picon
Picon

Re: [Linphone-developers] ARM-linphonec doesn't start: not found ?!?!!

Salvador Gianluca schrieb:
> Hi...
> I had already done "export PATH=$PATH:/mnt/FlashMemory/usr/bin" but 
> without any changes...
> Hitting TAB it complete normally the linphonec word, so it recognize the 
> file! I tryed also to rename it and move to /usr/bin but nothing...
> This is a very strange problem... any other suggestion?
> Gian
> 
I guess, you're seeing still the same error?
 >/mnt/FlashMemory/usr/bin # ./linphonec
 >-sh: ./linphonec: not found

If yes, it is not trivially to tell, what the real problem is alone from 
the error message. But after your description in the other post, I guess 
that the problem is indeed a library loading problem, because "not 
found" may also indicate a library problem, not only a file problem. 
Also it could indicate a wrong binary format.

Did you use shared libs? Does the shared library loader know where to 
find the libraries? (have you set the LD_LIBRARY_PATH variable?)

Does the file have the right format? (TAB completion shows only that an 
executable file of this name exists). What is the output of "file 
linphonec" on your host machine?
Is "/mnt/FlashMemory/" mounted executable?

Juergen

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Linphone-users mailing list
> Linphone-users <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/linphone-users
Salvador Gianluca | 9 Aug 17:42 2006

mediastreamer not found

Hi to all the list!
I succesfully cross-compiled linphone for arm and ported it on target-board:
when i had obtained the
armbuild --> usr --> bin, include, lib, libexec, share,
tree, i compressed it with tar, transfered on my arm-target via tftp, decompressed and adjust the symbolic link-libraries.
When i launch linphonec i get this output:
 
~ # linphonec
Message:Found /dev/dsp.
Warning:Cannot open directory /armbuild/usr/lib/linphone/plugins/mediastreamer: No such file or directory
Warning:dsp block size set to 16384.
Warning:dsp block size set to 16384.
Ready.
linphonec> Message:REGISTRATION_FAILURE
 
Message:cfg= sip:voip.xxxxxxx.xx, cfg->rid=1, rid=1
Registration on sip:voip.xxxxxxx.xx sucessful.
Message:cfg= sip:voip.xxxxxxx.xx, cfg->rid=1, rid=1
 
linphonec>
 
I can make and receive calls, but i don't hear anything: mediastreamer is no present!
the /armbuild directory is where i build the cross-compiled linphone on my host-pc.
But there isn't any linphone/plugins/mediastreamer directory in /armbuild/usr/lib/ either on my host-pc or arm-target
Also i haven't any libmediastreamer.so.0 in /usr/lib...
The only file that could remind to mediastreamer is a binary file called mediastream in usr/libexec/mediastream 
Is this normal? Perhaps i miss some pass on cross-compilation?
 
I have cross-compiled readline-5.1, ncurses-5.5, linphone-1.3.0, libosip2-2.2.2, libogg-1.1.3, speex-1.1.11.1:

   #export PATH=$PATH:/usr/local/arm/3.3/bin
   #export LD=/usr/local/arm/3.3/bin/arm-linux-ld
   #export LDFLAGS=-L/usr/local/arm/3.3/arm-linux/lib

   #mkdir /arm-install
   #cd /arm-install 

   #cp linphone-1.3.0/ipkg/ipaq-config.site /arm-install/.
   #export CONFIG_SITE=~/ipaq-config.site
   #mkdir /armbuild
   #export ARM_INSTALL_TREE=/armbuild

Cross-compiling ncurses-5.5
   #cd ncurses-5.5
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --with-shared
   #make
   #make install
Cross-compiling readline-5.1
   #cd ../readline-5.1
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --disable-static
   #make
   #make install
 
Cross-compiling libosip2-2.2.2
   #cd libosip2-2.2.2
   #./configure --prefix=/armbuild -host=i686-pc-linux --target=arm-linux --disable-static
   #make
   #make install

Cross -compiling libogg-1.1.3
   #cd ../libogg-1.1.3
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point
   #make
   #make install

Cross -compiling speex-1.1.11.1
   #cd ../speex-1.1.11.1
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point --enable-arm-asm
--with-ogg=/armbuild/usr --with-ogg-libraries=/armbuild/usr/lib --with-ogg-headers=/armbuild/usr/include/ogg 
   #make
   #make install

Copy "libspeex.so.2.0.0" to my arm-tools.
   #cp /armbuild/usr/lib/libspeex.so.2.0.0 /usr/local/arm/3.3/arm-linux/lib
   #cd /usr/local/arm/3.3/arm-linux/lib
   #ln -s libspeex.so.2.0.0 libspeex.so
   #ln -s libspeex.so.2.0.0 libspeex.so.2

Cross compile linphone-1.3.0:
   Before i took the "oRTP" portion in linphone-1.3.0 folder, and done
   the following:
  
   #cd ../linphone-1.3.0
   #cd oRTP
   #./configure --prefix=/armbuild --host=i686-pc-linux --target=arm-linux --disable-static --enable-fixed-point
   #make
   #make install

   #cp /armbuild/usr/lib/libortp.so.2.0.0 /usr/local/arm/3.3/arm-linux/lib

   #cd /usr/local/arm/3.3/arm-linux/lib
   #ln -s libortp.so.2.0.0 libortp.so.2
   #ln -s libortp.so.2.0.0 libortp.so

   then I compiled the "linphone" without GUI support

   #cd /arm/linphone-1.2.0
   #./configure --prefix=/root/armbuild --host=i686-pc-linux --target=arm-linux
--disable-static --disable-glib --enable-gnome_ui=no --disable-manual
--enable-ipv6 --enable-alsa --with-osip=/armbuild/usr
--with-speex=/armbuild/usr --with-readline=/armbuild/usr --with-osipparser=/armbuild/usr
   #make
   #make install
 
all worked fine, so i stripped binaries and libraries, compressed the /armbuild/usr folder and transfered it on my arm-target.
But there isn't any trail of mediastreamer exept in armbuild/usr/libexec directory, where i have found a binary file called mediastream
Could you help me?
Thanks in advance,
Gian
_______________________________________________
Linphone-users mailing list
Linphone-users <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-users

Gmane