Hi, I am getting errors while installing FreeSwitch. I have enabled
almost all the packages (except: mod_snom, mod_ldap, mod_zap and few
others). Do I need to install dependencies or will FreeSwitch
automatically find from the internet? I have done the basic
dependencies installed like gcc, curses, unixODBC etc.<br>
<br>Here is the part of the "make" process which generated error:<br><br>...<br>...<br>making all mod_native_file<br>Compiling mod_native_file.c...<br>mkdir .libs<br>Compiling mod_native_file.c ...<br>Creating mod_native_file.so...<br>
<br>making all mod_opal<br>Compiling mod_opal.cpp...<br>mkdir .libs<br>Compiling mod_opal.cpp ...<br>In file included from mod_opal.cpp:26:<br>mod_opal.h:66: error: expected class-name before '{' token<br>mod_opal.h:67: error: 'Comparison' does not name a type<br>
mod_opal.h: In member function 'virtual PBoolean FSProcess::<div id=":178" class="ii gt">InternalIsDescendant(const char*) const':<br>mod_opal.h:67: error: 'PLibraryProcess' has not been declared<br>mod_opal.h: In member function 'virtual const char* FSProcess::GetClass(unsigned int) const':<br>
mod_opal.h:67: error: 'PLibraryProcess' has not been declared<br>mod_opal.cpp: In constructor 'FSProcess::FSProcess()':<br>mod_opal.cpp:289: error: class 'FSProcess' does not have any field named 'PLibraryProcess'<br>
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope<br>mod_opal.cpp: In member function 'virtual void FSConnection::OnReleased()':<br>mod_opal.cpp:667:
error: invalid initialization of reference of type 'const
H323Connection&' from expression of type 'OpalConnection::CallEndReason'<br>
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of 'Q931::CauseValues H323TranslateFromCallEndReason(const H323Connection&, H225_ReleaseCompleteReason&)'<br>mod_opal.cpp: In member function 'switch_status_t FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':<br>
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named 'OnPatchStart'<br>mod_opal.cpp: In member function 'switch_status_t FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':<br>
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named 'OnPatchStart'<br>make[5]: *** [mod_opal.lo] Error 1<br>make[4]: *** [all] Error 1<br>make[3]: *** [mod_opal-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>
Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br> + Install by running: +<br> + +<br>
+ make install +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br><br><br><br>Regards,<br>Vin</div>