[Freeswitch-users] Compiling under SmartOS

Support support at directvoip.co.uk
Tue Sep 8 17:42:42 MSD 2015


I cannot help with this, my skills don't reach that far but I can point you in the right direction.

I had the same problem and it seems to be related to something called timerfd. Using the ppriv command you can see freeswitch is wanting access to the high res clock, something not available to smartos zones with the default privileges.

I did manage to mess with the smartos privileges and get it to run at one time but it was only when running as root.

If you actually used an older version of smartos, I think the one I used is dated around january this year, then it will compile fine and use some sort of other timing method.

This timerfd thing, thing relates to freeswitch finding a file called timerfd.h that didn't appear in smartos zones until about march this year, something to do with lx brand I think.

I have just looked and the smartos version that will compile is 20150108T111855Z, obviously it would be better on the newer.

Compiling on the above smartos version and then running it on newer is no problem which is what I ended up doing.

Hope this helps



From: Stanislav Sinyagin [mailto:ssinyagin at gmail.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Tue, 08 Sep 2015 07:55:37 +0000
Subject: Re: [Freeswitch-users] Compiling under SmartOS

See  the update at https://freeswitch.org/jira/browse/FS-7967
  I fixed the compilation problems, and now there's a runtime issue.
  On Mon, Aug 17, 2015 at 10:40 AM, Stanislav Sinyagin
  <ssinyagin at gmail.com> wrote:
  > I see there are some people on the list, working with SmartOS.
  > The current master fails to compile:
  > https://freeswitch.org/jira/browse/FS-7967
  > Your input will be appreciated.
  > I just started looking around and getting the feeling what SmartOS is.
  > I worked with Solaris quite a lot, but that was almost 10 years ago.
  Professional FreeSWITCH Consulting Services: 
  consulting at freeswitch.org
  Official FreeSWITCH Sites
  FreeSWITCH-users mailing list
  FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150908/42ad2751/attachment.html 

Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list