Done! Check out patch at http://jira.freeswitch.org/browse/FSBUILD-185
Testa On Mon, Aug 17, 2009 at 5:18 PM, Michael Jerris <[email protected]> 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 < > [email protected]> wrote: > >> Thank you Anthony. >> >> --- On *Thu, 7/30/09, Anthony Minessale <[email protected]>*wrote: >> >> >> From: Anthony Minessale <[email protected]> >> Subject: Re: [Freeswitch-users] JAVA ESL >> To: [email protected] >> 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 < >> [email protected]<http://ca.mc356.mail.yahoo.com/mc/[email protected]> >> > 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!*<http://downloads.yahoo.com/ca/internetexplorer/> >>> >>> _______________________________________________ >>> FreeSWITCH-users mailing list >>> [email protected]<http://ca.mc356.mail.yahoo.com/mc/[email protected]> >>> 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:[email protected]<http://ca.mc356.mail.yahoo.com/mc/compose?to=msn%[email protected]> >> GTALK/JABBER/PAYPAL:[email protected]<http://ca.mc356.mail.yahoo.com/mc/compose?to=paypal%[email protected]> >> IRC: irc.freenode.net #freeswitch >> >> FreeSWITCH Developer Conference >> sip:[email protected]<http://ca.mc356.mail.yahoo.com/mc/compose?to=sip%[email protected]> >> iax:[email protected]/888 >> googletalk:[email protected]<http://ca.mc356.mail.yahoo.com/mc/compose?to=googletalk%3aconf%[email protected]> >> pstn:213-799-1400 >> >> -----Inline Attachment Follows----- >> >> _______________________________________________ >> FreeSWITCH-users mailing list >> [email protected]<http://ca.mc356.mail.yahoo.com/mc/[email protected]> >> 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! <http://ca.toolbar.yahoo.com/> >> >> _______________________________________________ >> 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 >> >> > > > -- > Fernando Gregianin Testa > Voice Technology Ltda > +55 11 35882166 > > _______________________________________________ > 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 > > -- Fernando Gregianin Testa Voice Technology Ltda +55 11 35882166
_______________________________________________ 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
