[Freeswitch-users] JAVA ESL
Michael Jerris
mike at jerris.com
Mon Aug 17 15:05:13 PDT 2009
Thanks, I'll get that merged in and clear from this we need to start
using proper autoconf checks for java.
mike
On Aug 17, 2009, at 5:35 PM, Fernando Testa wrote:
> Done!
> Check out patch at http://jira.freeswitch.org/browse/FSBUILD-185
>
> Testa
>
> On Mon, Aug 17, 2009 at 5:18 PM, Michael Jerris <mike at jerris.com>
> wrote:
> can someone post a patch to that makefile to jira.freeswitch.org
> please.
>
> Mike
>
> On 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 at yahoo.com
>> > wrote:
>> Thank you Anthony.
>>
>> --- On Thu, 7/30/09, Anthony Minessale
>> <anthony.minessale at gmail.com> wrote:
>>
>> From: Anthony Minessale <anthony.minessale at gmail.com>
>> Subject: Re: [Freeswitch-users] JAVA ESL
>> To: freeswitch-users at lists.freeswitch.org
>> Received: Thursday, July 30, 2009, 9:00 PM
>>
>>
>> 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 at 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 code
>>
>> ESLconnection 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.
>>
>>
>> The new Internet Explorer® 8 - Faster, safer, easier. Optimized for
>> Yahoo! Get it Now for Free!
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at hotmail.com
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org
>> pstn:213-799-1400
>>
>> -----Inline Attachment Follows-----
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>> Yahoo! Canada Toolbar : Search from anywhere on the web and
>> bookmark your favourite sites. Download it now!
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090817/44f63972/attachment-0002.html
More information about the FreeSWITCH-users
mailing list