also,<br>don't use 1.0.4, please us the latest SVN or last svn snapshot at the very least.<br><br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 12:34 PM, Kendall Stauffer <span dir="ltr"><<a href="mailto:ken@ksac.com">ken@ksac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" style="word-wrap: break-word;" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Any direction on where to start would be appreciated. I am
trying to get freepbx working with this, and everything works (I think) except
esl</span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Brian
West<br>
<b>Sent:</b> Monday, December 07, 2009 1:10 PM<div class="im"><br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] esl for Mac OS X 10.4</div></span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The build system for libesl and everything below that won't
work 100% on the mac just yet. You have to make some changes to how its
linked and you'll have to compile php yourself to get everything in there
properly. The perl one however is much easier to fix.</p><div><div></div><div class="h5">
<div>
<p class="MsoNormal"> </p>
</div>
<div><pre style="word-wrap: break-word; white-space: pre-wrap;">-SOLINK=-shared -Xlinker -x</pre><pre>+SOLINK=-dynamiclib -Xlinker -x</pre>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thats all you usually fix for the mac.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">/b</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal">On Dec 7, 2009, at 11:27 AM, Kendall Stauffer wrote:</p>
</div>
<p class="MsoNormal"><br>
<br>
</p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">
I have downloaded and compiled freeswitch, and it runs fine, can compile
everything without error including spandsp, but can’t get esl to compile.
My version is earlier than the snow leopard that is mentioned in the general
install docs, and I have tried it with and without the compiler flags in
the freewswtch installation -> MAC os X.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">
I have also googled this, and don’t see what I am doing wrong. Anybody there
that can help?</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">
applesrv:/usr/src/freeswitch-1.0.4/libs/esl root# make phpmod-install</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">make
MYLIB="../libesl.a" SOLINK="-Xlinker -x"
CFLAGS="-I/usr/src/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE
-g -ggdb -I../libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror
-Wunused-variable -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes"
CXXFLAGS="-I/usr/src/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE
-g -ggdb -I../libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable"
CXX_CFLAGS="" -C php</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">g++
-Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib/mysql -liodbc -lmysqlclient
-lldap -llber -lcurl -lm -lcurl -liodbc -o ESL.so -L.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld:
Undefined symbols:</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_main</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__convert_to_string</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__efree</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__emalloc</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__estrndup</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__zend_get_parameters_array_ex</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__zend_list_find</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">__zval_copy_ctor</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_compiler_globals</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_convert_to_long</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_error</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_get_constant</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_hash_find</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_register_list_destructors_ex</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_register_long_constant</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_register_resource</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_rsrc_list_get_rsrc_type</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">_zend_wrong_param_count</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">collect2:
ld returned 1 exit status</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">make[1]:
*** [ESL.so] Error 1</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size: 11pt;">make:
*** [phpmod] Error 2</span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size: 13.5pt;">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></span></p>
</div>
</div>
<p class="MsoNormal"> </p>
</div>
</div></div></div>
</div>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>