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


_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to