VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
testa at voicetechnolo... Guest
|
Posted: Mon Aug 17, 2009 3:09 pm Post subject: [Freeswitch-users] JAVA ESL |
|
|
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 (hyppolite72@yahoo.com)> wrote:
Quote: | Thank you Anthony.
--- On Thu, 7/30/09, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: |
From: Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
Subject: Re: [Freeswitch-users] JAVA ESL
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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@yahoo.com> wrote:
Quote: | 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:1
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@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
-----Inline Attachment Follows-----
_______________________________________________
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
|
Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Mon Aug 17, 2009 3:28 pm Post subject: [Freeswitch-users] JAVA ESL |
|
|
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:
Quote: | 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 (hyppolite72@yahoo.com)> wrote:
Quote: | Thank you Anthony.
--- On Thu, 7/30/09, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: |
From: Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
Subject: Re: [Freeswitch-users] JAVA ESL
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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@yahoo.com> wrote:
Quote: | 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:1
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@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
-----Inline Attachment Follows-----
_______________________________________________
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
|
Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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
|
|
|
Back to top |
|
|
testa at voicetechnolo... Guest
|
Posted: Mon Aug 17, 2009 4:42 pm Post subject: [Freeswitch-users] JAVA ESL |
|
|
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@jerris.com (mike@jerris.com)> wrote:
Quote: | 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:
Quote: | 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 (hyppolite72@yahoo.com)> wrote:
Quote: | Thank you Anthony.
--- On Thu, 7/30/09, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: |
From: Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
Subject: Re: [Freeswitch-users] JAVA ESL
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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@yahoo.com> wrote:
Quote: | 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:1
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@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
-----Inline Attachment Follows-----
_______________________________________________
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
|
Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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 (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 |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Mon Aug 17, 2009 5:10 pm Post subject: [Freeswitch-users] JAVA ESL |
|
|
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:
Quote: | 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@jerris.com (mike@jerris.com)> wrote:
Quote: | 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:
Quote: | 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 (hyppolite72@yahoo.com)> wrote:
Quote: | Thank you Anthony.
--- On Thu, 7/30/09, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: |
From: Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)>
Subject: Re: [Freeswitch-users] JAVA ESL
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@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@yahoo.com> wrote:
Quote: | 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:1
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@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
-----Inline Attachment Follows-----
_______________________________________________
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
|
Yahoo! Canada Toolbar : Search from anywhere on the web and bookmark your favourite sites. Download it now!
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 (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 (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 (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
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|