problem compiling esl for use with freepbx v3
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in the wizard fixed except for ESL As per http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket I go into my FS source dir /home/sibbleh/freeswitch-1.0.4/libs/esl Run make and then "sudo make phpmod-install" and I get $ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2 Same thing happens if I try sudo make everymod Checking the list archives I found this thread http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338 I've made sure that the php-dev packages are installed. Any suggestions on what to do next? -- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
Haven't had any responses, anyone have any ideas on the problem with compiling the ESL modules as below? On 23 Aug 2009 at 11:51, Harondel J. Sibble wrote:
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in the wizard fixed except for ESL
As per
http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket
I go into my FS source dir
/home/sibbleh/freeswitch-1.0.4/libs/esl
Run make and then "sudo make phpmod-install"
and I get
$ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
Same thing happens if I try sudo make everymod
Checking the list archives I found this thread
http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338
I've made sure that the php-dev packages are installed. Any suggestions on what to do next? --
-- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
Did the simple "make" in the libs/esl directory run properly? Just curious. I'll have to defer to the Ubuntu gurus out there for thoughts on what else could be wrong. -MC On Mon, Aug 31, 2009 at 10:43 PM, Harondel J. Sibble <help@pdscc.com> wrote:
Haven't had any responses, anyone have any ideas on the problem with compiling the ESL modules as below?
On 23 Aug 2009 at 11:51, Harondel J. Sibble wrote:
I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
Same thing happens if I try sudo make everymod
Checking the list archives I found this thread
http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338
I've made sure that the php-dev packages are installed. Any suggestions on what to do next? --
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in the wizard fixed except for ESL
As per
http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket
I go into my FS source dir
/home/sibbleh/freeswitch-1.0.4/libs/esl
Run make and then "sudo make phpmod-install"
and I get
$ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable
-- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I gave up on compiling esl, I got a bunch of errors, there were several people on the list with problems and apparently no straight solution, especially for php-esl. I am now using a ruby library, posted here by Diego Viola I believe. On Tue, Sep 1, 2009 at 2:33 AM, Michael Collins <msc@freeswitch.org> wrote:
Did the simple "make" in the libs/esl directory run properly? Just curious. I'll have to defer to the Ubuntu gurus out there for thoughts on what else could be wrong. -MC
On Mon, Aug 31, 2009 at 10:43 PM, Harondel J. Sibble <help@pdscc.com>wrote:
Haven't had any responses, anyone have any ideas on the problem with compiling the ESL modules as below?
On 23 Aug 2009 at 11:51, Harondel J. Sibble wrote:
I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
Same thing happens if I try sudo make everymod
Checking the list archives I found this thread
http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338
I've made sure that the php-dev packages are installed. Any suggestions on what to do next? --
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in the wizard fixed except for ESL
As per
http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket
I go into my FS source dir
/home/sibbleh/freeswitch-1.0.4/libs/esl
Run make and then "sudo make phpmod-install"
and I get
$ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable
-- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Michael Yes, from memory the intial make completes successfully, when you go to make the modules themselves is when it starts barfing. On 31 Aug 2009 at 23:33, Michael Collins wrote:
Did the simple "make" in the libs/esl directory run properly? Just curious. I'll have to defer to the Ubuntu gurus out there for thoughts on what else could be wrong.
-- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
All of the language modules in ESL require the runtime and the devel packages for that language for the compile to work. On Tue, Sep 1, 2009 at 5:33 PM, Harondel J. Sibble <help@pdscc.com> wrote:
Michael
Yes, from memory the intial make completes successfully, when you go to make the modules themselves is when it starts barfing.
On 31 Aug 2009 at 23:33, Michael Collins wrote:
Did the simple "make" in the libs/esl directory run properly? Just curious. I'll have to defer to the Ubuntu gurus out there for thoughts on what else could be wrong.
-- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Did anyone find a solution to this problem? I too would like to install the esl module for PHP. Herman Harondel J. Sibble wrote:
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in the wizard fixed except for ESL
As per
http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket
I go into my FS source dir
/home/sibbleh/freeswitch-1.0.4/libs/esl
Run make and then "sudo make phpmod-install"
and I get
$ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable - I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
Same thing happens if I try sudo make everymod
Checking the list archives I found this thread
http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338
I've made sure that the php-dev packages are installed. Any suggestions on what to do next? -- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://www.nabble.com/problem-compiling-esl-for-use-with-freepbx-v3-tp251063... Sent from the Freeswitch-users mailing list archive at Nabble.com.
Although probably not the best solution, I figured out a way to make it compile and install: I removed all of the -Werror instances in PATH_TO_FREESWITCH_SOURCE/libs/esl/Makefile If I was a hardcore c/c++ programmer, I'd figure out the real problem. Herman aka frek818 On Sun, Oct 11, 2009 at 12:12 PM, frek818 <herman.griffin@gmail.com> wrote:
Did anyone find a solution to this problem? I too would like to install the esl module for PHP.
Herman
Harondel J. Sibble wrote:
Okay, just finished installing 1.0.4 from tarball on Ubuntu 9.0.4 server, then went to install FreePBX v3, I've gotten all the prerequisities in
wizard fixed except for ESL
As per
http://wiki.freeswitch.org/wiki/Event_Socket_Library http://wiki.freeswitch.org/wiki/Event_Socket
I go into my FS source dir
/home/sibbleh/freeswitch-1.0.4/libs/esl
Run make and then "sudo make phpmod-install"
and I get
$ sudo make phpmod-install make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused- variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="- I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php make[1]: Entering directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' g++ -I/home/sibbleh/freeswitch-1.0.4/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable
the -
I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM - I/usr/include/php5/Zend -I/usr/include/php5/ext - I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o cc1plus: warnings being treated as errors esl_wrap.cpp: In function 'void _wrap_ESLevent_event_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1047: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_event_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1073: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1111: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialized_string_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_set(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1172: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_mine_get(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1198: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1234: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1269: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent__SWIG_2(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1294: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLevent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1346: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_serialize(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1403: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_setPriority(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1441: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1478: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1508: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_getType(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1538: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addBody(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1571: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_addHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1611: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_delHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1644: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_firstHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1674: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLevent_nextHeader(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1704: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_0(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1744: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection__SWIG_1(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1770: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_new_ESLconnection(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1803: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_socketDescriptor(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1846: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_connected(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1872: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_getInfo(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1898: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_send(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1931: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendRecv(int, zval*, zval**, zval*, int)': esl_wrap.cpp:1964: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_api(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2007: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_bgapi(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2050: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_sendEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2082: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEvent(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2108: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_recvEventTimed(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2141: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_filter(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2181: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_events(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2221: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_execute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2272: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_executeAsync(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2323: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setAsyncExecute(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2356: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_setEventLock(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2389: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_ESLconnection_disconnect(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2415: error: format not a string literal and no format arguments esl_wrap.cpp: In function 'void _wrap_eslSetLogLevel(int, zval*, zval**, zval*, int)': esl_wrap.cpp:2438: error: format not a string literal and no format arguments make[1]: *** [esl_wrap.o] Error 1 make[1]: Leaving directory `/home/sibbleh/freeswitch-1.0.4/libs/esl/php' make: *** [phpmod] Error 2
Same thing happens if I try sudo make everymod
Checking the list archives I found this thread
http://www.nabble.com/ESL-Wrapper-td22209991.html#a22222338
I've made sure that the php-dev packages are installed. Any suggestions on what to do next? -- Harondel J. Sibble Sibble Computer Consulting Creating Solutions for the small and medium business computer user. help@pdscc.com (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice)
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://www.nabble.com/problem-compiling-esl-for-use-with-freepbx-v3-tp251063... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I am still working on the new build system for esl, stay tuned for more info soon, it should be in 1.0.5. Mike On Oct 11, 2009, at 5:36 PM, Herman Griffin wrote:
Although probably not the best solution, I figured out a way to make it compile and install:
I removed all of the -Werror instances in PATH_TO_FREESWITCH_SOURCE/ libs/esl/Makefile
If I was a hardcore c/c++ programmer, I'd figure out the real problem.
Herman aka frek818
On Sun, Oct 11, 2009 at 12:12 PM, frek818 <herman.griffin@gmail.com> wrote:
Did anyone find a solution to this problem? I too would like to install the esl module for PHP.
participants (7)
-
Anthony Minessale
-
frek818
-
Harondel J. Sibble
-
Herman Griffin
-
Michael Collins
-
Michael Jerris
-
Nicolas Brenner