[Freeswitch-users] Compiling under SmartOS

Stanislav Sinyagin ssinyagin at gmail.com
Tue Sep 8 19:38:09 MSD 2015


no, my bad, it's still failing on the timer.  I'll spend some time on
it. Feel free to contact me directly on skype or google hangouts or
telegram

On Tue, Sep 8, 2015 at 5:27 PM, Stanislav Sinyagin <ssinyagin at gmail.com> wrote:
> actually the answer about the timer was given in that same chat where
> you took part:
> http://echelog.com/logs/browse/smartos/1438293600
>
> I added the following line to the VM manifest json, and then did "vmadm update":
>
>   "limit_priv": "default,-proc_clock_highres"
>
> Now it doesn't complain about the timer. But the master branch still
> coredumps for some other reason :)
>
>
>
>
> On Tue, Sep 8, 2015 at 3:42 PM, Support <support at directvoip.co.uk> wrote:
>> Stanislav,
>>
>> 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
>>
>> Regards
>> Darren
>>
>> ________________________________
>> 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
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org



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