Dear All, Can anybody please tell me whether it is possible to integrate a PJSIP application with JAVA using JNI concept? If yes then please look into the following issue and let me know your suggestion. We tried this in all possible way without any success. Any suggestion is greatly appreciated!! Thanks & Regards, - Senthil -------- Original Message -------- Subject: [pjsip] Problem while integrating application with Java Date: Thu, 11 Jun 2009 11:54:12 -0400 From: senthil@xxxxxxxxxxxxxxxx <senthil at gotouchpoint.com> Reply-To: senthil at gotouchpoint.com, pjsip list <pjsip at lists.pjsip.org> To: pjsip at lists.pjsip.org Dear All, I'm trying to integrate my PJSIP application *(Linux based)* with Java. I successfully compiled and created .so file but while running the program I receive the following error: [root at localhost sip]# java sample Exception in thread "main" java.lang.UnsatisfiedLinkError: libsample: /usr/lib/gcj-4.1.1/libsample.so: undefined symbol: pjsua_destroy at java.lang.Runtime._load(libgcj.so.7rh) at java.lang.Runtime.loadLibrary(libgcj.so.7rh) at java.lang.System.loadLibrary(libgcj.so.7rh) at sample.<clinit>(sample.java:5) at java.lang.Class.initializeClass(libgcj.so.7rh) Please find the attachment which contains the sample .java and .cpp files. Could anyone please go throgh the sample file and let me know the solution for this issue. Thanks & Regards, - Senthil -------------------------------------------------------------------- mail2web LIVE ? Free email based on Microsoft? Exchange technology - http://link.mail2web.com/LIVE -------------- next part -------------- A non-text attachment was scrubbed... Name: sample1.cpp Type: application/octet-stream Size: 8519 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090616/2a19953e/attachment-0001.cpp> -------------- next part -------------- A non-text attachment was scrubbed... Name: sample.java Type: application/octet-stream Size: 297 bytes Desc: not available URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090616/2a19953e/attachment-0001.java> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00022.txt URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090616/2a19953e/attachment-0001.txt>