[Freeswitch-users] Error trying to use PHP ESL

Brian West brian at freeswitch.org
Mon Aug 10 06:41:50 PDT 2009


If you're removing the newobject lines you're introducing a huge  
memory leak :P  also I'm guessing your swig is older and doesn't have  
php5 support.

/b

On Aug 10, 2009, at 8:39 AM, Nicolas Brenner wrote:

> Hi, I tried the ESL.i modification and when I do make reswig I get:
>
> make -C php reswig
> make[1]: Entering directory `/usr/local/src/freeswitch/libs/esl/php'
> rm -f esl_wrap.* ESL.so php_ESL.* ESL.php
> swig -module ESL -php5 -c++ -DMULTIPLICITY -I../src/include -o  
> esl_wrap.cpp ../ESL.i
> swig error : Unrecognized option -php5
> Use 'swig -help' for available options.
> make[1]: *** [esl_wrap.cpp] Error 1
> make[1]: Leaving directory `/usr/local/src/freeswitch/libs/esl/php'
> make: *** [reswig] Error 2





More information about the FreeSWITCH-users mailing list