Can you please post a patch to Jira.freswitch.org and assign it to me.

Mike

On Aug 10, 2009, at 5:00 AM, Tristan Mahé <[email protected]> wrote:

Morning guys,

Yes the latest make swigall broke php code generation.

Simple workaround:

edit libs/esl/ESL.i to this content:

----------------------Cut----------------------
%{
#include "esl.h"
#include "esl_oop.h"
%}

%include "esl_oop.h"
---------------------Cut-----------------------

and make reswig

It should be a swig bug, but I'm not sure.

Regards,

Gled

Andrew Thompson a écrit :

On Fri, Aug 07, 2009 at 06:10:25PM -0400, Nicolas Brenner wrote:

Hi,

I'm trying to get started with the ESL using PHP. I compiled the ESL, then phpmod according to the wiki instructions, but then when I try the examples
in the libs/esl/php dir, they fail saying:

PHP Fatal error:  Cannot redeclare ESLconnection::__construct() in
/usr/local/src/freeswitch/libs/esl/php/ESL.php on line 132

Checking ESL.php on line 132, I see there are several different declarations for the function __construct() with different parameters each, which makes sense, but doens't work. I am using PHP 5.1.6, is there a required minimum
higher than that or something? What could be the problem?


Someone in the IRC channel mentioned this too. I looked at it briefly
and it looks like the latest 'swigall' screwed it up. The original
reporter said he'd file a jira, but you may want to check yourself and if not make one yourself. In the meantime, the previous version of the
file was reported to work if you really need it.

Andrew

_______________________________________________
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



_______________________________________________
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
_______________________________________________
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