|
From: | Simon Morlat |
Subject: | Re: [Linphone-users] RE: Building on OpenBSD 3.9 |
Date: | Tue, 6 Jun 2006 17:00:41 +0200 |
User-agent: | KMail/1.9.1 |
Before it 's too late, I would _really_ prefer patches applying to cvs. The audio processing part (mediastreamer) has been rewritten in unstable branch, all patches sent for the stable branch will have to be rewritten ( or will be lost...). One advantage of the new mediastreamer (mediastreamer2) is that the way OSS api is used is much more conventional, so I really expect linphone to work much better with oss drivers. Simon Le Mercredi 31 Mai 2006 17:53, Mare Crisium a écrit : > 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. > > > _______________________________________________ > Linphone-users mailing list > address@hidden > http://lists.nongnu.org/mailman/listinfo/linphone-users |
[Prev in Thread] | Current Thread | [Next in Thread] |