[Freeswitch-users] unable to compile fscomm

Seven Du dujinfang at gmail.com
Fri Oct 22 02:12:52 PDT 2010


You need install QT. Look the FSComm wiki page for instructions.

On Fri, Oct 22, 2010 at 4:31 PM, Juan Backson <juanbackson at gmail.com> wrote:
> Hello
>
> I am having difficulty compiling fscomm.  Can someone please help me out?
> How can I resolve these compilation errors?
>
>
> Makefile:682: warning: ignoring old commands for target
> `debugtools/moc_statedebugdialog.cpp'
> g++ -c -pipe -Wall -W -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
> -mtune=generic  -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
> -I/usr/lib64/qt-3.3/mkspecs/default -I. -I../src/include
> -I../libs/apr/include -I../libs/libteletone/src -I/usr/lib64/qt-3.3/include
> -o main.o main.cpp
> main.cpp:30:30: error: QtGui/QApplication: No such file or directory
> main.cpp:31:25: error: QSplashScreen: No such file or directory
> In file included from main.cpp:32:
> mainwindow.h:34:23: error: QMainWindow: No such file or directory
> mainwindow.h:35:28: error: QTableWidgetItem: No such file or directory
> mainwindow.h:36:25: error: QSignalMapper: No such file or directory
> mainwindow.h:37:27: error: QSystemTrayIcon: No such file or directory
> In file included from mainwindow.h:39,
>                  from main.cpp:32:
> ./fshost.h:32:19: error: QThread: No such file or directory
> ./fshost.h:33:18: error: QColor: No such file or directory
> ./fshost.h:34:17: error: QHash: No such file or directory
> ./fshost.h:35:26: error: QSharedPointer: No such file or directory
> In file included from ./fshost.h:37,
>                  from mainwindow.h:39,
>                  from main.cpp:32:
> ./call.h:32:18: error: QtCore: No such file or directory
> ./call.h:33:19: error: QString: No such file or directory
> In file included from ./fscomm.h:5,
>                  from ./fshost.h:40,
>                  from mainwindow.h:39,
>                  from main.cpp:32:
> ./isettings.h:4:19: error: QObject: No such file or directory
> ./isettings.h:5:17: error: QtXml: No such file or directory
> In file included from mainwindow.h:42,
>                  from main.cpp:32:
> preferences/prefdialog.h:4:19: error: QDialog: No such file or directory
> preferences/prefdialog.h:5:24: error: QDomDocument: No such file or
> directory
> In file included from mainwindow.h:43,
>                  from main.cpp:32:
> debugtools/consolewindow.h:4:17: error: QtGui: No such file or directory
> In file included from debugtools/consolewindow.h:6,
>                  from mainwindow.h:43,
>                  from main.cpp:32:
> debugtools/sortfilterproxymodel.h:41:33: error: QSortFilterProxyModel: No
> such file or directory
> debugtools/sortfilterproxymodel.h:42:31: error: QAbstractTableModel: No such
> file or directory
> debugtools/sortfilterproxymodel.h:43:19: error: QVector: No such file or
> directory
> debugtools/sortfilterproxymodel.h:44:17: error: QList: No such file or
> directory
> ../src/include/switch_utils.h:379: warning: unused parameter ‘number’
> ./channel.h:10: error: expected `)' before ‘uuid’
> ./channel.h:11: error: ‘QString’ does not name a type
> ./channel.h:12: error: ‘QString’ has not been declared
> ./channel.h:13: error: ‘QString’ does not name a type
> ./channel.h:14: error: ‘QString’ has not been declared
> ./channel.h:15: error: ‘QString’ does not name a type
> ./channel.h:16: error: ‘QString’ has not been declared
> ./channel.h:17: error: ‘QString’ does not name a type
> ./channel.h:22: error: ‘qulonglong’ has not been declared
> ./channel.h:23: error: ‘qulonglong’ does not name a type
> ./channel.h:24: error: ‘qulonglong’ has not been declared
> ./channel.h:25: error: ‘qulonglong’ does not name a type
> ./channel.h:26: error: ‘qulonglong’ has not been declared
> ./channel.h:27: error: ‘qulonglong’ does not name a type
> ./channel.h:30: error: ‘QString’ does not name a type
> ./channel.h:31: error: ‘QString’ does not name a type
> ./channel.h:32: error: ‘QString’ does not name a type
> ./channel.h:33: error: ‘QString’ does not name a type
> ./channel.h:35: error: ‘qulonglong’ does not name a type
> ./channel.h:36: error: ‘qulonglong’ does not name a type
> ./channel.h:37: error: ‘qulonglong’ does not name a type
> ./channel.h: In member function ‘void Channel::setCidName(int)’:
> ./channel.h:12: error: ‘_cidName’ was not declared in this scope
> ./channel.h: In member function ‘void Channel::setCidNumber(int)’:
> ./channel.h:14: error: ‘_cidNumber’ was not declared in this scope
> ./channel.h: In member function ‘void Channel::setDestinatinonNumber(int)’:
> ./channel.h:16: error: ‘_destinationNumber’ was not declared in this scope
> ./channel.h: In member function ‘void Channel::setProgressEpoch(int)’:
> ./channel.h:22: error: ‘_progressEpoch’ was not declared in this scope
> ./channel.h: In member function ‘void Channel::setProgressMediaEpoch(int)’:
> ./channel.h:24: error: ‘_progressMediaEpoch’ was not declared in this scope
> ./channel.h: In member function ‘void Channel::setCreatedEpoch(int)’:
> ./channel.h:26: error: ‘_createdEpoch’ was not declared in this scope
> ./call.h: At global scope:
> ./call.h:37: error: expected constructor, destructor, or type conversion
> before ‘typedef’
> ./call.h:43: error: expected constructor, destructor, or type conversion
> before ‘;’ token
> ./call.h:54: error: ‘QString’ does not name a type
> ./call.h:55: error: ‘QString’ does not name a type
> ./call.h:56: error: ‘QString’ does not name a type
> ./call.h:58: error: ‘QSharedPointer’ has not been declared
> ./call.h:58: error: expected ‘,’ or ‘...’ before ‘<’ token
> ./call.h:59: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no
> type
> ./call.h:59: error: expected ‘;’ before ‘<’ token
> ./call.h:60: error: expected `;' before ‘void’
> ./call.h:60: error: ‘QSharedPointer’ has not been declared
> ./call.h:60: error: expected ‘,’ or ‘...’ before ‘<’ token
> ./call.h:61: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no
> type
> ./call.h:61: error: expected ‘;’ before ‘<’ token
> ./call.h:63: error: expected `;' before ‘QString’
> ./call.h:63: error: ‘QString’ does not name a type
> ./call.h:64: error: ‘QString’ does not name a type
> ./call.h:68: error: ‘fscomm_call_state_t’ does not name a type
> ./call.h:69: error: ‘fscomm_call_state_t’ has not been declared
> ./call.h:70: error: ‘QString’ has not been declared
> ./call.h:71: error: ‘QString’ does not name a type
> ./call.h:76: error: ‘QString’ has not been declared
> ./call.h:77: error: ‘qulonglong’ has not been declared
> ./call.h:78: error: ‘QTime’ does not name a type
> ./call.h:83: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no
> type
> ./call.h:83: error: expected ‘;’ before ‘<’ token
> ./call.h:84: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no
> type
> ./call.h:84: error: expected ‘;’ before ‘<’ token
> ./call.h:86: error: ‘QString’ does not name a type
> ./call.h:90: error: ‘QString’ does not name a type
> ./call.h:91: error: ‘fscomm_call_state_t’ does not name a type
> ./call.h:92: error: ‘qulonglong’ does not name a type
> ./call.h: In member function ‘void Call::setChannel(int)’:
> ./call.h:58: error: ‘_channel’ was not declared in this scope
> ./call.h:58: error: ‘channel’ was not declared in this scope
> ./call.h: In member function ‘void Call::setOtherLegChannel(int)’:
> ./call.h:60: error: ‘_otherLegChannel’ was not declared in this scope
> ./call.h:60: error: ‘channel’ was not declared in this scope
> ./call.h: In member function ‘int Call::getCallID()’:
> ./call.h:66: error: ‘_channel’ was not declared in this scope
> ./call.h: In member function ‘void Call::setState(int)’:
> ./call.h:69: error: ‘_state’ was not declared in this scope
> ./call.h: In member function ‘void Call::setCause(int)’:
> ./call.h:70: error: ‘_cause’ was not declared in this scope
> ./call.h:70: error: ‘qDebug’ was not declared in this scope
> ./call.h: In member function ‘void Call::setAnsweredEpoch(int)’:
> ./call.h:77: error: ‘_answeredEpoch’ was not declared in this scope
> ./account.h: At global scope:
> ./account.h:7: error: expected constructor, destructor, or type conversion
> before ‘class’
> make: *** [main.o] Error 1
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
Blog: http://www.dujinfang.com
Proj:  http://www.freeswitch.org.cn



More information about the FreeSWITCH-users mailing list