I am trying to build the mod_java module and I am encountering a compile problem.  Initially, I encountered this on OSX and chalked it off to a BSD gcc issue (I have encountered issues with BSD build problems before and yet it will build successfully on Linux).  I then attempted to build on Fedora and encountered the same exact problem.  The error listed is a pointer initialization issue:
<br><br>making all mod_java<br>Compiling freeswitch_java.cpp...<br>Compiling switch_swig_wrap.cpp...<br>Compiling mod_java.c...<br>cc1: warnings being treated as errors<br>mod_java.c:117: warning: initialization from incompatible pointer type
<br>make[5]: *** [mod_java.o] Error 1<br>make[4]: *** [all] Error 1<br>make[3]: *** [mod_java-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br><br>
mod_java.c:<br>115 static switch_application_interface_t java_application_interface = {<br>116&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*.interface_name */ &quot;java&quot;,<br>117&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*.application_function */ java_function,<br>118&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL, NULL, NULL,
<br>119&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* flags */ SAF_NONE,<br>120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* should we support no media mode here?&nbsp; If so, we need to detect the mode, and either disable t&nbsp;&nbsp;&nbsp; he media functions or indicate media if/when we need */<br>121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*.next */ NULL
<br>122 };<br><br><br>When I look at the method prototype, it looks OK.&nbsp; I do see a difference between the implementation of mod_java and mod_python (which does build successfully) but I thought I would check to see if there is some build configuration issue before pursuing the mod_python implementation issue.
<br><br>Have changes been made to the mod/languages interface that would explain this compile error?<br><br>Jonathan<br><br>