User:Archimedes

From Openmoko

Revision as of 13:47, 20 September 2008 by Archimedes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

linphone

I have build linphone and dependencies (libosip2, libexosip2, speex) for the freerunner. Now it could even work, after Michael send me a small notice. See OSS workaround.

Get it

You can get my packages here:
http://freerunner.archimedes.mobi/builds/ (SEEMS TO WORK WITH OSS.)
The current build is om0.

Installorder: libosip2, libexosip2, speex, linphone (you need angstrom (for current libogg0) as an additional repository (the next version will be build against the default libogg0 of OM). Look at Repositories on how to set them up).

Status

  • Rebuild om0 still segfaults, reported upstream. But no response...
  • Rebuild om0 could work with OSS workaround.

What works

  • Installing
  • Don't know, possibly everything using OSS workaround.

What does NOT work

  • Don't know, possibly everything using OSS workaround.

Todo

  • Make linphone use alsa if possible.
  • Clean up the packages (remove man-pages,...)

Notes

I had to recompile speex because linphone did not compile with the angstrom version (speex_1.1.12+1.2beta1-r1_armv4t), but maybe you only have to setup a softlink for it to work (start linphone by shell, like DISPLAY=:0 linphone).

After a segfault do killall mediaserver ;-)
or maybe not... well... you have to find out on your own...

This is my first build for OpenMoko, even my first crosscompilation ever. Have Fun.

OSS Workaround

Michael (don't know his OM username) send me this E-Mail:

Hello,

I looked at your openmoko site and installed the linphone packets.
They segfault as you describe.
You combiled linphone only with OSS-support but without alsa.
No sound card is detected in linphone because the device files
/dev/dsp does not exist. Linphone handles that case not correctly.

With "modprobe snd-pcm-oss" and "modprobe snd-mixer-oss"
linephone does no more segfault.

Hope it helps.

Michael 

I didn't test this, but it sounds ok. Thanks Michael :-)

I believe that though I used --enable-alsa linphone also did --enable-oss on itself, which causes this error. I'll try to make a new build using --disable-oss (or the like) to fix this bug as soon as I find some free time (which might be in about a month, in the end of August. Stupid theory exams... or stupid me... still have to figure it out... well...)

./configure

linphone:

export ARM_INSTALL_TREE=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi
./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static \
--disable-glib --with-osip=$ARM_INSTALL_TREE/usr \
--with-readline=$ARM_INSTALL_TREE/usr \
SPEEX_CFLAGS="-I$ARM_INSTALL_TREE/usr/include" \
SPEEX_LIBS="-L$ARM_INSTALL_TREE/usr/lib -lspeex " \
--enable-ipv6 --disable-video --enable-alsa

speex:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm

libosip2:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static

libexosip2:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static
Personal tools

linphone

I have build linphone and dependencies (libosip2, libexosip2, speex) for the freerunner. Now it could even work, after Michael send me a small notice. See OSS workaround.

Get it

You can get my packages here:
http://freerunner.archimedes.mobi/builds/ (SEEMS TO WORK WITH OSS.)
The current build is om0.

Installorder: libosip2, libexosip2, speex, linphone (you need angstrom (for current libogg0) as an additional repository (the next version will be build against the default libogg0 of OM). Look at Repositories on how to set them up).

Status

  • Rebuild om0 still segfaults, reported upstream. But no response...
  • Rebuild om0 could work with OSS workaround.

What works

  • Installing
  • Don't know, possibly everything using OSS workaround.

What does NOT work

  • Don't know, possibly everything using OSS workaround.

Todo

  • Make linphone use alsa if possible.
  • Clean up the packages (remove man-pages,...)

Notes

I had to recompile speex because linphone did not compile with the angstrom version (speex_1.1.12+1.2beta1-r1_armv4t), but maybe you only have to setup a softlink for it to work (start linphone by shell, like DISPLAY=:0 linphone).

After a segfault do killall mediaserver ;-)
or maybe not... well... you have to find out on your own...

This is my first build for OpenMoko, even my first crosscompilation ever. Have Fun.

OSS Workaround

Michael (don't know his OM username) send me this E-Mail:

Hello,

I looked at your openmoko site and installed the linphone packets.
They segfault as you describe.
You combiled linphone only with OSS-support but without alsa.
No sound card is detected in linphone because the device files
/dev/dsp does not exist. Linphone handles that case not correctly.

With "modprobe snd-pcm-oss" and "modprobe snd-mixer-oss"
linephone does no more segfault.

Hope it helps.

Michael 

I didn't test this, but it sounds ok. Thanks Michael :-)

I believe that though I used --enable-alsa linphone also did --enable-oss on itself, which causes this error. I'll try to make a new build using --disable-oss (or the like) to fix this bug as soon as I find some free time (which might be in about a month, in the end of August. Stupid theory exams... or stupid me... still have to figure it out... well...)

./configure

linphone:

export ARM_INSTALL_TREE=/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi
./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static \
--disable-glib --with-osip=$ARM_INSTALL_TREE/usr \
--with-readline=$ARM_INSTALL_TREE/usr \
SPEEX_CFLAGS="-I$ARM_INSTALL_TREE/usr/include" \
SPEEX_LIBS="-L$ARM_INSTALL_TREE/usr/lib -lspeex " \
--enable-ipv6 --disable-video --enable-alsa

speex:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm

libosip2:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static

libexosip2:

./configure --prefix=/usr --host=arm-linux --with-gnu-ld --disable-static