<!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>
&quot;<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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mainwindow.h:38,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from main.cpp:32:<BR>
../src/include/switch_core.h:752: error: expected constructor, destructor, or type conversion before &#8216;*&#8217; token<BR>
In file included from ../src/include/switch_loadable_module.h:46,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../src/include/switch.h:122,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mainwindow.h:38,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from main.cpp:32:<BR>
../src/include/switch_module_interfaces.h:121: error: expected initializer before &#8216;*&#8217; token<BR>
../src/include/switch_module_interfaces.h:162: error: &#8216;switch_io_get_jb_t&#8217; does not name a type<BR>
In file included from ../src/include/switch.h:134,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mainwindow.h:38,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from main.cpp:32:<BR>
../src/include/switch_rtp.h:243: error: expected constructor, destructor, or type conversion before &#8216;*&#8217; token<BR>
./fshost.h:43: warning: &#8216;void eventHandlerCallback(switch_event_t*)&#8217; declared &#8216;static&#8217; but never defined<BR>
./fshost.h:44: warning: &#8216;switch_status_t loggerHandler(const switch_log_node_t*, switch_log_level_t)&#8217; declared &#8216;static&#8217; but never defined<BR>
make: *** [main.o] Error 1<BR>
&quot;<BR>
<BR>
watching this error: <BR>
&quot;../src/include/switch.h:110:18: error: stfu.h: No such file or directory&quot;<BR>
<BR>
i manually change switch.h to fix the problem with the include by adding the following:<BR>
<BR>
&quot;<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 &lt;errno.h&gt;<BR>
 <BR>
 #ifndef WIN32<BR>
-#include &quot;stfu.h&quot;<BR>
+/* #include &quot;stfu.h&quot; */<BR>
+#include &quot;../../../libs/stfu/stfu.h&quot;<BR>
 #else<BR>
 #include &quot;../../../libs/stfu/stfu.h&quot;<BR>
 #endif<BR>
<BR>
&quot;<BR>
<BR>
I could compile fscomm, but now i can't start it... i have the following error:<BR>
&quot;<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>
&quot;<BR>
i had try the fix in the wiki: &quot;chmod&nbsp; 644 ~/.fscomm/conf/freeswitch.xml&quot;, and even &quot;chmod -R 777 ~/.fscomm&quot;,&nbsp; 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&nbsp; give up... and try another distro?<BR>
The freeswitch-git is the lasted head. <BR>
<BR>
 <BR>
Thanks,<BR>
Ant&#243;nio
</BODY>
</HTML>