<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">SSL is an undefined type for whatever reason. &nbsp;It sounds like some sort of issue with your ssl install or conflicting stuff installed to your includes<br><div><div>On Mar 19, 2010, at 7:25 AM, Vitalii Colosov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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 &nbsp;conftest.c &gt;&amp;5</div><div>In file included from conftest.c:127:</div>
<div>/usr/include/openssl/tls1.h:125: error: expected ';', ',' or ')' before '*' token</div><div>/usr/include/openssl/tls1.h:126: error: expected ';', ',' or ')' before '*' 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.&nbsp;</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've built last trunk today and am getting this error during FreeSWITCH loading.</div><div>&nbsp;&nbsp; <font color="#FF0000">**/usr/local/freeswitch/mod/mod_spidermonkey.so: undefined symbol: SSL_connect**&nbsp;</font></div>

<div>Same error for mod_xml_cdr...</div><div><br></div><div>Looks like it was fixed as per the following:&nbsp;<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: &nbsp; &nbsp; check for missing prerequisite headers?</div><div>configure: WARNING: openssl/tls1.h: see the Autoconf documentation</div><div>configure: WARNING: openssl/tls1.h: &nbsp; &nbsp; section "Present But Cannot Be Compiled"</div>

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

<div>configure: WARNING: &nbsp; &nbsp; ## --------------------------------- ##</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>
_______________________________________________<br>FreeSWITCH-dev mailing list<br><a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev<br>http://www.freeswitch.org<br></blockquote></div><br></body></html>