Hi João, I just open you the jira, http://jira.freeswitch.org/browse/FSCOMM-11 Thanks, António On Sun, 2012-12-09 at 02:22 -0200, João Mesquita wrote:
Antonio, I am the dev of FSComm and I am glad to hear there is still interest on it. I will try to fix the problem tomorrow and if not Monday as I am out of the country.
Please help us out and file a Jira for it?
Sent from my iPhone
On Dec 7, 2012, at 9:10 AM, Antonio Silva <asilva@wirelessmundi.com> wrote:
Hi,
i'm trying to compile fscomm but i have the following errors:
" freeswitch-git/fscomm# qmake freeswitch-git/fscomm# make /usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h /usr/bin/uic-qt4 preferences/prefdialog.ui -o ui_prefdialog.h /usr/bin/uic-qt4 preferences/accountdialog.ui -o ui_accountdialog.h /usr/bin/uic-qt4 widgets/codecwidget.ui -o ui_codecwidget.h /usr/bin/uic-qt4 debugtools/consolewindow.ui -o ui_consolewindow.h /usr/bin/uic-qt4 debugtools/statedebugdialog.ui -o ui_statedebugdialog.h Warning: name layoutWidget is already used Warning: name layoutWidget is already used g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I../src/include -I../libs/apr/include -I../libs/libteletone/src -I. -I. -o main.o main.cpp In file included from mainwindow.h:38, from main.cpp:32: ../src/include/switch.h:110:18: error: stfu.h: No such file or directory In file included from ../src/include/switch.h:121, from mainwindow.h:38, from main.cpp:32: ../src/include/switch_core.h:752: error: expected constructor, destructor, or type conversion before ‘*’ token In file included from ../src/include/switch_loadable_module.h:46, from ../src/include/switch.h:122, from mainwindow.h:38, from main.cpp:32: ../src/include/switch_module_interfaces.h:121: error: expected initializer before ‘*’ token ../src/include/switch_module_interfaces.h:162: error: ‘switch_io_get_jb_t’ does not name a type In file included from ../src/include/switch.h:134, from mainwindow.h:38, from main.cpp:32: ../src/include/switch_rtp.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token ./fshost.h:43: warning: ‘void eventHandlerCallback(switch_event_t*)’ declared ‘static’ but never defined ./fshost.h:44: warning: ‘switch_status_t loggerHandler(const switch_log_node_t*, switch_log_level_t)’ declared ‘static’ but never defined make: *** [main.o] Error 1 "
watching this error: "../src/include/switch.h:110:18: error: stfu.h: No such file or directory"
i manually change switch.h to fix the problem with the include by adding the following:
" diff --git a/src/include/switch.h b/src/include/switch.h index c7ea7b0..2847112 100644 --- a/src/include/switch.h +++ b/src/include/switch.h @@ -107,7 +107,8 @@ #include <errno.h>
#ifndef WIN32 -#include "stfu.h" +/* #include "stfu.h" */ +#include "../../../libs/stfu/stfu.h" #else #include "../../../libs/stfu/stfu.h" #endif
"
I could compile fscomm, but now i can't start it... i have the following error: " Initializing core... Failed to initialize FreeSWITCH's core: Cannot Open log directory or XML Root! Everything OK, Entering runtime loop ... Segmentation fault " i had try the fix in the wiki: "chmod 644 ~/.fscomm/conf/freeswitch.xml", and even "chmod -R 777 ~/.fscomm", but no luck...
Can you help me to go further...?
I'm trying it to install on a debian squeeze, i installed qt4-dev-tools. Is it possible to install in debian squeeze our i should just give up... and try another distro? The freeswitch-git is the lasted head.
Thanks, António _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Un cordial saludo / Best regards, _________________________ António Silva E-mail:asilva@wirelessmundi.com