<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks, I'll get that merged in and clear from this we need to start using proper autoconf checks for java.<div><br></div><div>mike</div><div><br><div><div>On Aug 17, 2009, at 5:35 PM, Fernando Testa wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Done! <br>Check out patch at <a href="http://jira.freeswitch.org/browse/FSBUILD-185">http://jira.freeswitch.org/browse/FSBUILD-185</a><br><br>Testa<br><br><div class="gmail_quote">On Mon, Aug 17, 2009 at 5:18 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">can someone post a patch to that makefile to <a href="http://jira.freeswitch.org" target="_blank">jira.freeswitch.org</a> please.<div> <br></div><div>Mike</div><div><div></div><div class="h5"><div><br><div><div>On Aug 17, 2009, at 4:04 PM, Fernando Testa wrote:</div><br><blockquote type="cite">I found this same issue on my machine. <br>If you could compile a esl_wrap.o then you have to generate a libesl.so with a cmd like this:<br> g++ -shared esl_wrap.o -o libesl.so<br>Then in your code, do something like this:<br> /* Test.java */<br>import org.freeswitch.esl.*;<br><br>class Test<br>{<br>&nbsp; public static void main(String[] args)<br>&nbsp; {<br>&nbsp;&nbsp;&nbsp; System.loadLibrary("esl");<br> &nbsp;&nbsp;&nbsp; System.out.println("hello");<br>&nbsp; }<br> }<br><br><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 10:31 PM, Jean-Marc Hyppolite <span dir="ltr">&lt;<a href="mailto:hyppolite72@yahoo.com" target="_blank">hyppolite72@yahoo.com</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top"> Thank you Anthony.<br><br>--- On <b>Thu, 7/30/09, Anthony Minessale <i>&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</i></b> wrote:<br> <blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;"> <br>From: Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;<br> Subject: Re: [Freeswitch-users] JAVA ESL<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br> Received: Thursday, July 30, 2009, 9:00 PM<div><div></div> <div><br><br> <div>it might be a build issue, I was not exactly sure how to build it etc.<br>so it may need some help from a java expert<br><br>I wrote all of that with swig and never was able to test it.<br> <br><br> <div class="gmail_quote">On Thu, Jul 30, 2009 at 7:40 PM, Jean-Marc Hyppolite <span dir="ltr">&lt;<a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=hyppolite72@yahoo.com" rel="nofollow" target="_blank">hyppolite72@yahoo.com</a>&gt;</span> wrote:<br> <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> <table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="font-family: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top"> <div>Hello,</div> <div>&nbsp;</div> <div>I built&nbsp;libesl and JAVA mod. (make and make javamod). But when I try to run a JAVA script with the following code</div> <div>&nbsp;</div> <div>ESLconnection connection = new ESLconnection("127.0.0.1", "9000", "");</div> <div>ESLevent events = connection.getInfo();</div> <div>System.out.println(events.toString());</div> <div>&nbsp;</div> <div>I get the following error message:</div> <div>&nbsp;</div> <div>Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libesl.so: /usr/lib/libesl.so: undefined symbol: __gxx_personality_v0<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader$NativeLibrary.load(Native Method)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.System.loadLibrary(System.java:1030)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at ivr.IVRServer.&lt;clinit&gt;(IVRServer.java:18)<br></div> <div>&nbsp;</div> <div>Any help would be appreciated.</div> <div>&nbsp;</div> <div>Thanks.</div> <div> &nbsp;</div></td></tr></tbody></table> <div><br> <hr size="1"> The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! <a href="http://downloads.yahoo.com/ca/internetexplorer/" rel="nofollow" target="_blank"><b>Get it Now for Free!</b></a></div> <br>_______________________________________________<br> FreeSWITCH-users mailing list<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" rel="nofollow" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="nofollow" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org/" rel="nofollow" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" rel="nofollow" target="_blank">http://www.freeswitch.org/</a><br> ClueCon <a href="http://www.cluecon.com/" rel="nofollow" target="_blank">http://www.cluecon.com/</a><br> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" rel="nofollow" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br> <br>AIM: anthm<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=MSN%3Aanthony_minessale@hotmail.com" rel="nofollow" target="_blank">MSN:anthony_minessale@hotmail.com</a><br> GTALK/JABBER/<a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=PAYPAL%3Aanthony.minessale@gmail.com" rel="nofollow" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br> IRC: <a href="http://irc.freenode.net/" rel="nofollow" target="_blank">irc.freenode.net</a> #freeswitch<br> <br>FreeSWITCH Developer Conference<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=sip%3A888@conference.freeswitch.org" rel="nofollow" target="_blank">sip:888@conference.freeswitch.org</a><br> <a href="http://iax:guest@conference.freeswitch.org/888" rel="nofollow" target="_blank">iax:guest@conference.freeswitch.org/888</a><br> <a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=googletalk%3Aconf%2B888@conference.freeswitch.org" rel="nofollow" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br> pstn:213-799-1400<br></div><br></div> </div>-----Inline Attachment Follows-----<div><br><br> <div>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="http://ca.mc356.mail.yahoo.com/mc/compose?to=FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br></div></div></blockquote></td></tr></tbody></table><div><br><div> <br></div>   <table><tbody><tr>     <td style="padding: 0.75pt;">     <div style="text-align: center;" align="center"> <font size="3" face="Times New Roman"><span style="font-size: 12pt;">     <hr size="1" width="100%" align="center">     </span></font></div><p><font size="3" face="Times New Roman"><span style="font-size: 12pt;"><img width="25" align="absbottom" border="0" height="25" hspace="4"><a href="http://ca.toolbar.yahoo.com/" target="_blank"><b><span style="font-weight: bold;" lang="NO-BOK">Yahoo!         Canada Toolbar :</span></b><span lang="NO-BOK"> Search from anywhere on         the web and bookmark your favourite sites. Download it now! </span></a>         </span></font><span lang="NO-BOK"></span></p> </td></tr></tbody></table></div><br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>Fernando Gregianin Testa<br>Voice Technology Ltda<br>+55 11 35882166<br><br> _______________________________________________<br> FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> </blockquote></div><br></div></div></div></div><br>_______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>Fernando Gregianin Testa<br>Voice Technology Ltda<br>+55 11 35882166<br><br> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>