I have been successful in resolving a few of the issues.  However, I am still encountering some and I am unable to locate class definitions for IVRMenu, API, and Stream.  Is this linked to the swig?  Any ideas on how to resolve the following?:

Jonathan


[admin@plumble1 mod_java]$ javac -classpath classes -sourcepath src -d classes src/org/freeswitch/swig/CoreSession.java
src/org/freeswitch/swig/freeswitchJNI.java:16: cannot find symbol
symbol  : class IVRMenu
location: class org.freeswitch.swig.freeswitchJNI
  public final static native long new_IVRMenu(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6, String jarg7, String jarg8, int jarg9, int jarg10, int jarg11, int jarg12, int jarg13);
                                                          ^
src/org/freeswitch/swig/freeswitchJNI.java:18: cannot find symbol
symbol  : class IVRMenu
location: class org.freeswitch.swig.freeswitchJNI
  public final static native void IVRMenu_bindAction(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4);
                                                                 ^
src/org/freeswitch/swig/freeswitchJNI.java:19: cannot find symbol
symbol  : class IVRMenu
location: class org.freeswitch.swig.freeswitchJNI
  public final static native void IVRMenu_execute(long jarg1, IVRMenu jarg1_, long jarg2, CoreSession jarg2_, String jarg3);
                                                              ^
src/org/freeswitch/swig/freeswitchJNI.java:22: cannot find symbol
symbol  : class API
location: class org.freeswitch.swig.freeswitchJNI
  public final static native String API_execute(long jarg1, API jarg1_, String jarg2, String jarg3);
                                                            ^
src/org/freeswitch/swig/freeswitchJNI.java:23: cannot find symbol
symbol  : class API
location: class org.freeswitch.swig.freeswitchJNI
  public final static native String API_executeString(long jarg1, API jarg1_, String jarg2);
                                                                  ^
src/org/freeswitch/swig/freeswitchJNI.java:40: cannot find symbol
symbol  : class Stream
location: class org.freeswitch.swig.freeswitchJNI
  public final static native void Stream_write(long jarg1, Stream jarg1_, String jarg2);
                                                           ^
src/org/freeswitch/swig/freeswitchJNI.java:41: cannot find symbol
symbol  : class Stream
location: class org.freeswitch.swig.freeswitchJNI
  public final static native String Stream_get_data(long jarg1, Stream jarg1_);
                                                                ^
src/org/freeswitch/swig/CoreSession.java:239: cannot find symbol
symbol  : method getCPtr(org.freeswitch.Event)
location: class org.freeswitch.Event
    freeswitchJNI.CoreSession_sendEvent(swigCPtr, this, Event.getCPtr(sendME), sendME);
                                                             ^
src/org/freeswitch/swig/CoreSession.java:243: cannot find symbol
symbol  : method getCPtr(org.freeswitch.Event)
location: class org.freeswitch.Event
    freeswitchJNI.CoreSession_setEventData(swigCPtr, this, Event.getCPtr(e), e);


On Fri, May 23, 2008 at 8:27 PM, jonathan augenstine <jaugenstine@gmail.com> wrote:
I grabbed the latest trunk version - 8572 the performed the following:

- bootstrap.sh
- configure --with-java=/path
- modify the modules.conf to include mod_java
- make

It failed with the same errors.

Jonathan


On Fri, May 23, 2008 at 1:25 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
i reran swig and comitted, see if that helps.


On Fri, May 23, 2008 at 1:55 PM, jonathan augenstine <jaugenstine@gmail.com> wrote:
I am in the process of setting up a new production machine.  I have installed CentOS and was successful in building the latest trunk of Freeswitch.  When I enabled the build of mod-java I get numerous "cannot find symbol" errors.

Jonathan
jaugenstine@gmail.com

- OS: CentOS 5
- Java: 1.5.0_15
- configure --with-java=/usr/java/jdk1.5.0_15
- edit modules.conf to build languages/mod_java
- Freeswitch is latest trunk as of May 23.

A sample of the errors printed are:

making all mod_java
src/org/freeswitch/swig/CoreSession.java:236: cannot find symbol
symbol  : class Event
location: class org.freeswitch.swig.CoreSession
  public void sendEvent(Event sendME) {
                        ^
src/org/freeswitch/swig/CoreSession.java:240: cannot find symbol
symbol  : class Event
location: class org.freeswitch.swig.CoreSession
  public void setEventData(Event e) {
                           ^
src/org/freeswitch/swig/freeswitchJNI.java:14: cannot find symbol
symbol  : class IVRMenu
location: class org.freeswitch.swig.freeswitchJNI
  public final static native long new_IVRMenu(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4, String jarg5, String jarg6, String jarg7, String jarg8, int jarg9, int jarg10, int jarg11, int jarg12, int jarg13);
                                                          ^
src/org/freeswitch/swig/freeswitchJNI.java:16: cannot find symbol
symbol  : class IVRMenu
location: class org.freeswitch.swig.freeswitchJNI
  public final static native void IVRMenu_bindAction(long jarg1, IVRMenu jarg1_, String jarg2, String jarg3, String jarg4);
                                                                 ^



_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

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
_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org