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

Michael Collins msc at freeswitch.org
Thu Nov 18 14:44:00 PST 2010


What OS and php version?
-MC

On Thu, Nov 18, 2010 at 12:27 AM, ovvenkat <ovvenkatesan at gmail.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101118/1312482c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list