Forgive me if I ask the obvious questions...<br>Did you &quot;make&quot; in src/libs/esl before doing &quot;make phpmod&quot; ?<br>Did you install the php-devel stuff? <br><br>-MC<br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 9:27 AM, Kendall Stauffer <span dir="ltr">&lt;<a href="mailto:ken@ksac.com">ken@ksac.com</a>&gt;</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" lang="EN-US">

<div>

<p class="MsoNormal">  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 -&gt; MAC os X.</p>

<p class="MsoNormal">  I have also googled this, and don’t see what I am
doing wrong. Anybody there that can help?</p>

<p class="MsoNormal">        applesrv:/usr/src/freeswitch-1.0.4/libs/esl
root# make phpmod-install</p>

<p class="MsoNormal">make MYLIB=&quot;../libesl.a&quot; SOLINK=&quot;-Xlinker
-x&quot; CFLAGS=&quot;-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&quot;
CXXFLAGS=&quot;-I/usr/src/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE
-g -ggdb -I../libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable&quot;
CXX_CFLAGS=&quot;&quot; -C php </p>

<p class="MsoNormal">g++ -Xlinker -x esl_wrap.o ../libesl.a -L/usr/lib/mysql
-liodbc -lmysqlclient -lldap -llber -lcurl -lm -lcurl -liodbc -o ESL.so -L. </p>

<p class="MsoNormal">/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined
symbols:</p>

<p class="MsoNormal">_main</p>

<p class="MsoNormal">__convert_to_string</p>

<p class="MsoNormal">__efree</p>

<p class="MsoNormal">__emalloc</p>

<p class="MsoNormal">__estrndup</p>

<p class="MsoNormal">__zend_get_parameters_array_ex</p>

<p class="MsoNormal">__zend_list_find</p>

<p class="MsoNormal">__zval_copy_ctor</p>

<p class="MsoNormal">_compiler_globals</p>

<p class="MsoNormal">_convert_to_long</p>

<p class="MsoNormal">_zend_error</p>

<p class="MsoNormal">_zend_get_constant</p>

<p class="MsoNormal">_zend_hash_find</p>

<p class="MsoNormal">_zend_register_list_destructors_ex</p>

<p class="MsoNormal">_zend_register_long_constant</p>

<p class="MsoNormal">_zend_register_resource</p>

<p class="MsoNormal">_zend_rsrc_list_get_rsrc_type</p>

<p class="MsoNormal">_zend_wrong_param_count</p>

<p class="MsoNormal">collect2: ld returned 1 exit status</p>

<p class="MsoNormal">make[1]: *** [ESL.so] Error 1</p>

<p class="MsoNormal">make: *** [phpmod] Error 2</p>

</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>