Jonathan,<br>
With current trunk, (soon to be 1.0.0) I was able to compile and load the module.<br>All of the symbols you showed to be missing were new ones I had added to tree so I am wondering if<br>you are still somehow out of date.<br>
<br><br>Damjan,<br><br>I have been working on the cpp wrapper and I have it working for Perl and Lua and someone has it working for MONO too. The earlier issues you had with the dtmf buffer was due to over-exposing some of the C api that was meant to keep internal.<br>
<br>I think if you work with us we can make all the languages share the same wrapped C++ code to ensure that only the API intended to be used is exposed.<br><br><br><br><br><br><div class="gmail_quote">On Sun, May 25, 2008 at 11:53 PM, <<a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">X-ECN Telecoms-MailScanner-Information: Contact ECN Telecoms<br>
X-ECN Telecoms-MailScanner: Found to be clean<br>
X-ECN Telecoms-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,<br>
score=-101.539, required 6, autolearn=not spam, AWL 1.06,<br>
BAYES_00 -2.60, NO_RELAYS -0.00, USER_IN_WHITELIST -100.00)<br>
X-ECN Telecoms-MailScanner-From: <a href="mailto:damjan@ecntelecoms.com">damjan@ecntelecoms.com</a><br>
X-Spam-Status: No<br>
<br>
Right, ditch mod_java from 1.0 and let me rewrite it for future releases.<br>
<br>
Bye<br>
Damjan<br>
<div><div></div><div class="Wj3C7c"><br>
> I have been successful in resolving a few of the issues. However, I am<br>
> still encountering some and I am unable to locate class definitions for<br>
> IVRMenu, API, and Stream. Is this linked to the swig? Any ideas on how<br>
> to<br>
> resolve the following?:<br>
><br>
> Jonathan<br>
><br>
><br>
> [admin@plumble1 mod_java]$ javac -classpath classes -sourcepath src -d<br>
> classes src/org/freeswitch/swig/CoreSession.java<br>
> src/org/freeswitch/swig/freeswitchJNI.java:16: cannot find symbol<br>
> symbol : class IVRMenu<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native long new_IVRMenu(long jarg1, IVRMenu jarg1_,<br>
> String jarg2, String jarg3, String jarg4, String jarg5, String jarg6,<br>
> String<br>
> jarg7, String jarg8, int jarg9, int jarg10, int jarg11, int jarg12, int<br>
> jarg13);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:18: cannot find symbol<br>
> symbol : class IVRMenu<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native void IVRMenu_bindAction(long jarg1, IVRMenu<br>
> jarg1_, String jarg2, String jarg3, String jarg4);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:19: cannot find symbol<br>
> symbol : class IVRMenu<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native void IVRMenu_execute(long jarg1, IVRMenu<br>
> jarg1_, long jarg2, CoreSession jarg2_, String jarg3);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:22: cannot find symbol<br>
> symbol : class API<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native String API_execute(long jarg1, API jarg1_,<br>
> String jarg2, String jarg3);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:23: cannot find symbol<br>
> symbol : class API<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native String API_executeString(long jarg1, API<br>
> jarg1_, String jarg2);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:40: cannot find symbol<br>
> symbol : class Stream<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native void Stream_write(long jarg1, Stream jarg1_,<br>
> String jarg2);<br>
> ^<br>
> src/org/freeswitch/swig/freeswitchJNI.java:41: cannot find symbol<br>
> symbol : class Stream<br>
> location: class org.freeswitch.swig.freeswitchJNI<br>
> public final static native String Stream_get_data(long jarg1, Stream<br>
> jarg1_);<br>
> ^<br>
> src/org/freeswitch/swig/CoreSession.java:239: cannot find symbol<br>
> symbol : method getCPtr(org.freeswitch.Event)<br>
> location: class org.freeswitch.Event<br>
> freeswitchJNI.CoreSession_sendEvent(swigCPtr, this,<br>
> Event.getCPtr(sendME), sendME);<br>
> ^<br>
> src/org/freeswitch/swig/CoreSession.java:243: cannot find symbol<br>
> symbol : method getCPtr(org.freeswitch.Event)<br>
> location: class org.freeswitch.Event<br>
> freeswitchJNI.CoreSession_setEventData(swigCPtr, this,<br>
> Event.getCPtr(e),<br>
> e);<br>
><br>
><br>
> On Fri, May 23, 2008 at 8:27 PM, jonathan augenstine<br>
> <<a href="mailto:jaugenstine@gmail.com">jaugenstine@gmail.com</a>><br>
> wrote:<br>
><br>
>> I grabbed the latest trunk version - 8572 the performed the following:<br>
>><br>
>> - bootstrap.sh<br>
>> - configure --with-java=/path<br>
>> - modify the modules.conf to include mod_java<br>
>> - make<br>
>><br>
>> It failed with the same errors.<br>
>><br>
>> Jonathan<br>
>><br>
>><br>
>> On Fri, May 23, 2008 at 1:25 PM, Anthony Minessale <<br>
>> <a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>><br>
>>> i reran swig and comitted, see if that helps.<br>
>>><br>
>>><br>
>>> On Fri, May 23, 2008 at 1:55 PM, jonathan augenstine <<br>
>>> <a href="mailto:jaugenstine@gmail.com">jaugenstine@gmail.com</a>> wrote:<br>
>>><br>
>>>> I am in the process of setting up a new production machine. I have<br>
>>>> installed CentOS and was successful in building the latest trunk of<br>
>>>> Freeswitch. When I enabled the build of mod-java I get numerous<br>
>>>> "cannot<br>
>>>> find symbol" errors.<br>
>>>><br>
>>>> Jonathan<br>
>>>> <a href="mailto:jaugenstine@gmail.com">jaugenstine@gmail.com</a><br>
>>>><br>
>>>> - OS: CentOS 5<br>
>>>> - Java: 1.5.0_15<br>
>>>> - configure --with-java=/usr/java/jdk1.5.0_15<br>
>>>> - edit modules.conf to build languages/mod_java<br>
>>>> - Freeswitch is latest trunk as of May 23.<br>
>>>><br>
>>>> A sample of the errors printed are:<br>
>>>><br>
>>>> making all mod_java<br>
>>>> src/org/freeswitch/swig/CoreSession.java:236: cannot find symbol<br>
>>>> symbol : class Event<br>
>>>> location: class org.freeswitch.swig.CoreSession<br>
>>>> public void sendEvent(Event sendME) {<br>
>>>> ^<br>
>>>> src/org/freeswitch/swig/CoreSession.java:240: cannot find symbol<br>
>>>> symbol : class Event<br>
>>>> location: class org.freeswitch.swig.CoreSession<br>
>>>> public void setEventData(Event e) {<br>
>>>> ^<br>
>>>> src/org/freeswitch/swig/freeswitchJNI.java:14: cannot find symbol<br>
>>>> symbol : class IVRMenu<br>
>>>> location: class org.freeswitch.swig.freeswitchJNI<br>
>>>> public final static native long new_IVRMenu(long jarg1, IVRMenu<br>
>>>> jarg1_,<br>
>>>> String jarg2, String jarg3, String jarg4, String jarg5, String jarg6,<br>
>>>> String<br>
>>>> jarg7, String jarg8, int jarg9, int jarg10, int jarg11, int jarg12,<br>
>>>> int<br>
>>>> jarg13);<br>
>>>> ^<br>
>>>> src/org/freeswitch/swig/freeswitchJNI.java:16: cannot find symbol<br>
>>>> symbol : class IVRMenu<br>
>>>> location: class org.freeswitch.swig.freeswitchJNI<br>
>>>> public final static native void IVRMenu_bindAction(long jarg1,<br>
>>>> IVRMenu<br>
>>>> jarg1_, String jarg2, String jarg3, String jarg4);<br>
>>>> ^<br>
>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Freeswitch-dev mailing list<br>
>>>> <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Anthony Minessale II<br>
>>><br>
>>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>>><br>
>>> AIM: anthm<br>
</div></div>>>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
>>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
<div class="Ih2E3d">>>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>>><br>
>>> FreeSWITCH Developer Conference<br>
</div>>>> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">>>> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
</div>>>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
<div class="Ih2E3d">>>> pstn:213-799-1400<br>
>>> _______________________________________________<br>
>>> Freeswitch-dev mailing list<br>
>>> <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>><br>
</div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> Freeswitch-dev mailing list<br>
> <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400