<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
i'm trying to compile fscomm but i have the following errors:<BR>
<BR>
"<BR>
freeswitch-git/fscomm# qmake<BR>
freeswitch-git/fscomm# make<BR>
/usr/bin/uic-qt4 mainwindow.ui -o ui_mainwindow.h<BR>
/usr/bin/uic-qt4 preferences/prefdialog.ui -o ui_prefdialog.h<BR>
/usr/bin/uic-qt4 preferences/accountdialog.ui -o ui_accountdialog.h<BR>
/usr/bin/uic-qt4 widgets/codecwidget.ui -o ui_codecwidget.h<BR>
/usr/bin/uic-qt4 debugtools/consolewindow.ui -o ui_consolewindow.h<BR>
/usr/bin/uic-qt4 debugtools/statedebugdialog.ui -o ui_statedebugdialog.h<BR>
Warning: name layoutWidget is already used<BR>
Warning: name layoutWidget is already used<BR>
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<BR>
In file included from mainwindow.h:38,<BR>
from main.cpp:32:<BR>
../src/include/switch.h:110:18: error: stfu.h: No such file or directory<BR>
In file included from ../src/include/switch.h:121,<BR>
from mainwindow.h:38,<BR>
from main.cpp:32:<BR>
../src/include/switch_core.h:752: error: expected constructor, destructor, or type conversion before ‘*’ token<BR>
In file included from ../src/include/switch_loadable_module.h:46,<BR>
from ../src/include/switch.h:122,<BR>
from mainwindow.h:38,<BR>
from main.cpp:32:<BR>
../src/include/switch_module_interfaces.h:121: error: expected initializer before ‘*’ token<BR>
../src/include/switch_module_interfaces.h:162: error: ‘switch_io_get_jb_t’ does not name a type<BR>
In file included from ../src/include/switch.h:134,<BR>
from mainwindow.h:38,<BR>
from main.cpp:32:<BR>
../src/include/switch_rtp.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token<BR>
./fshost.h:43: warning: ‘void eventHandlerCallback(switch_event_t*)’ declared ‘static’ but never defined<BR>
./fshost.h:44: warning: ‘switch_status_t loggerHandler(const switch_log_node_t*, switch_log_level_t)’ declared ‘static’ but never defined<BR>
make: *** [main.o] Error 1<BR>
"<BR>
<BR>
watching this error: <BR>
"../src/include/switch.h:110:18: error: stfu.h: No such file or directory"<BR>
<BR>
i manually change switch.h to fix the problem with the include by adding the following:<BR>
<BR>
"<BR>
diff --git a/src/include/switch.h b/src/include/switch.h<BR>
index c7ea7b0..2847112 100644<BR>
--- a/src/include/switch.h<BR>
+++ b/src/include/switch.h<BR>
@@ -107,7 +107,8 @@<BR>
#include <errno.h><BR>
<BR>
#ifndef WIN32<BR>
-#include "stfu.h"<BR>
+/* #include "stfu.h" */<BR>
+#include "../../../libs/stfu/stfu.h"<BR>
#else<BR>
#include "../../../libs/stfu/stfu.h"<BR>
#endif<BR>
<BR>
"<BR>
<BR>
I could compile fscomm, but now i can't start it... i have the following error:<BR>
"<BR>
Initializing core... <BR>
Failed to initialize FreeSWITCH's core: Cannot Open log directory or XML Root!<BR>
Everything OK, Entering runtime loop ... <BR>
Segmentation fault<BR>
"<BR>
i had try the fix in the wiki: "chmod 644 ~/.fscomm/conf/freeswitch.xml", and even "chmod -R 777 ~/.fscomm", but no luck...<BR>
<BR>
Can you help me to go further...?<BR>
<BR>
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?<BR>
The freeswitch-git is the lasted head. <BR>
<BR>
<BR>
Thanks,<BR>
António
</BODY>
</HTML>