<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma,Verdana,sans-serif} .MsoNormal{line-height:120%;margin:0}</style></head><body>
Stanislav,<div><br></div><div>I cannot help with this, my skills don't reach that far but I can point you in the right direction.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>I have just looked and the smartos version that will compile is&nbsp;20150108T111855Z, obviously it would be better on the newer.</div><div><br></div><div>Compiling on the above smartos version and then running it on newer is no problem which is what I ended up doing.</div><div><br></div><div>Hope this helps</div><div><br></div><div>Regards</div><div>Darren</div><div><br><blockquote style="padding-left: 5px; margin-left: 5px; border-left: #0000ff 2px solid; margin-right: 0px"><hr><b>From:</b> Stanislav Sinyagin [mailto:ssinyagin@gmail.com]<br><b>To:</b> FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org]<br><b>Sent:</b> Tue, 08 Sep 2015 07:55:37 +0000<br><b>Subject:</b> Re: [Freeswitch-users] Compiling under SmartOS<br><br>See  the update at <a href="https://freeswitch.org/jira/browse/FS-7967" target="_blank">https://freeswitch.org/jira/browse/FS-7967</a><br>
<br>
I fixed the compilation problems, and now there's a runtime issue.<br>
<br>
On Mon, Aug 17, 2015 at 10:40 AM, Stanislav Sinyagin<br>
&lt;<a href="mailto:ssinyagin@gmail.com">ssinyagin@gmail.com</a>&gt; wrote:<br>
&gt; I see there are some people on the list, working with SmartOS.<br>
&gt;<br>
&gt; The current master fails to compile:<br>
&gt; <a href="https://freeswitch.org/jira/browse/FS-7967" target="_blank">https://freeswitch.org/jira/browse/FS-7967</a><br>
&gt;<br>
&gt; Your input will be appreciated.<br>
&gt;<br>
&gt; I just started looking around and getting the feeling what SmartOS is.<br>
&gt; I worked with Solaris quite a lot, but that was almost 10 years ago.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote><style>
</style>
</div></body></html>