<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Mike,<br>
<br>
No problem to post a patch, but it would break perl/python/etc... as
actually there are some functions defined in ESL.i, wouldn't it ?<br>
I don't know about swig, never used that.<br>
<br>
Maybe we could have two swig files instead ? one for generating php and
one for the other languages ?<br>
I'm on IRC if you want to discuss it.<br>
<br>
Gled.<br>
<br>
Michael Jerris a écrit :
<blockquote cite="mid:F123F0B3-9CD9-429B-97EE-83BBA6D74E46@jerris.com"
type="cite">
<div>Can you please post a patch to Jira.freswitch.org and assign it
to me.</div>
<div><br>
</div>
<div>Mike<br>
<br>
On Aug 10, 2009, at 5:00 AM, Tristan Mahé <<a moz-do-not-send="true"
href="mailto:t.mahe@telemaque.fr">t.mahe@telemaque.fr</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>Morning guys,<br>
<br>
Yes the latest make swigall broke php code generation.<br>
<br>
Simple workaround:<br>
<br>
edit libs/esl/ESL.i to this content:<br>
<br>
----------------------Cut----------------------<br>
%{<br>
#include "esl.h"<br>
#include "esl_oop.h"<br>
%}<br>
<br>
%include "esl_oop.h"<br>
---------------------Cut-----------------------<br>
<br>
and make reswig<br>
<br>
It should be a swig bug, but I'm not sure.<br>
<br>
Regards,<br>
<br>
Gled<br>
<br>
Andrew Thompson a écrit :
<blockquote cite="mid:20090808025613.GA19871@hijacked.us"
type="cite">
<pre wrap="">On Fri, Aug 07, 2009 at 06:10:25PM -0400, Nicolas Brenner wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap=""><!---->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
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>FreeSWITCH-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br>
<span>UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
</div>
</blockquote>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>