Done!
Check out patch at http://jira.freeswitch.org/browse/FSBUILD-185
Testa
can someone post a patch to that makefile to jira.freeswitch.org please.MikeOn Aug 17, 2009, at 4:04 PM, Fernando Testa wrote:I found this same issue on my machine.
If you could compile a esl_wrap.o then you have to generate a libesl.so with a cmd like this:
g++ -shared esl_wrap.o -o libesl.so
Then in your code, do something like this:
/* Test.java */
import org.freeswitch.esl.*;
class Test
{
public static void main(String[] args)
{
System.loadLibrary("esl");
System.out.println("hello");
}
}On Thu, Jul 30, 2009 at 10:31 PM, Jean-Marc Hyppolite <hyppolite72@yahoo.com> wrote:
Thank you Anthony.
--- On Thu, 7/30/09, Anthony Minessale <anthony.minessale@gmail.com> wrote:
From: Anthony Minessale <anthony.minessale@gmail.com>
Subject: Re: [Freeswitch-users] JAVA ESL
To: freeswitch-users@lists.freeswitch.org
Received: Thursday, July 30, 2009, 9:00 PM-----Inline Attachment Follows-----
it might be a build issue, I was not exactly sure how to build it etc.
so it may need some help from a java expert
I wrote all of that with swig and never was able to test it.
On Thu, Jul 30, 2009 at 7:40 PM, Jean-Marc Hyppolite <hyppolite72@yahoo.com> wrote:
Hello,I built libesl and JAVA mod. (make and make javamod). But when I try to run a JAVA script with the following codeESLconnection connection = new ESLconnection("127.0.0.1", "9000", "");ESLevent events = connection.getInfo();System.out.println(events.toString());I get the following error message:Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libesl.so: /usr/lib/libesl.so: undefined symbol: __gxx_personality_v0
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at ivr.IVRServer.<clinit>(IVRServer.java:18)Any help would be appreciated.Thanks.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
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
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Fernando Gregianin Testa
Voice Technology Ltda
+55 11 35882166
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
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
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org