[Freeswitch-users] Not able to compile ESL php module

ovvenkat ovvenkatesan at gmail.com
Thu Nov 18 00:27:08 PST 2010


Hi ,

I have all the php requisites tools .
When I am trying to compile ESL
with php module I am getting error

make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
CFLAGS="-I/usr/local/src/freeswitch/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/usr/local/src/freeswitch/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 `/usr/local/src/freeswitch/libs/esl/php'
g++  -I/usr/local/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g
-ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable
-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM
-I/usr/include/php/Zend -I/usr/include/php/ext
-I/usr/include/php/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:2583: error: deprecated conversion from string constant to
‘char*’
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/local/src/freeswitch/libs/esl/php'
make: *** [phpmod] Error 2

I am using FC - 13  and
Latest Git version of FreeSwitch.

Any one plz tell me, why I am getting this error.


-- 

If you have come to help me, you are wasting your time.
If you have come to because your liberation is bound up in mine, we can work
together.


Regards
Venkatesan OV.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101118/75d988ec/attachment.html 


More information about the FreeSWITCH-users mailing list