Did the simple &quot;make&quot; in the libs/esl directory run properly? Just curious. I&#39;ll have to defer to the Ubuntu gurus out there for thoughts on what else could be wrong.<br>-MC<br><br><div class="gmail_quote">On Mon, Aug 31, 2009 at 10:43 PM, Harondel J. Sibble <span dir="ltr">&lt;<a href="mailto:help@pdscc.com">help@pdscc.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;">Haven&#39;t had any responses, anyone have any ideas on the problem with<br>
compiling the ESL modules as below?<br>
<br>
On 23 Aug 2009 at 11:51, Harondel J. Sibble wrote:<br>
<br>
&gt; Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server,<br>
&gt; then went to install FreePBX v3, I&#39;ve gotten all the prerequisities in the<br>
&gt; wizard fixed except for ESL<br>
&gt;<br>
&gt; As per<br>
&gt;<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Event_Socket_Library" target="_blank">http://wiki.freeswitch.org/wiki/Event_Socket_Library</a><br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Event_Socket" target="_blank">http://wiki.freeswitch.org/wiki/Event_Socket</a><br>
&gt;<br>
&gt; I go into my FS source dir<br>
&gt;<br>
&gt; /home/sibbleh/freeswitch-1.0.4/libs/esl<br>
&gt;<br>
&gt; Run make and then &quot;sudo make phpmod-install&quot;<br>
&gt;<br>
&gt; and I get<br>
&gt;<br>
&gt;<br>
&gt; $ sudo make phpmod-install<br>
&gt; make MYLIB=&quot;../libesl.a&quot; SOLINK=&quot;-shared -Xlinker -x&quot; CFLAGS=&quot;-<br>
&gt; I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g<br>
&gt; -ggdb<br>
&gt; -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-<br>
&gt; variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes&quot;<br>
&gt; CXXFLAGS=&quot;-<br>
&gt; I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g<br>
&gt; -ggdb<br>
&gt; -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable&quot;<br>
&gt; CXX_CFLAGS=&quot;&quot; -C php<br>
&gt; make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php&#39;<br>
&gt; g++  -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE<br>
&gt; -g<br>
&gt; -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable -<br>
&gt; I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -<br>
&gt; I/usr/include/php5/Zend -I/usr/include/php5/ext -<br>
&gt; I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64<br>
&gt; -<br>
&gt; Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o<br>
&gt; cc1plus: warnings being treated as errors<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_event_set(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1047: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_event_get(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1073: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_serialized_string_set(int,<br>
&gt; zval*, zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1111: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_serialized_string_get(int,<br>
&gt; zval*, zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1141: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_mine_set(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1172: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_mine_get(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1198: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLevent__SWIG_0(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1234: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLevent__SWIG_1(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1269: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLevent__SWIG_2(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1294: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLevent(int, zval*, zval**,<br>
&gt; zval*,<br>
&gt; int)&#39;:<br>
&gt; esl_wrap.cpp:1346: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_serialize(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1403: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_setPriority(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1441: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_getHeader(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1478: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_getBody(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1508: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_getType(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1538: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_addBody(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1571: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_addHeader(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1611: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_delHeader(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1644: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_firstHeader(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1674: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLevent_nextHeader(int, zval*,<br>
&gt; zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1704: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLconnection__SWIG_0(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1744: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLconnection__SWIG_1(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1770: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_new_ESLconnection(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1803: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_socketDescriptor(int,<br>
&gt; zval*, zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1846: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_connected(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1872: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_getInfo(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1898: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_send(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1931: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_sendRecv(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:1964: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_api(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2007: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_bgapi(int, zval*,<br>
&gt; zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2050: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_sendEvent(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2082: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_recvEvent(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2108: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_recvEventTimed(int,<br>
&gt; zval*, zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2141: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_filter(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2181: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_events(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2221: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_execute(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2272: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_executeAsync(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2323: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_setAsyncExecute(int,<br>
&gt; zval*, zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2356: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_setEventLock(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2389: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_ESLconnection_disconnect(int, zval*,<br>
&gt; zval**, zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2415: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; esl_wrap.cpp: In function &#39;void _wrap_eslSetLogLevel(int, zval*, zval**,<br>
&gt; zval*, int)&#39;:<br>
&gt; esl_wrap.cpp:2438: error: format not a string literal and no format<br>
&gt; arguments<br>
&gt; make[1]: *** [esl_wrap.o] Error 1<br>
&gt; make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php&#39;<br>
&gt; make: *** [phpmod] Error 2<br>
&gt;<br>
&gt; Same thing happens if I try sudo make everymod<br>
&gt;<br>
&gt; Checking the list archives I found this thread<br>
&gt;<br>
&gt; <a href="http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338" target="_blank">http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338</a><br>
&gt;<br>
&gt; I&#39;ve made sure that the php-dev packages are installed. Any suggestions on<br>
&gt; what to do next?<br>
&gt; --<br>
<br>
--<br>
Harondel J. Sibble<br>
Sibble Computer Consulting<br>
Creating Solutions for the small and medium business computer user.<br>
<a href="mailto:help@pdscc.com">help@pdscc.com</a> (use pgp keyid 0x3AD5C11D) <a href="http://www.pdscc.com" target="_blank">http://www.pdscc.com</a><br>
(604) 739-3709 (voice)<br>
<br>
<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></div><br>