[Freeswitch-users] Error Compiling esl - php

Joe Flemmings joe.jflemmings at gmail.com
Mon Aug 29 01:36:05 MSD 2011


I'm getting the following error compiling esl for php

make phpmod
make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x"
CFLAGS="-I/usr/src/freeswitch-snapshot/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/src/freeswitch-snapshot/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/src/freeswitch-snapshot/libs/esl/php'
g++  -I/usr/src/freeswitch-snapshot/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:2591: error: deprecated conversion from string constant to
char*
make[1]: *** [esl_wrap.o] Error 1
make[1]: Leaving directory `/usr/src/freeswitch-snapshot/libs/esl/php'
make: *** [phpmod] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110828/44532cf8/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list