sipwitch-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sipwitch-devel] build problem


From: Perazim
Subject: Re: [Sipwitch-devel] build problem
Date: Sat, 03 Nov 2012 17:06:07 +0200

Yes, it now builds without error.  Thanks.


On Sat, 2012-11-03 at 10:58 -0400, David Sugar wrote:
> When we build for fedora we do not install Qt, and since Qt is never
> detected, we never build switchview with it.  I think for this use case
> especially we should not have switchview in the package, as switchview
> is for desktop users only.  However, there is a "--disable-qt" configure
> option which should drop all qt requirements and then build sipwitch
> only by itself, which I think is what you want for what you are doing.
> 
> On 11/03/2012 10:54 AM, Perazim wrote:
> > David,
> > 
> > You may remember several months ago I was trying to use sipwitch and
> > having lots of NAT related problems. When I was unable to get around
> > these issues, I tried several other sip server also with numerous
> > troubles mostly related to NAT. So I put up a vpn and ran the voip over
> > that and the problems went away.
> > 
> > Now my target is to get a sip simple sip server running on Openwrt
> > router firmware on hardware that has 4mb flash and 32mb ram. This means
> > cross compiling sipwitch which seems to be the best candidate to do this
> > because of its size. It also means also cross compiling and packaging
> > the dependencies.
> > 
> > Perazim
> > 
> > 
> > On Sat, 2012-11-03 at 10:13 -0400, David Sugar wrote:
> >> This looks to me to be some qt related strangeness in rebuilding
> >> switchview.  I had already been considering relocating switchview out of
> >> the sipwitch package itself and into it's own, or perhaps a new
> >> "coastal-tms" package (coastal telephony management services) that also
> >> would derive from coastal-qt.  I have been waiting to do this on
> >> completing the ucommon 6 abi, but I might look at doing this sooner now.
> >>
> >> On 11/01/2012 04:54 AM, Perazim wrote:
> >>> Trying to build 1.3.3 and receive this error. The build dependancies are
> >>> installed.
> >>>
> >>>
> >>> ...
> >>> make[3]: Entering directory `/home/yossi/src/sipwitch-1.3.3/switchview'
> >>> g++ -DHAVE_CONFIG_H -I. -I..    -I../inc   -DOSIP_MT   -Wno-long-long
> >>> -fexceptions -DNEW_STDCPP -pthread -fno-check-new -finline
> >>> -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -DQT_SHARED
> >>> -I/usr/include/QtGui -I/usr/include/QtCore   -g -O2 -MT mapped.o -MD -MP
> >>> -MF .deps/mapped.Tpo -c -o mapped.o mapped.cpp
> >>> mapped.cpp:26:8: error: ‘Ui’ does not name a type
> >>> mapped.cpp:34:17: error: variable or field ‘add’ declared void
> >>> mapped.cpp:34:17: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:34:31: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:34:38: error: expected primary-expression before ‘const’
> >>> mapped.cpp:34:57: error: expected primary-expression before ‘int’
> >>> mapped.cpp:34:66: error: expected primary-expression before ‘int’
> >>> mapped.cpp:42:17: error: variable or field ‘add’ declared void
> >>> mapped.cpp:42:17: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:42:31: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:42:38: error: expected primary-expression before ‘const’
> >>> mapped.cpp:42:56: error: expected primary-expression before ‘int’
> >>> mapped.cpp:42:65: error: expected primary-expression before ‘int’
> >>> mapped.cpp: In function ‘void remapStats()’:
> >>> mapped.cpp:103:5: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:103:19: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:103:27: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In function ‘void remapCalls()’:
> >>> mapped.cpp:178:5: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:178:19: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:178:27: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In function ‘void remapUsers()’:
> >>> mapped.cpp:231:5: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:231:19: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:231:27: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In constructor ‘Mapped::Mapped()’:
> >>> mapped.cpp:330:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::started(const char*)’:
> >>> mapped.cpp:422:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::changeContact(char*)’:
> >>> mapped.cpp:428:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::changePublish(char*)’:
> >>> mapped.cpp:449:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::changeRealm(char*)’:
> >>> mapped.cpp:455:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::changeState(char*, char*)’:
> >>> mapped.cpp:468:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void
> >>> Mapped::notifyActivity(sipwitch::events*)’:
> >>> mapped.cpp:478:78: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp:496:5: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘const char* Mapped::realm()’:
> >>> mapped.cpp:502:12: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘const char* Mapped::state()’:
> >>> mapped.cpp:507:12: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::selectedTab(int)’:
> >>> mapped.cpp:555:9: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void
> >>> Mapped::dropUpdate(sipwitch::events*)’:
> >>> mapped.cpp:601:5: error: ‘QTableWidget’ was not declared in this scope
> >>> mapped.cpp:601:19: error: ‘table’ was not declared in this scope
> >>> mapped.cpp:601:27: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp: In member function ‘void Mapped::open()’:
> >>> mapped.cpp:677:9: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp:682:9: error: ‘ui’ was not declared in this scope
> >>> mapped.cpp:686:14: error: ‘ui’ was not declared in this scope
> >>> make[3]: *** [mapped.o] Error 1
> >>> make[3]: Leaving directory `/home/yossi/src/sipwitch-1.3.3/switchview'
> >>> make[2]: *** [all] Error 2
> >>> make[2]: Leaving directory `/home/yossi/src/sipwitch-1.3.3/switchview'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/home/yossi/src/sipwitch-1.3.3'
> >>> make: *** [all] Error 2
> >>> address@hidden sipwitch-1.3.3]# 
> >>>
> >>>
> >>> Any help is appreciated.
> >>>
> >>> Perazim
> >>>
> >>>
> >>>
> >>>
> > 
> > 
> > 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]