[Freeswitch-users] ESL install error

Steve O steveo at nxivm.com
Wed Jun 23 17:44:09 PDT 2010


Hello all,

I'm trying to add phpmod-install into my Freeswitch installation on 2 
different servers (was failing on the first server, so trying another). 
Here's a snippet of the error I'm encountering on both servers:

g++ -I/usr/src/freeswitch/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 -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)’:
.
.
.
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/php'
make: *** [phpmod] Error 2

I searched the list for posts related to the [esl_wrap.o] Error 1, 
followed all the advice that helped others, but am still having the 
problem. A couple things about my situation I'm considering that might 
be unique, and the problem (pretty much guessing at this point), is the 
OS and architectures I'm running. One server's (the 1st server, 
referenced above) running FreeBSD 8.0 on a 32 bit processor, and the 
other server's running Ubuntu 10.04 on a 64 bit processor.

Thoughts? What other information can I provide to help troubleshoot?

Thanks,

Steve







More information about the FreeSWITCH-users mailing list