Hi,
I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
distribution. For my BA thesis I'm trying to crosscompile linphone
( or any SIP VoIP application) but I get stuck on some libraries
dependencies.
Does someone have been able do to that? Or does someone want to help
me to keep it going? Any tip about which toolchain is most suitable?
I tried the Ekiga package also with opkg (anyway that would be
cheating, I should actually compile the app), but it doesn't work
properly and I'm not able to make any call.
Hi,
I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
distribution. For my BA thesis I'm trying to crosscompile linphone
( or any SIP VoIP application) but I get stuck on some libraries
dependencies.
Does someone have been able do to that? Or does someone want to help
me to keep it going? Any tip about which toolchain is most suitable?
I tried the Ekiga package also with opkg (anyway that would be
cheating, I should actually compile the app), but it doesn't work
properly and I'm not able to make any call.
There are recipes for linphone on OE, you could try "bitbake
linphone". I have not checked to see if it works though.
> Hi,
> I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
> distribution. For my BA thesis I'm trying to crosscompile linphone
> ( or any SIP VoIP application) but I get stuck on some libraries
> dependencies.
> Does someone have been able do to that? Or does someone want to help
> me to keep it going? Any tip about which toolchain is most suitable?
> I tried the Ekiga package also with opkg (anyway that would be
> cheating, I should actually compile the app), but it doesn't work
> properly and I'm not able to make any call.
There are recipes for linphone on OE, you could try "bitbake
linphone". I have not checked to see if it works though.
I did a quick test and it fails in compile.
No idea why, too much working on something else atm.
Here's an excerpt that happens to be the solution:
"Support for SDP negotiation (in osip_negotiation.h) was removed in
libosip2 version 2.2.3 according to libosip2 changelog, which means
this
version of linphone needs libosip2 version 2.2.2 (or earlier)."
The recipe for osip2 lib has 2 versions and obviously OE uses the last
one, the 3.1. I renamed the 3.1 forcing OE to use 2.2.2.
And it baked succesfully.
Now I have only to undestand where it has been deployed/packed/tarred,
but it's a matter of reading the OE documentation.
Today is the very first day I'm using OE, so I'm getting used to it.
Thanks a lot guys for the tips.
PS: Since my main target is to get linphone working I hope that moving
it onto a USB stick would be enough for now, but with a little bit
more time, I'd like to write the recipe for linphone 3.1.
This is due to the fact that linphone 1.6 uses libeXosip
Excuse me if I'm begging you again, but I didn't figure it out how I
can use my compiled recipe.
I found under /tmp/work/armv7a-angstrom-linux-gnueabi/linphone-1.6.0-
r3/image/ the output directory of my recipe and under /tmp/deploy/
glibc/ipk the package ipk file.
How can I use them together to install it through opkg over my
angstrom distribution? Or should I tar and then untar the image dir
content over the angstrom filesystem?
Excuse me if I'm begging you again, but I didn't figure it out how I
can use my compiled recipe.
I found under /tmp/work/armv7a-angstrom-linux-gnueabi/linphone-1.6.0-
r3/image/ the output directory of my recipe and under /tmp/deploy/
glibc/ipk the package ipk file.
How can I use them together to install it through opkg over my
angstrom distribution? Or should I tar and then untar the image dir
content over the angstrom filesystem?
You do not need the image.
Copy the ipk file to your beagle then do
opkg install linhonewhatever.ipk
Hello Frans, after "bitbake linphone". Where is supposed the ipk file
to be?
The only "linphone*ipk" files are located to the "/oe/tmp/deploy/glibc/
ipk/armv7a" directory.
It doesn't have to be under "/oe/tmp/deploy/glibc/ipk/beagleboard"
directory?
Anyway I've try "opkg install linphonec_1.6.0-r3.1_armv7a.ipk" and it
returns lot of unsatisfy dependencies (libport5, libspeex...).
I've to opkg this libraries manually?
Thanks,
Sergio.
The armv7a dir is ok.
opkg install of an *ipk file requires manual installation of all libs.
What I typically do is install the version that is in the feed (if
any) then install the updated package.
I've follow your steps and now linphonec is running (also as De Vidi
Daniel post say I use libosip 2.2.2)
The only problem is that I don't get audio output from the BB.
It works from your side?
When I answer a call in BB It shows "ALSA lib
pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only
playback stream"
Is the audio input from beagle using linphone working.
we are facing problem where, the playback from BB is working (ie) we are able to hear other party’s voice, but the capture is not working in BB, (ie) whatever we speak, the other party is unable to hear.
But, using aplay and arecord, the playback and capturing works in hadware.
I've delete /etc/asound.conf. Now I can I can listen my voice back from
the Asterisk echo test. But still I can heard the other party voice.
Maybe there are a problem with the voice codecs. I will do some test.
Now I listen my voice back from the Asterisk echo test. But still I
CAN'T heard the other party voice (sipura spa3000). Maybe there are a
problem with the voice codecs. I will do some test.
Thank you all.
Sergio.
Hi Anne, by my side I've:
1) rename oe/openembedded/recipes/libosip2/libosip2_3.1.0.bb to
libosip2_3.1.0.bb.old because there are some unresolved symbols when
using 3.1.0 library.
2) bitbake linphone
3) the resulting files are at /oe/tmp/deploy/glibc/ipk/beagleboard. Copy
linphonec_1.6.0-r3.1_armv7a.ipk to the Beagle
4) run "opkg install linphonec_1.6.0-r3.1_armv7a.ipk". Sorry before you
have to install all the libraries needed to opkg libphone, manually.
HarishKumar.V replied to a mail I wrote him today from my GMail
account.
I wrote him that exactly today (completely independently to this post,
what an incredible coincidence!!!) we have been able to make Linphone
work!
The solution for us? We removed both /etc/asound.conf and /etc/
asound.state
I'm not sure about the exact combination we used.
It should be (almost sure):
Machine: BeagleBoard
Base system: regular
Environment (under /dev manager) : X11
Development packages: Nothing
Additional console packages: All kernel modules; Alsa utils; MPlayer
What is it special in this image? We did not understand it.
Let me specify that we do not use the GUI provided with the Linphone
but mediastreamer only (that is an example program provided with
Linphone).
We use BB Rev C2.