[Freeswitch-users] FScomm

João Mesquita jmesquita at freeswitch.org
Tue Mar 2 22:00:11 PST 2010


This is definitely a problem with your Qt installation. You need to be able
to find the libs to link it, otherwise, unresolved symbols everywhere!

Regards,
João Mesquita
FSComm Developer


On Wed, Feb 24, 2010 at 2:42 PM, Madovsky <infos at madovsky.org> wrote:

>
> ----- Original Message -----
> From: "Michael Jerris" <mike at jerris.com>
> To: <freeswitch-users at lists.freeswitch.org>
> Sent: Wednesday, February 24, 2010 3:40 AM
> Subject: Re: [Freeswitch-users] FScomm
>
>
>
> On Feb 23, 2010, at 6:18 PM, Madovsky wrote:
>
> >
> > ----- Original Message -----
> > From: Jeff Lenk
> > To: freeswitch-users at lists.freeswitch.org
> > Sent: Tuesday, February 23, 2010 5:05 PM
> > Subject: Re: [Freeswitch-users] FScomm
> >
> >
> > http://wiki.freeswitch.org/wiki/FSComm#Linux
> >
> > you must run those from the FSComm directory
> >
>
> ….
>
> >
> > It's what I did,
> > but from FS trunk, inside fscomm directory,
> > there s only
> >
> > account.cpp  conf                fshost.h        mainwindow.ui
> > resources.qrc
> > account.h    FSComm.2008.vcproj  main.cpp        mod_qsettings
> > call.cpp     FSComm.pro          mainwindow.cpp  preferences
> > call.h       fshost.cpp          mainwindow.h    resources
> >
>
>
> Read those installation instructions again and do them step by step, you
> skipped one.
> _______________________________________________
> 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
>
>
> Ok now I have
>
> [root at node250 fscomm]# qmake
> WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp)
> in SOURCES
> WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in
> HEADERS
> WARNING: Found potential symbol conflict of prefdialog.cpp
> (preferences/prefdialog.cpp) in SOURCES
> WARNING: Found potential symbol conflict of prefdialog.h
> (preferences/prefdialog.h) in HEADERS
> WARNING: Found potential symbol conflict of accountdialog.cpp
> (preferences/accountdialog.cpp) in SOURCES
> WARNING: Found potential symbol conflict of accountdialog.h
> (preferences/accountdialog.h) in HEADERS
>
> [root at node250 fscomm]# qmake
> WARNING: Found potential symbol conflict of mainwindow.cpp (mainwindow.cpp)
> in SOURCES
> WARNING: Found potential symbol conflict of mainwindow.h (mainwindow.h) in
> HEADERS
> WARNING: Found potential symbol conflict of prefdialog.cpp
> (preferences/prefdialog.cpp) in SOURCES
> WARNING: Found potential symbol conflict of prefdialog.h
> (preferences/prefdialog.h) in HEADERS
> WARNING: Found potential symbol conflict of accountdialog.cpp
> (preferences/accountdialog.cpp) in SOURCES
> WARNING: Found potential symbol conflict of accountdialog.h
> (preferences/accountdialog.h) in HEADERS
> [root at node250 fscomm]# make
> Makefile:278: warning: overriding commands for target `prefdialog.o'
> Makefile:215: warning: ignoring old commands for target `prefdialog.o'
> Makefile:285: warning: overriding commands for target `accountdialog.o'
> Makefile:234: warning: ignoring old commands for target `accountdialog.o'
> Makefile:320: warning: overriding commands for target `moc_prefdialog.o'
> Makefile:298: warning: ignoring old commands for target `moc_prefdialog.o'
> Makefile:323: warning: overriding commands for target `moc_accountdialog.o'
> Makefile:307: warning: ignoring old commands for target
> `moc_accountdialog.o'
> Makefile:347: warning: overriding commands for target `moc_mainwindow.cpp'
> Makefile:326: warning: ignoring old commands for target
> `moc_mainwindow.cpp'
> Makefile:350: warning: overriding commands for target
> `preferences/moc_prefdialog.cpp'
> Makefile:332: warning: ignoring old commands for target
> `preferences/moc_prefdialog.cpp'
> Makefile:353: warning: overriding commands for target
> `preferences/moc_accountdialog.cpp'
> Makefile:341: warning: ignoring old commands for target
> `preferences/moc_accountdialog.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_TABLET_SUPPORT -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: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:17: error: QHash: No such file or directory
> ./fshost.h:34:26: error: QSharedPointer: No such file or directory
> In file included from ./fshost.h:36,
>                 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 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
> preferences/prefdialog.h:6:21: error: QSettings: No such file or directory
> In file included from ./fshost.h:37,
>                 from mainwindow.h:39,
>                 from main.cpp:32:
> ./account.h:18: error: expected constructor, destructor, or type conversion
> before âstaticâ
> In file included from mainwindow.h:39,
>                 from main.cpp:32:
> ./fshost.h:40: error: invalid use of incomplete type âstruct QThreadâ
> /usr/include/QtCore/qobject.h:68: error: forward declaration of âstruct
> QThreadâ
> ./fshost.h:46: error: ISO C++ forbids declaration of âQSharedPointerâ with
> no type
> ./fshost.h:46: error: expected â;â before â<â token
> ./fshost.h:47: error: expected `;' before âQSharedPointerâ
> ./fshost.h:47: error: ISO C++ forbids declaration of âQSharedPointerâ with
> no type
> ./fshost.h:47: error: expected â;â before â<â token
> ./fshost.h:48: error: âQSharedPointerâ was not declared in this scope
> ./fshost.h:48: error: template argument 1 is invalid
> ./fshost.h:48: error: expected unqualified-id before â>â token
> ./fshost.h:49: error: ISO C++ forbids declaration of âQSharedPointerâ with
> no type
> ./fshost.h:49: error: expected â;â before â<â token
> ./fshost.h:50: error: ISO C++ forbids declaration of âQSharedPointerâ with
> no type
> ./fshost.h:50: error: expected â;â before â<â token
> ./fshost.h:51: error: ISO C++ forbids declaration of âQSharedPointerâ with
> no type
> ./fshost.h:51: error: expected â;â before â<â token
> ./fshost.h:52: error: âQSharedPointerâ has not been declared
> ./fshost.h:52: error: expected â,â or â...â before â<â token
> ./fshost.h:60: error: âQSharedPointerâ has not been declared
> ./fshost.h:60: error: expected â,â or â...â before â<â token
> ./fshost.h:61: error: âQSharedPointerâ has not been declared
> ./fshost.h:61: error: expected â,â or â...â before â<â token
> ./fshost.h:62: error: âQSharedPointerâ has not been declared
> ./fshost.h:62: error: expected â,â or â...â before â<â token
> ./fshost.h:63: error: âQSharedPointerâ has not been declared
> ./fshost.h:63: error: expected â,â or â...â before â<â token
> ./fshost.h:64: error: âQSharedPointerâ has not been declared
> ./fshost.h:64: error: expected â,â or â...â before â<â token
> ./fshost.h:65: error: âQSharedPointerâ has not been declared
> ./fshost.h:65: error: expected â,â or â...â before â<â token
> ./fshost.h:66: error: âQSharedPointerâ has not been declared
> ./fshost.h:66: error: expected â,â or â...â before â<â token
> ./fshost.h:67: error: âQSharedPointerâ has not been declared
> ./fshost.h:67: error: expected â,â or â...â before â<â token
> ./fshost.h:71: error: âQSharedPointerâ has not been declared
> ./fshost.h:71: error: expected â,â or â...â before â<â token
> ./fshost.h:78: error: âQSharedPointerâ was not declared in this scope
> ./fshost.h:78: error: template argument 2 is invalid
> ./fshost.h:78: error: expected unqualified-id before â>â token
> ./fshost.h:79: error: âQSharedPointerâ was not declared in this scope
> ./fshost.h:79: error: template argument 2 is invalid
> ./fshost.h:79: error: expected unqualified-id before â>â token
> ./fshost.h:80: error: field â_bleg_uuidsâ has incomplete type
> In file included from mainwindow.h:42,
>                 from main.cpp:32:
> preferences/prefdialog.h:17: error: invalid use of incomplete type âstruct
> QDialogâ
> /usr/include/QtGui/qwindowdefs.h:57: error: forward declaration of âstruct
> QDialogâ
> preferences/prefdialog.h:31: error: ISO C++ forbids declaration of
> âQSettingsâ with no type
> preferences/prefdialog.h:31: error: expected â;â before â*â token
> In file included from main.cpp:32:
> mainwindow.h:48: error: expected class-name before â{â token
> mainwindow.h:65: error: âQTableWidgetItemâ has not been declared
> mainwindow.h:71: error: âQSharedPointerâ has not been declared
> mainwindow.h:71: error: expected â,â or â...â before â<â token
> mainwindow.h:72: error: âQSharedPointerâ has not been declared
> mainwindow.h:72: error: expected â,â or â...â before â<â token
> mainwindow.h:73: error: âQSharedPointerâ has not been declared
> mainwindow.h:73: error: expected â,â or â...â before â<â token
> mainwindow.h:74: error: âQSharedPointerâ has not been declared
> mainwindow.h:74: error: expected â,â or â...â before â<â token
> mainwindow.h:75: error: âQSharedPointerâ has not been declared
> mainwindow.h:75: error: expected â,â or â...â before â<â token
> mainwindow.h:78: error: âQSharedPointerâ has not been declared
> mainwindow.h:78: error: expected â,â or â...â before â<â token
> mainwindow.h:79: error: âQSharedPointerâ has not been declared
> mainwindow.h:79: error: expected â,â or â...â before â<â token
> mainwindow.h:80: error: âQSharedPointerâ has not been declared
> mainwindow.h:80: error: expected â,â or â...â before â<â token
> mainwindow.h:81: error: âQSystemTrayIconâ has not been declared
> mainwindow.h:81: error: expected â,â or â...â before âreasonâ
> mainwindow.h:86: error: ISO C++ forbids declaration of âQSignalMapperâ with
> no type
> mainwindow.h:86: error: expected â;â before â*â token
> mainwindow.h:88: error: ISO C++ forbids declaration of âQSystemTrayIconâ
> with no type
> mainwindow.h:88: error: expected â;â before â*â token
> main.cpp: In function âint main(int, char**)â:
> main.cpp:41: error: variable âQPixmap imageâ has initializer but incomplete
> type
> main.cpp:42: error: âQSplashScreenâ was not declared in this scope
> main.cpp:42: error: âsplashâ was not declared in this scope
> main.cpp:42: error: expected type-specifier before âQSplashScreenâ
> main.cpp:42: error: expected `;' before âQSplashScreenâ
> main.cpp:48: error: no matching function for call to
> âQObject::connect(FSHost*, const char [9], MainWindow*, const char [8])â
> /usr/include/QtCore/qobject.h:202: note: candidates are: static bool
> QObject::connect(const QObject*, const char*, const QObject*, const char*,
> Qt::ConnectionType)
> /usr/include/QtCore/qobject.h:307: note:                 bool
> QObject::connect(const QObject*, const char*, const char*,
> Qt::ConnectionType) const
> main.cpp:49: error: âclass FSHostâ has no member named âstartâ
> main.cpp:41: warning: unused variable âimageâ
> ./fshost.h: At global scope:
> ./fshost.h:90: warning: âvoid eventHandlerCallback(switch_event_t*)â
> defined
> but not used
> make: *** [main.o] Error 1
>
>
> Any idea ?
>
> Thx
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100303/7a9ed411/attachment-0002.html 


More information about the FreeSWITCH-users mailing list