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

Mathieu Rene mrene_lists at avgs.ca
Thu Nov 18 14:50:07 PST 2010


Try:
make phpmod CXXFLAGS=-Wno-deprecated

Mathieu Rene
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca




On 2010-11-18, at 3:27 AM, ovvenkat wrote:

> 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.
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list