Found the following in config.log<div><br></div><div><div>configure:20286: checking openssl/tls1.h usability</div><div>configure:20286: gcc -c -g -O2  conftest.c &gt;&amp;5</div><div>In file included from conftest.c:127:</div>
<div>/usr/include/openssl/tls1.h:125: error: expected &#39;;&#39;, &#39;,&#39; or &#39;)&#39; before &#39;*&#39; token</div><div>/usr/include/openssl/tls1.h:126: error: expected &#39;;&#39;, &#39;,&#39; or &#39;)&#39; before &#39;*&#39; token</div>
<div>configure:20286: $? = 1</div><div>configure: failed program was:</div><div>| /* confdefs.h */</div><div><br></div><div><br></div><div>My tls1.h in /usr/include had the following lines 125,126:</div><div><div><font class="Apple-style-span" color="#FF0000">const char *SSL_get_servername(const SSL *s, const int type) ;</font></div>
<div><font class="Apple-style-span" color="#FF0000">int SSL_get_servername_type(const SSL *s) ;</font></div></div><div>Strange, these particular lines do not look wrong for me.</div><div><br></div><div>I found same file in OpenSSL source and put instead of my file.</div>
<div>It gives me the same compilation problem.</div><div><br></div><div>Will compile FS without SSL. </div><div><br></div><div>Any idea why this happens?</div></div><div><br></div><div><br></div><div>Thank you,</div><div>
vIT</div><div><br><div class="gmail_quote">2010/3/19 Vitalii Colosov <span dir="ltr">&lt;<a href="mailto:vetali100@gmail.com">vetali100@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div><br><div>I&#39;ve built last trunk today and am getting this error during FreeSWITCH loading.</div><div>   <font color="#FF0000">**/usr/local/freeswitch/mod/mod_spidermonkey.so: undefined symbol: SSL_connect** </font></div>

<div>Same error for mod_xml_cdr...</div><div><br></div><div>Looks like it was fixed as per the following: <a href="http://jira.freeswitch.org/browse/FSBUILD-250" target="_blank">http://jira.freeswitch.org/browse/FSBUILD-250</a></div>
<div>
<br></div><div>But error exists for me and I am not sure how to resolve it.</div><div><br></div><div><u>I tried to rebuild again and noticed the following warning (never seen this before...):</u></div><div><div><br></div>

<div><div>checking for curl... no</div><div>checking for tgetent in -lncurses... yes</div><div>checking openssl/tls1.h usability... no</div><div>checking openssl/tls1.h presence... yes</div><div>configure: WARNING: openssl/tls1.h: present but cannot be compiled</div>

<div>configure: WARNING: openssl/tls1.h:     check for missing prerequisite headers?</div><div>configure: WARNING: openssl/tls1.h: see the Autoconf documentation</div><div>configure: WARNING: openssl/tls1.h:     section &quot;Present But Cannot Be Compiled&quot;</div>

<div>configure: WARNING: openssl/tls1.h: proceeding with the compiler&#39;s result</div><div>configure: WARNING:     ## --------------------------------- ##</div><div>configure: WARNING:     ## Report this to BUG-REPORT-ADDRESS ##</div>

<div>configure: WARNING:     ## --------------------------------- ##</div><div>checking for openssl/tls1.h... no</div><div><font color="#FF0000">configure: WARNING: OpenSSL include files were not found</font></div>
<div><br></div></div><div><br></div><div><b><u>Can this be the reason of error and (newbie question) how can I find OpenSSL include files?</u></b></div><div><br></div><div><br></div><div>Thank you,</div><div>vIT</div></div>

</div>
</blockquote></div><br></div>