linphone-users
[Top][All Lists]
Advanced

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

[Linphone-users] RE: Building on OpenBSD 3.9


From: Mare Crisium
Subject: [Linphone-users] RE: Building on OpenBSD 3.9
Date: Wed, 31 May 2006 16:53:46 +0100

On 5/30/06, Michael Grigoni <address@hidden> wrote:
Recently 'Mare Crisium' reported building linphone on OpenBSD
but did not mention any details (OpenBSD version and release,
OSS sound driver source, etc.);

3.9-current on i386 and amd64. (amd64 does not work yet).

I _must_ get linphone to build and work on OpenBSD 3.9
and would appreciate all assistance.

You can build against the ossaudio(3) library but it really requires
native audio(4) support to work properly. That aside, (working from
memory and some incomplete notes) you need to do at least the
following (OpenBSD i386-current, linphone 1.3.5):

Disable linking against librt (-lrt) in mediastreamer2.
Adjust for the correct location of <soundcard.h> where needed.
Add <sys/types.h> to coreapi/enum.c
Provide a replacement or remove the dependency on <alloca.h> in
mediastreamer2/oss.c (I did the former).
Install a newer speex lib than provided by OpenBSD ports/packages.
Link against libossaudio (-lossaudio) where appropriate.
Make a link from /dev/audio to /dev/dsp
Tweak the configure/autoconf framework where needed.

Other than the newer speex lib, everything you need is provided
in the base system or is available in ports/packages.

The first issue is 'configure';

Quick fix:
env CFLAGS="-I/usr/local/include -L/usr/local/lib" ./configure

The second issue is sound support; the OSS package from
http://www.opensound.com/oss.html

Yuck. No thanks, that's not an option for me (or I suspect most other
OpenBSD users/developers).

Adding native OpenBSD sound support to linphone would be ideal;
there is _no_ SIP UA for OpenBSD (except running asterisk as a
console audio application which is a poor choice for a UA).

I'm working on native audio(4) support, everything else works fine.
I have registered with several servers/proxies (asterisk, siproxd and
two external (commercial) SIP service providers) with the linphone gui.
I can make and receive calls fine, but the audio is not useable, as the
oss emulation library isn't up to the job.

I only have a few scribbled notes with me and won't be able to look at
this again for a couple of weeks. When I'm home again I'll start sending
patches to Simon or the list for review (whichever is more appropriate).
In the mean time, this should get you a bit further, at least.




reply via email to

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