opensipstack-devel Mailing List for OpenSIPStack (Page 26)
Brought to you by:
joegenbaclor
You can subscribe to this list here.
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(12) |
Jul
(4) |
Aug
(3) |
Sep
(24) |
Oct
(45) |
Nov
(41) |
Dec
(67) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(51) |
Feb
(93) |
Mar
(54) |
Apr
(76) |
May
(114) |
Jun
(133) |
Jul
(124) |
Aug
(180) |
Sep
(53) |
Oct
(41) |
Nov
(109) |
Dec
(92) |
2008 |
Jan
(52) |
Feb
(40) |
Mar
(29) |
Apr
(40) |
May
(83) |
Jun
(68) |
Jul
(30) |
Aug
(72) |
Sep
(50) |
Oct
(48) |
Nov
(25) |
Dec
(80) |
2009 |
Jan
(9) |
Feb
(2) |
Mar
(32) |
Apr
(67) |
May
|
Jun
(7) |
Jul
(7) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(2) |
2010 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
(10) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(5) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(5) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Manoj K. J. <ma...@as...> - 2008-04-29 12:00:40
|
Ok.. Jeri....If i implement XOR in some other SIP Phone (SDK) ....and use with OpenSBC...will it work in the countries where SIP is blocked? (Like UAE) Manoj -----Original Message----- From: Ilian Jeri C. Pinzon [mailto:ip...@so...] Sent: Tuesday, April 29, 2008 5:11 PM To: ma...@as... Cc: ope...@li...; ope...@op... Subject: Re: [OpenSIPStack] atlSIP control Problem Hi. Can you post the call stack when it crashes? I am not well-versed in VB but my best guess is that you should marshal your DoLogin() to another thread. DoLogin() signals another event which will call one of your event handlers that probably has a MsgBox(..). Calling MsgBox while the UI thread is currently blocked (because of CommandClick) is probably fatal. - Ilian Manoj Kumar Joshi wrote: > Ok.. > > 1- I included Atlsip control from Project-->Components > 2- Placed it on form and given name as a. > 3- Set following properties at design time... > - Account Name = 2464454521517 > - Authentication user = 2464454521517 > - Authentication Password = 1234 > - Proxy Authentication Password = 1234 > - Proxy Authentication User = 2464454521517 > - SIP Server address =208.115.97.10 > - XORHASH = 1 > (Apart from the Sound cards are set properly too) > 4- Following is the code ... > Form Load > ********* > a.InitializeSIP > a.RequireRegistration = 1 > a.RegistrarTTL = 20 > > Command1Click > ************** > a.DoLogin > > Private Sub OpenSIPStackCtl1_OnLoginError(ByVal errorCode As Long, ByVal > errorDesc As String) > MsgBox ("Error: " + errorDesc) > End Sub > > Private Sub OpenSIPStackCtl1_OnLoginSuccessful() > MsgBox ("Success") > End Sub > > Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) > a.DoLogout > 'Set a = Nothing > End Sub > > At server I am running openSBC with XOR. One thing i do not understand is > that at client i see no setting to specify XOR key > > Regards, > > Manoj > > -----Original Message----- > From: Ilian Jeri C. Pinzon [mailto:ip...@so...] > Sent: Tuesday, April 29, 2008 3:14 PM > To: ma...@as...; ope...@li... > Cc: ope...@op... > Subject: Re: [OpenSIPStack] atlSIP control Problem > > > Hi. > > Please send more information about your problem with the appropriate > details. Like, how are you handling the Register error? Does the crash > happen from within ATLSIP? Etc. We can't help you if we have no clue to > what's going on in your setup. > > Thanks! > > - Ilian > > Manoj Kumar Joshi wrote: > >> Hello Guys, >> >> When i use AtlSIP with visual basic, it takes a lot of time to load and >> > send > >> register request. Also it crashes when there is Register error. >> >> Any suggestions? >> >> Regards, >> >> Manoj >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.23.0 - Release Date: 4/15/2008 12:00 > AM > > > > > -- Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.519 / Virus Database: 269.23.0 - Release Date: 4/15/2008 12:00 AM |
From: Ilian J. C. P. <ip...@so...> - 2008-04-29 11:41:23
|
Hi. Can you post the call stack when it crashes? I am not well-versed in VB but my best guess is that you should marshal your DoLogin() to another thread. DoLogin() signals another event which will call one of your event handlers that probably has a MsgBox(..). Calling MsgBox while the UI thread is currently blocked (because of CommandClick) is probably fatal. - Ilian Manoj Kumar Joshi wrote: > Ok.. > > 1- I included Atlsip control from Project-->Components > 2- Placed it on form and given name as a. > 3- Set following properties at design time... > - Account Name = 2464454521517 > - Authentication user = 2464454521517 > - Authentication Password = 1234 > - Proxy Authentication Password = 1234 > - Proxy Authentication User = 2464454521517 > - SIP Server address =208.115.97.10 > - XORHASH = 1 > (Apart from the Sound cards are set properly too) > 4- Following is the code ... > Form Load > ********* > a.InitializeSIP > a.RequireRegistration = 1 > a.RegistrarTTL = 20 > > Command1Click > ************** > a.DoLogin > > Private Sub OpenSIPStackCtl1_OnLoginError(ByVal errorCode As Long, ByVal > errorDesc As String) > MsgBox ("Error: " + errorDesc) > End Sub > > Private Sub OpenSIPStackCtl1_OnLoginSuccessful() > MsgBox ("Success") > End Sub > > Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) > a.DoLogout > 'Set a = Nothing > End Sub > > At server I am running openSBC with XOR. One thing i do not understand is > that at client i see no setting to specify XOR key > > Regards, > > Manoj > > -----Original Message----- > From: Ilian Jeri C. Pinzon [mailto:ip...@so...] > Sent: Tuesday, April 29, 2008 3:14 PM > To: ma...@as...; ope...@li... > Cc: ope...@op... > Subject: Re: [OpenSIPStack] atlSIP control Problem > > > Hi. > > Please send more information about your problem with the appropriate > details. Like, how are you handling the Register error? Does the crash > happen from within ATLSIP? Etc. We can't help you if we have no clue to > what's going on in your setup. > > Thanks! > > - Ilian > > Manoj Kumar Joshi wrote: > >> Hello Guys, >> >> When i use AtlSIP with visual basic, it takes a lot of time to load and >> > send > >> register request. Also it crashes when there is Register error. >> >> Any suggestions? >> >> Regards, >> >> Manoj >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> >> > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao > ne > >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > -- > Internal Virus Database is out-of-date. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.23.0 - Release Date: 4/15/2008 12:00 > AM > > > > > |
From: Manoj K. J. <ma...@as...> - 2008-04-29 10:05:20
|
Ok.. 1- I included Atlsip control from Project-->Components 2- Placed it on form and given name as a. 3- Set following properties at design time... - Account Name = 2464454521517 - Authentication user = 2464454521517 - Authentication Password = 1234 - Proxy Authentication Password = 1234 - Proxy Authentication User = 2464454521517 - SIP Server address =208.115.97.10 - XORHASH = 1 (Apart from the Sound cards are set properly too) 4- Following is the code ... Form Load ********* a.InitializeSIP a.RequireRegistration = 1 a.RegistrarTTL = 20 Command1Click ************** a.DoLogin Private Sub OpenSIPStackCtl1_OnLoginError(ByVal errorCode As Long, ByVal errorDesc As String) MsgBox ("Error: " + errorDesc) End Sub Private Sub OpenSIPStackCtl1_OnLoginSuccessful() MsgBox ("Success") End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) a.DoLogout 'Set a = Nothing End Sub At server I am running openSBC with XOR. One thing i do not understand is that at client i see no setting to specify XOR key Regards, Manoj -----Original Message----- From: Ilian Jeri C. Pinzon [mailto:ip...@so...] Sent: Tuesday, April 29, 2008 3:14 PM To: ma...@as...; ope...@li... Cc: ope...@op... Subject: Re: [OpenSIPStack] atlSIP control Problem Hi. Please send more information about your problem with the appropriate details. Like, how are you handling the Register error? Does the crash happen from within ATLSIP? Etc. We can't help you if we have no clue to what's going on in your setup. Thanks! - Ilian Manoj Kumar Joshi wrote: > Hello Guys, > > When i use AtlSIP with visual basic, it takes a lot of time to load and send > register request. Also it crashes when there is Register error. > > Any suggestions? > > Regards, > > Manoj > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > -- Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.519 / Virus Database: 269.23.0 - Release Date: 4/15/2008 12:00 AM |
From: Ilian J. C. P. <ip...@so...> - 2008-04-29 09:44:02
|
Hi. Please send more information about your problem with the appropriate details. Like, how are you handling the Register error? Does the crash happen from within ATLSIP? Etc. We can't help you if we have no clue to what's going on in your setup. Thanks! - Ilian Manoj Kumar Joshi wrote: > Hello Guys, > > When i use AtlSIP with visual basic, it takes a lot of time to load and send > register request. Also it crashes when there is Register error. > > Any suggestions? > > Regards, > > Manoj > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Manoj K. J. <ma...@as...> - 2008-04-29 09:30:39
|
Hello Guys, When i use AtlSIP with visual basic, it takes a lot of time to load and send register request. Also it crashes when there is Register error. Any suggestions? Regards, Manoj |
From: Manoj K. J. <ma...@as...> - 2008-04-29 09:21:33
|
Hey, This is the link helped me... http://www.opensourcesip.org:8080/clearspacex/docs/DOC-1005;jsessionid=AB00B 137D3028D81AA61305906167707 Let me know if you face any problem. Manoj -----Original Message----- From: ope...@li... [mailto:ope...@li...]On Behalf Of ope...@op... Sent: Monday, April 30, 2007 9:19 PM To: ope...@li... Subject: [OpenSIPStack] OpenSIPStack Compilation Error(continued) Hi Joegen, As instructed on the documentation page, I did n it still has the problem while compilation under linux. However, on windows I used Visual Studio to compile and build there'' s no problem. I think I already have the latest version of the 2 files : opensbc-1.1.2 opensipstack-1.1.5. I installed also the latest version of make and gcc compiler under my linux but it still has the problem as mentionned in the last message. Could you help to get this straigh please ? Inhere, I please have a look at the result''s of ''configure'' and ''make''. Here is the list of results of configure execution: _______________________________________ ws:~/oss/opensipstack-1.1.5# ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes configure: PTLib version is 1.1.5 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu configure: OSTYPE set to linux configure: OSRELEASE set to "2.6.8-2-386" configure: MACHTYPE set to x86 configure: gcc version is 3.3.5 checking checking if pragma implementation should be used... yes checking whether byte ordering is bigendian... no checking if linker accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for int... yes checking size of int... 4 checking for working long double with more range or precision than double... yes checking for flex... /usr/bin/flex checking for ar... /usr/bin/ar checking for bison... /usr/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes checking for recvmsg... yes checking if using STL streams... yes checking if atomic integer available... yes checking if __exchange_and_add is in __gnu_cxx namespace... no checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking if pthread_mutex_timedlock is available... yes checking for sem_timedwait in -lpthread... yes checking if sem_timedwait is compilable... yes checking if recursive mutexes are available... yes checking how to run the C++ preprocessor... g++ -E checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes configure: Forcing use of internal regex library checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if dlopen is available... yes checking for dlopen in -ldl... yes checking if plugins support needs to be compiled... enabling plugin by default plugins enabled checking for res_ninit... no checking for res_ninit in -lresolv... yes configure: SASL disabled configure: OpenSSL disabled checking expat.h usability... no checking expat.h presence... no checking for expat.h... no checking for /usr/local/include/expat.h... no configure: Jabber disabled configure: Text-to-speech disabled checking for IPv6 support... yes checking SDL/SDL.h usability... no checking SDL/SDL.h presence... no checking for SDL/SDL.h... no checking for /usr/local/include/SDL11/SDL.h... no configure: Video Plugin Capture support enabled configure: ASN decoding/encoding support disabled configure: FTP protocol support disabled configure: SNMP protocol support disabled configure: Telnet protocol support disabled configure: Remote connection support disabled configure: POP3/SMTP protocol support disabled configure: Socket aggregation support disabled configure: Video file support enabled checking for swab... yes configure: Skipping tests for RFC 2190 H.263 support checking for short... yes checking size of short... 2 checking for int... (cached) yes checking size of int... (cached) 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking speex.h usability... no checking speex.h presence... no checking for speex.h... no checking speex/speex.h usability... no checking speex/speex.h presence... no checking for speex/speex.h... no checking for speex_encoder_destroy in -lspeex... no configure: Forcing use of OPAL Speex library checking iLBC codec... not present checking linux/telephony.h usability... yes checking linux/telephony.h presence... yes checking for linux/telephony.h... yes checking sys/telephony.h usability... no checking sys/telephony.h presence... no checking for sys/telephony.h... no checking /usr/local/include/sys/telephony.h usability... no checking /usr/local/include/sys/telephony.h presence... no checking for /usr/local/include/sys/telephony.h... no checking if ixjuser.h actually compiles... no checking Voicetronix vpb... disabled checking /usr/local/include/libpri.h usability... no checking /usr/local/include/libpri.h presence... no checking for /usr/local/include/libpri.h... no OpenSIPStack version is 1.1.5 checking for /root/oss/opensipstack-1.1.5/external/sqlite/.libs/libsqlite3.a... no SQLITE support DISABLED... OPAL support ENABLED... checking for /root/oss/opensipstack-1.1.5/external/jingle/talk/xmpp/xmppclient.h ... no XMPP support DISABLED... checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating make/opensipstack.mak config.status: creating Makefile config.status: creating src/Makefile config.status: creating make/ptbuildopts.mak config.status: creating make/ptlib-config config.status: creating src/pwlib/Makefile config.status: creating src/pwlib/plugins/Makefile config.status: creating include/ossbuildopts.h config.status: include/ossbuildopts.h is unchanged config.status: creating include/ptbuildopts.h config.status: include/ptbuildopts.h is unchanged config.status: creating include/opal/buildopts.h config.status: include/opal/buildopts.h is unchanged Here is the list of make command result (errors) _________________________________ ws:~/oss/opensipstack-1.1.5# make bothnoshared make optnoshared debugnoshared make[1]: Entering directory `/root/oss/opensipstack-1.1.5'' make P_SHAREDLIB=0 opt make[2]: Entering directory `/root/oss/opensipstack-1.1.5'' set -e; make -C src/pwlib opt; make -C src opt; make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib'' set -e; make -C src/ptlib/unix opt; make -C plugins opt; make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Nothing to be done for `opt''. make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' set -e; make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib'' make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src'' g++ -DP_USE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -DP_U SE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -Wall -DPTRAC ING -I/root/oss/opensipstack-1.1.5/include -I/root/oss/opensipstack-1.1.5/in clude -DPTRACING -I/root/oss/opensipstack-1.1.5/include -Os -felide-constr uctors -Wreorder -c SoftPhone.cxx -o /root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o In file included from SoftPhone.cxx:124: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:264: error: parse error before `{'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `BOOL InternalIsDescendant(const char*)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `BOOL InternalIsDescendant(const char*)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual BOOL OpalManager::InternalIsDescendant(const char*) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `const char* GetClass(unsigned int)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const char* GetClass(unsigned int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual const char* OpalManager::GetClass(unsigned int) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: `SoftPhoneManager'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: (Each undeclared identifier is reported only once for each function it appears in.) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: parse error before `::'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: syntax error before `('' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:278: error: ` SoftPhoneInterface'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: ISO C++ forbids declaration of `SoftPhoneManager'' with no type /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: `int SoftPhoneManager(...)'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: destructors must be member functions /root/oss/opensipstack-1.1.5/include/SoftPhone.h:358: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:362: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:366: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function ` PSafePtr<OpalCall> GetCall()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: ` m_CurrentCallToken'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: `FindCallWithLock'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:371: error: parse error before `private'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:379: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:384: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:392: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:397: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:408: error: parse error before `public'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: `CallState'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:437: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: non-member function `const PString& GetUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: `m_UserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: non-member function `const PString& GetDisplayName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetDisplayName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: `m_DisplayName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: non-member function `const PString& GetRegistrarAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: ` m_RegistrarAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: non-member function `const PString& GetRegistrarUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: ` m_RegistrarUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: non-member function `const PString& GetRegistrarPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: ` m_RegistrarPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: non-member function `int GetRegistrarTTL()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `int GetRegistrarTTL()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: `m_RegistrarTTL'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetRegistrarTTL(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:450: error: `m_SIPEndPoint'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: non-member function `const PString& GetProxyAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: `m_ProxyAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: non-member function `const PString& GetProxyUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: `m_ProxyUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: non-member function `const PString& GetProxyPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: `m_ProxyPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: non-member function `const PString& GetSIPDomain()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetSIPDomain()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: `m_SIPDomain'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: non-member function `const PStringArray& GetMediaFormats()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PStringArray& GetMediaFormats()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: `m_MediaFormats'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: non-member function `const PString& GetPlayDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetPlayDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: ` m_DefaultAudioPlayDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: non-member function `const PString& GetRecordDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRecordDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: ` m_DefaultAudioRecordDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetXORHash(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:466: error: `m_XORHash'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:467: error: non-member function `BOOL IsXORHashSet()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h:468: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:473: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:474: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:475: error: `PString m_UserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:476: error: `PString m_DisplayName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:477: error: `PString m_RegistrarAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:478: error: `PString m_RegistrarUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:479: error: `PString m_RegistrarPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:480: error: `PString m_ProxyAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:481: error: `PString m_ProxyUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:482: error: `PString m_ProxyPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:483: error: `PString m_SIPDomain'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:484: error: '' SoftPhoneMediaList'' is used as a type, but is not defined as a type. /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: `PString m_CurrentCallToken'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:489: error: `PStringArray m_MediaFormats'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: `PString m_DefaultAudioPlayDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: `PString m_DefaultAudioRecordDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:496: error: syntax error before `*'' token SoftPhone.cxx:140: error: syntax error before `::'' token SoftPhone.cxx:145: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:145: error: `int m_SIPEndPoint'' used prior to declaration SoftPhone.cxx:145: warning: converting to non-pointer type `int'' from NULL SoftPhone.cxx:146: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:146: error: `IdleState'' was not declared in this scope SoftPhone.cxx:148: error: ISO C++ forbids declaration of ` m_DefaultAudioPlayDevice'' with no type SoftPhone.cxx:148: error: conflicting types for `int m_DefaultAudioPlayDevice'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: previous declaration as `PString m_DefaultAudioPlayDevice'' SoftPhone.cxx:149: error: ISO C++ forbids declaration of ` m_DefaultAudioRecordDevice'' with no type SoftPhone.cxx:149: error: conflicting types for `int m_DefaultAudioRecordDevice '' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: previous declaration as `PString m_DefaultAudioRecordDevice'' SoftPhone.cxx:150: error: ISO C++ forbids declaration of `m_RegistrarTTL'' with no type SoftPhone.cxx:150: error: redefinition of `int m_RegistrarTTL'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' previously declared here SoftPhone.cxx:152: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:152: error: redefinition of `int m_IsInitialized'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:493: error: `BOOL m_IsInitialized'' previously declared here SoftPhone.cxx:153: error: ISO C++ forbids declaration of `m_SoftPhoneInterface'' with no type SoftPhone.cxx:153: error: parse error before `;'' token SoftPhone.cxx:154: error: ISO C++ forbids declaration of `m_XORHash'' with no type SoftPhone.cxx:154: error: redefinition of `int m_XORHash'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' previously declared here SoftPhone.cxx:160: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:160: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:161: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:161: error: redefinition of `int AddRouteEntry'' SoftPhone.cxx:160: error: `int AddRouteEntry'' previously defined here SoftPhone.cxx:161: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:162: error: ISO C++ forbids declaration of `m_PCSSEndPoint'' with no type SoftPhone.cxx:162: error: invalid use of `this'' at top level SoftPhone.cxx:163: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:163: error: redefinition of `int m_SIPEndPoint'' SoftPhone.cxx:145: error: `int m_SIPEndPoint'' previously defined here SoftPhone.cxx:163: error: invalid use of `this'' at top level SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:165: error: `int InitMediaInfo'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:404: error: previous declaration of `void InitMediaInfo(const char*, const OpalMediaFormatList&)'' SoftPhone.cxx:165: error: initializer list being treated as compound expression SoftPhone.cxx:168: error: syntax error before `+='' token SoftPhone.cxx:170: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:170: error: redefinition of `int InitMediaInfo'' SoftPhone.cxx:165: error: `int InitMediaInfo'' previously defined here SoftPhone.cxx:170: error: initializer list being treated as compound expression SoftPhone.cxx:170: error: cannot convert `OpalMediaFormatList'' to `int'' in initialization SoftPhone.cxx:172: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:172: error: new declaration `int ApplyMediaInfo()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:406: error: ambiguates old declaration `void ApplyMediaInfo()'' SoftPhone.cxx:173: error: parse error before `}'' token SoftPhone.cxx:176: error: syntax error before `::'' token SoftPhone.cxx:181: error: syntax error before `::'' token SoftPhone.cxx:193: error: syntax error before `->'' token SoftPhone.cxx:194: error: syntax error before `->'' token SoftPhone.cxx:195: error: syntax error before `->'' token SoftPhone.cxx:196: error: ISO C++ forbids declaration of `SetAudioJitterDelay'' with no type SoftPhone.cxx:196: error: initializer list being treated as compound expression SoftPhone.cxx:209: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:213: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:213: error: parse error before `->'' token SoftPhone.cxx:220: error: syntax error before `::'' token SoftPhone.cxx:226: error: syntax error before `::'' token SoftPhone.cxx:233: error: syntax error before `::'' token SoftPhone.cxx:240: error: syntax error before `::'' token SoftPhone.cxx:245: error: syntax error before `->'' token SoftPhone.cxx:248: error: syntax error before `::'' token SoftPhone.cxx:253: error: syntax error before `->'' token SoftPhone.cxx:257: error: syntax error before `::'' token SoftPhone.cxx:262: error: parse error before `if'' SoftPhone.cxx:268: error: ISO C++ forbids declaration of `SetDefaultLogFile'' with no type SoftPhone.cxx:268: error: `int Tools::Logger::SetDefaultLogFile'' is not a static member of `class Tools::Logger'' SoftPhone.cxx:268: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:271: error: parse error before `{'' token SoftPhone.cxx:271: error: syntax error before `<<'' token SoftPhone.cxx:277: error: parse error before `;'' token SoftPhone.cxx:277: error: syntax error before `++'' token SoftPhone.cxx:289: error: syntax error before `->'' token SoftPhone.cxx:290: error: ISO C++ forbids declaration of `SetDefaultUserName'' with no type SoftPhone.cxx:290: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:292: error: syntax error before `->'' token SoftPhone.cxx:293: error: ISO C++ forbids declaration of `SetDefaultDisplayName '' with no type SoftPhone.cxx:293: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:295: error: syntax error before `->'' token SoftPhone.cxx:296: error: syntax error before `->'' token SoftPhone.cxx:297: error: syntax error before `->'' token SoftPhone.cxx:298: error: syntax error before `->'' token SoftPhone.cxx:299: error: syntax error before `->'' token SoftPhone.cxx:300: error: syntax error before `->'' token SoftPhone.cxx:301: error: syntax error before `->'' token SoftPhone.cxx:303: error: syntax error before `->'' token SoftPhone.cxx:304: error: syntax error before `->'' token SoftPhone.cxx:305: error: syntax error before `->'' token SoftPhone.cxx:307: error: syntax error before `->'' token SoftPhone.cxx:308: error: syntax error before `->'' token SoftPhone.cxx:309: error: syntax error before `->'' token SoftPhone.cxx:310: error: syntax error before `->'' token SoftPhone.cxx:314: error: parse error before `if'' SoftPhone.cxx:318: error: redefinition of `BOOL ok'' SoftPhone.cxx:312: error: `BOOL ok'' previously defined here SoftPhone.cxx:318: error: base operand of `->'' is not a pointer SoftPhone.cxx:320: error: parse error before `{'' token SoftPhone.cxx:320: error: syntax error before `<<'' token SoftPhone.cxx:325: error: ISO C++ forbids declaration of `ok'' with no type SoftPhone.cxx:325: error: redefinition of `int ok'' SoftPhone.cxx:318: error: `BOOL ok'' previously defined here SoftPhone.cxx:325: error: `rpcMethods'' undeclared (first use this function) SoftPhone.cxx:325: error: `Initialize'' undeclared (first use this function) SoftPhone.cxx:326: error: parse error before `}'' token SoftPhone.cxx:334: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: parse error before `->'' token SoftPhone.cxx:338: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:338: error: redefinition of `int m_IsInitialized'' SoftPhone.cxx:152: error: `int m_IsInitialized'' previously defined here SoftPhone.cxx:340: error: parse error before `return'' SoftPhone.cxx:344: error: syntax error before `::'' token SoftPhone.cxx:349: error: `address'' undeclared (first use this function) SoftPhone.cxx:351: error: parse error before `if'' SoftPhone.cxx:361: error: parse error before `if'' SoftPhone.cxx:367: error: parse error before `if'' SoftPhone.cxx:376: error: syntax error before `.'' token SoftPhone.cxx:377: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:377: error: conflicting types for `int dest'' SoftPhone.cxx:349: error: previous declaration as `PString dest'' SoftPhone.cxx:377: error: `destURI'' undeclared (first use this function) SoftPhone.cxx:378: error: parse error before `}'' token SoftPhone.cxx:383: error: syntax error before `.'' token SoftPhone.cxx:384: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:384: error: redefinition of `int dest'' SoftPhone.cxx:377: error: `int dest'' previously defined here SoftPhone.cxx:385: error: parse error before `}'' token SoftPhone.cxx:388: error: syntax error before `.'' token SoftPhone.cxx:389: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:389: error: redefinition of `int dest'' SoftPhone.cxx:384: error: `int dest'' previously defined here SoftPhone.cxx:390: error: parse error before `}'' token SoftPhone.cxx:393: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:393: error: new declaration `int StopRinging()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:432: error: ambiguates old declaration `void StopRinging()'' SoftPhone.cxx:394: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: parse error before `->'' token SoftPhone.cxx:404: error: `CallingState'' undeclared (first use this function) SoftPhone.cxx:404: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:404: error: `int SetState'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:419: error: previous declaration of `void SetState(...)'' SoftPhone.cxx:408: error: syntax error before `.'' token SoftPhone.cxx:409: error: ISO C++ forbids declaration of `SetUpCall'' with no type SoftPhone.cxx:409: error: initializer list being treated as compound expression SoftPhone.cxx:409: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:410: error: parse error before `}'' token SoftPhone.cxx:413: error: syntax error before `::'' token SoftPhone.cxx:430: error: redefinition of `PINDEX pos'' SoftPhone.cxx:360: error: `PINDEX pos'' previously declared here SoftPhone.cxx:430: error: redefinition of `PINDEX len'' SoftPhone.cxx:360: error: `PINDEX len'' previously declared here SoftPhone.cxx:431: error: parse error before `if'' SoftPhone.cxx:441: error: syntax error before `.'' token SoftPhone.cxx:442: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:442: error: redefinition of `int dest'' SoftPhone.cxx:389: error: `int dest'' previously defined here SoftPhone.cxx:443: error: parse error before `}'' token SoftPhone.cxx:448: error: syntax error before `.'' token SoftPhone.cxx:449: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:449: error: redefinition of `int dest'' SoftPhone.cxx:442: error: `int dest'' previously defined here SoftPhone.cxx:450: error: parse error before `}'' token SoftPhone.cxx:453: error: syntax error before `.'' token SoftPhone.cxx:454: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:454: error: redefinition of `int dest'' SoftPhone.cxx:449: error: `int dest'' previously defined here SoftPhone.cxx:455: error: parse error before `}'' token SoftPhone.cxx:462: error: syntax error before `->'' token SoftPhone.cxx:467: error: syntax error before `::'' token SoftPhone.cxx:474: error: `AnsweringState'' undeclared (first use this function) SoftPhone.cxx:474: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:474: error: redefinition of `int SetState'' SoftPhone.cxx:404: error: `int SetState'' previously defined here SoftPhone.cxx:475: error: syntax error before `->'' token SoftPhone.cxx:478: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:479: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: parse error before `->'' token SoftPhone.cxx:483: error: syntax error before `::'' token SoftPhone.cxx:486: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:486: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:487: error: `IdleState'' undeclared (first use this function) SoftPhone.cxx:487: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:487: error: redefinition of `int SetState'' SoftPhone.cxx:474: error: `int SetState'' previously defined here SoftPhone.cxx:488: error: parse error before `}'' token SoftPhone.cxx:491: error: syntax error before `::'' token SoftPhone.cxx:498: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:498: error: redefinition of `int ClearCall'' SoftPhone.cxx:486: error: `int ClearCall'' previously defined here SoftPhone.cxx:498: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:499: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:499: error: redefinition of `int SetState'' SoftPhone.cxx:487: error: `int SetState'' previously defined here SoftPhone.cxx:500: error: parse error before `}'' token SoftPhone.cxx:503: error: syntax error before `::'' token SoftPhone.cxx:508: error: ISO C++ forbids declaration of ` m_CurrentConnectionToken'' with no type SoftPhone.cxx:508: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:485: error: previous external decl of `PString m_CurrentConnectionToken'' SoftPhone.cxx:508: error: `connection'' undeclared (first use this function) SoftPhone.cxx:509: error: ISO C++ forbids declaration of `m_CurrentCallToken'' with no type SoftPhone.cxx:509: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: previous external decl of `PString m_CurrentCallToken'' SoftPhone.cxx:510: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:510: error: redefinition of `int m_CallState'' SoftPhone.cxx:146: error: `int m_CallState'' previously defined here SoftPhone.cxx:510: error: `RingingState'' undeclared (first use this function) SoftPhone.cxx:512: error: syntax error before `<<'' token SoftPhone.cxx:515: error: syntax error before `::'' token SoftPhone.cxx:521: error: parse error before `if'' SoftPhone.cxx:533: error: `message'' undeclared (first use this function) SoftPhone.cxx:536: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: parse error before `->'' token SoftPhone.cxx:542: error: syntax error before `::'' token SoftPhone.cxx:549: error: syntax error before `::'' token SoftPhone.cxx:556: error: syntax error before `::'' token SoftPhone.cxx:559: error: `InCallState'' undeclared (first use this function) SoftPhone.cxx:559: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:559: error: redefinition of `int SetState'' SoftPhone.cxx:499: error: `int SetState'' previously defined here SoftPhone.cxx:560: error: parse error before `}'' token SoftPhone.cxx:563: error: syntax error before `::'' token SoftPhone.cxx:611: error: syntax error before `<<'' token SoftPhone.cxx:613: error: redefinition of `PTime now'' SoftPhone.cxx:406: error: `PTime now'' previously declared here SoftPhone.cxx:614: error: syntax error before `<<'' token SoftPhone.cxx:621: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:622: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: parse error before `->'' token SoftPhone.cxx:625: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:625: error: redefinition of `int SetState'' SoftPhone.cxx:559: error: `int SetState'' previously defined here SoftPhone.cxx:626: error: parse error before `}'' token SoftPhone.cxx:629: error: syntax error before `::'' token SoftPhone.cxx:635: error: parse error before `if'' SoftPhone.cxx:640: error: syntax error before `<<'' token SoftPhone.cxx:647: error: syntax error before `<<'' token SoftPhone.cxx:654: error: syntax error before `<<'' token SoftPhone.cxx:662: error: syntax error before `::'' token SoftPhone.cxx:675: error: syntax error before `->'' token SoftPhone.cxx:679: error: syntax error before `->'' token SoftPhone.cxx:685: error: syntax error before `::'' token SoftPhone.cxx:712: error: syntax error before `::'' token SoftPhone.cxx:715: error: `value'' undeclared (first use this function) SoftPhone.cxx:715: error: ISO C++ forbids declaration of `OnUserInputString'' with no type SoftPhone.cxx:715: error: `int OpalManager::OnUserInputString'' is not a static member of `class OpalManager'' SoftPhone.cxx:715: error: initializer list being treated as compound expression SoftPhone.cxx:716: error: parse error before `}'' token SoftPhone.cxx:719: error: syntax error before `::'' token SoftPhone.cxx:724: error: syntax error before `::'' token SoftPhone.cxx:733: error: parse error before `&&'' token SoftPhone.cxx:738: error: syntax error before `::'' token SoftPhone.cxx:746: error: syntax error before `::'' token SoftPhone.cxx:751: error: syntax error before `->'' token SoftPhone.cxx:761: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: parse error before `->'' token SoftPhone.cxx:773: error: syntax error before `::'' token SoftPhone.cxx:775: error: parse error before `;'' token SoftPhone.cxx:775: error: syntax error before `++'' token SoftPhone.cxx:780: error: syntax error before `.'' token SoftPhone.cxx:786: error: syntax error before `::'' token SoftPhone.cxx:790: error: syntax error before `.'' token SoftPhone.cxx:792: error: syntax error before `!='' token SoftPhone.cxx:805: error: `mediaFormatMask'' undeclared (first use this function) SoftPhone.cxx:805: error: ISO C++ forbids declaration of `SetMediaFormatMask'' with no type SoftPhone.cxx:806: error: parse error before `}'' token SoftPhone.cxx:809: error: syntax error before `::'' token SoftPhone.cxx:816: error: syntax error before `*'' token SoftPhone.cxx:818: error: `PStringToString*acct'' redeclared as different kind of symbol /usr/include/unistd.h:825: error: previous declaration of `int acct(const char*)'' SoftPhone.cxx:819: error: syntax error before `->'' token SoftPhone.cxx:820: error: syntax error before `.'' token SoftPhone.cxx:822: error: syntax error before `->'' token SoftPhone.cxx:839: error: `data'' undeclared (first use this function) SoftPhone.cxx:840: error: parse error before `if'' SoftPhone.cxx:851: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhonePCSSEndPoint::OnShowIncoming(const OpalPCSSConnection&)'': SoftPhone.cxx:867: error: `OnRinging'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhonePCSSEndPoint::OnShowOutgoing(const OpalPCSSConnection&)'': SoftPhone.cxx:883: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationAccepted(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:896: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationRejected(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:915: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationTimeout(UACORE::RegisterSession&)'': SoftPhone.cxx:925: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnUnregistration(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:936: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnConnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:946: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:947: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnDisconnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1107: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1107: error: parse error before `::'' token SoftPhone.cxx:1108: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:1109: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhoneSIPEndPoint::OnIncomingConnection(const SIPParser::SIPMessage&, UACORE::CallSession&)'': SoftPhone.cxx:1117: error: `GetState'' undeclared (first use this function) SoftPhone.cxx:1117: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1117: error: parse error before `::'' token SoftPhone.cxx:1127: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1128: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnAlerting(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1149: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1150: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnProgress(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1162: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnReceivedInstantMessage(const SIPParser::SIPMessage&)'': SoftPhone.cxx:1169: error: `OnReceivedInstantMessage'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOnline(const SIPParser::SIPURI&)'': SoftPhone.cxx:1176: error: `OnRegEventStateOnline'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOffLine(const SIPParser::SIPURI&)'': SoftPhone.cxx:1183: error: `OnRegEventStateOffLine'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual OPAL::OpalOSSConnection* SF::SoftPhoneSIPEndPoint::CreateConnection(OpalCall&, const PString&, const PString&, void*)'': SoftPhone.cxx:1194: error: `IsXORHashSet'' undeclared (first use this function) SoftPhone.cxx:1200: error: syntax error before `::'' token SoftPhone.cxx:1208: error: redefinition of `PString body'' SoftPhone.cxx:520: error: `PString body'' previously declared here SoftPhone.cxx:1208: confused by earlier errors, bailing out make[3]: *** [/root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o] Error 1 make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src'' make[2]: *** [opt] Error 2 make[2]: Leaving directory `/root/oss/opensipstack-1.1.5'' make[1]: *** [optnoshared] Error 2 make[1]: Leaving directory `/root/oss/opensipstack-1.1.5'' make: *** [bothnoshared] Error 2 Thanks in advance, Cordially, Kolneath SOMETH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao ne _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel -- Internal Virus Database is out-of-date. Checked by AVG. Version: 7.5.519 / Virus Database: 269.23.0 - Release Date: 4/15/2008 12:00 AM |
From: <ope...@op...> - 2008-04-29 02:14:40
|
Hi Joegen, As instructed on the documentation page, I did n it still has the problem while compilation under linux. However, on windows I used Visual Studio to compile and build there'' s no problem. I think I already have the latest version of the 2 files : opensbc-1.1.2 opensipstack-1.1.5. I installed also the latest version of make and gcc compiler under my linux but it still has the problem as mentionned in the last message. Could you help to get this straigh please ? Inhere, I please have a look at the result''s of ''configure'' and ''make''. Here is the list of results of configure execution: _______________________________________ ws:~/oss/opensipstack-1.1.5# ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes configure: PTLib version is 1.1.5 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu configure: OSTYPE set to linux configure: OSRELEASE set to "2.6.8-2-386" configure: MACHTYPE set to x86 configure: gcc version is 3.3.5 checking checking if pragma implementation should be used... yes checking whether byte ordering is bigendian... no checking if linker accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for int... yes checking size of int... 4 checking for working long double with more range or precision than double... yes checking for flex... /usr/bin/flex checking for ar... /usr/bin/ar checking for bison... /usr/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes checking for recvmsg... yes checking if using STL streams... yes checking if atomic integer available... yes checking if __exchange_and_add is in __gnu_cxx namespace... no checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking if pthread_mutex_timedlock is available... yes checking for sem_timedwait in -lpthread... yes checking if sem_timedwait is compilable... yes checking if recursive mutexes are available... yes checking how to run the C++ preprocessor... g++ -E checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes configure: Forcing use of internal regex library checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if dlopen is available... yes checking for dlopen in -ldl... yes checking if plugins support needs to be compiled... enabling plugin by default plugins enabled checking for res_ninit... no checking for res_ninit in -lresolv... yes configure: SASL disabled configure: OpenSSL disabled checking expat.h usability... no checking expat.h presence... no checking for expat.h... no checking for /usr/local/include/expat.h... no configure: Jabber disabled configure: Text-to-speech disabled checking for IPv6 support... yes checking SDL/SDL.h usability... no checking SDL/SDL.h presence... no checking for SDL/SDL.h... no checking for /usr/local/include/SDL11/SDL.h... no configure: Video Plugin Capture support enabled configure: ASN decoding/encoding support disabled configure: FTP protocol support disabled configure: SNMP protocol support disabled configure: Telnet protocol support disabled configure: Remote connection support disabled configure: POP3/SMTP protocol support disabled configure: Socket aggregation support disabled configure: Video file support enabled checking for swab... yes configure: Skipping tests for RFC 2190 H.263 support checking for short... yes checking size of short... 2 checking for int... (cached) yes checking size of int... (cached) 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking speex.h usability... no checking speex.h presence... no checking for speex.h... no checking speex/speex.h usability... no checking speex/speex.h presence... no checking for speex/speex.h... no checking for speex_encoder_destroy in -lspeex... no configure: Forcing use of OPAL Speex library checking iLBC codec... not present checking linux/telephony.h usability... yes checking linux/telephony.h presence... yes checking for linux/telephony.h... yes checking sys/telephony.h usability... no checking sys/telephony.h presence... no checking for sys/telephony.h... no checking /usr/local/include/sys/telephony.h usability... no checking /usr/local/include/sys/telephony.h presence... no checking for /usr/local/include/sys/telephony.h... no checking if ixjuser.h actually compiles... no checking Voicetronix vpb... disabled checking /usr/local/include/libpri.h usability... no checking /usr/local/include/libpri.h presence... no checking for /usr/local/include/libpri.h... no OpenSIPStack version is 1.1.5 checking for /root/oss/opensipstack-1.1.5/external/sqlite/.libs/libsqlite3.a... no SQLITE support DISABLED... OPAL support ENABLED... checking for /root/oss/opensipstack-1.1.5/external/jingle/talk/xmpp/xmppclient.h ... no XMPP support DISABLED... checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating make/opensipstack.mak config.status: creating Makefile config.status: creating src/Makefile config.status: creating make/ptbuildopts.mak config.status: creating make/ptlib-config config.status: creating src/pwlib/Makefile config.status: creating src/pwlib/plugins/Makefile config.status: creating include/ossbuildopts.h config.status: include/ossbuildopts.h is unchanged config.status: creating include/ptbuildopts.h config.status: include/ptbuildopts.h is unchanged config.status: creating include/opal/buildopts.h config.status: include/opal/buildopts.h is unchanged Here is the list of make command result (errors) _________________________________ ws:~/oss/opensipstack-1.1.5# make bothnoshared make optnoshared debugnoshared make[1]: Entering directory `/root/oss/opensipstack-1.1.5'' make P_SHAREDLIB=0 opt make[2]: Entering directory `/root/oss/opensipstack-1.1.5'' set -e; make -C src/pwlib opt; make -C src opt; make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib'' set -e; make -C src/ptlib/unix opt; make -C plugins opt; make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Nothing to be done for `opt''. make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' set -e; make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib'' make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src'' g++ -DP_USE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -DP_USE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -Wall -DPTRACING -I/root/oss/opensipstack-1.1.5/include -I/root/oss/opensipstack-1.1.5/include -DPTRACING -I/root/oss/opensipstack-1.1.5/include -Os -felide-constructors -Wreorder -c SoftPhone.cxx -o /root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o In file included from SoftPhone.cxx:124: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:264: error: parse error before `{'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `BOOL InternalIsDescendant(const char*)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `BOOL InternalIsDescendant(const char*)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual BOOL OpalManager::InternalIsDescendant(const char*) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `const char* GetClass(unsigned int)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const char* GetClass(unsigned int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual const char* OpalManager::GetClass(unsigned int) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: `SoftPhoneManager'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: (Each undeclared identifier is reported only once for each function it appears in.) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: parse error before `::'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: syntax error before `('' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:278: error: ` SoftPhoneInterface'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: ISO C++ forbids declaration of `SoftPhoneManager'' with no type /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: `int SoftPhoneManager(...)'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: destructors must be member functions /root/oss/opensipstack-1.1.5/include/SoftPhone.h:358: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:362: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:366: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function ` PSafePtr<OpalCall> GetCall()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: ` m_CurrentCallToken'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: `FindCallWithLock'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:371: error: parse error before `private'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:379: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:384: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:392: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:397: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:408: error: parse error before `public'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: `CallState'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:437: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: non-member function `const PString& GetUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: `m_UserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: non-member function `const PString& GetDisplayName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetDisplayName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: `m_DisplayName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: non-member function `const PString& GetRegistrarAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: ` m_RegistrarAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: non-member function `const PString& GetRegistrarUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: ` m_RegistrarUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: non-member function `const PString& GetRegistrarPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: ` m_RegistrarPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: non-member function `int GetRegistrarTTL()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `int GetRegistrarTTL()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: `m_RegistrarTTL'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetRegistrarTTL(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:450: error: `m_SIPEndPoint'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: non-member function `const PString& GetProxyAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: `m_ProxyAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: non-member function `const PString& GetProxyUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: `m_ProxyUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: non-member function `const PString& GetProxyPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: `m_ProxyPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: non-member function `const PString& GetSIPDomain()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetSIPDomain()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: `m_SIPDomain'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: non-member function `const PStringArray& GetMediaFormats()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PStringArray& GetMediaFormats()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: `m_MediaFormats'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: non-member function `const PString& GetPlayDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetPlayDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: ` m_DefaultAudioPlayDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: non-member function `const PString& GetRecordDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRecordDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: ` m_DefaultAudioRecordDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetXORHash(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:466: error: `m_XORHash'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:467: error: non-member function `BOOL IsXORHashSet()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h:468: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:473: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:474: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:475: error: `PString m_UserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:476: error: `PString m_DisplayName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:477: error: `PString m_RegistrarAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:478: error: `PString m_RegistrarUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:479: error: `PString m_RegistrarPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:480: error: `PString m_ProxyAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:481: error: `PString m_ProxyUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:482: error: `PString m_ProxyPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:483: error: `PString m_SIPDomain'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:484: error: '' SoftPhoneMediaList'' is used as a type, but is not defined as a type. /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: `PString m_CurrentCallToken'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:489: error: `PStringArray m_MediaFormats'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: `PString m_DefaultAudioPlayDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: `PString m_DefaultAudioRecordDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:496: error: syntax error before `*'' token SoftPhone.cxx:140: error: syntax error before `::'' token SoftPhone.cxx:145: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:145: error: `int m_SIPEndPoint'' used prior to declaration SoftPhone.cxx:145: warning: converting to non-pointer type `int'' from NULL SoftPhone.cxx:146: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:146: error: `IdleState'' was not declared in this scope SoftPhone.cxx:148: error: ISO C++ forbids declaration of ` m_DefaultAudioPlayDevice'' with no type SoftPhone.cxx:148: error: conflicting types for `int m_DefaultAudioPlayDevice'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: previous declaration as `PString m_DefaultAudioPlayDevice'' SoftPhone.cxx:149: error: ISO C++ forbids declaration of ` m_DefaultAudioRecordDevice'' with no type SoftPhone.cxx:149: error: conflicting types for `int m_DefaultAudioRecordDevice '' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: previous declaration as `PString m_DefaultAudioRecordDevice'' SoftPhone.cxx:150: error: ISO C++ forbids declaration of `m_RegistrarTTL'' with no type SoftPhone.cxx:150: error: redefinition of `int m_RegistrarTTL'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' previously declared here SoftPhone.cxx:152: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:152: error: redefinition of `int m_IsInitialized'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:493: error: `BOOL m_IsInitialized'' previously declared here SoftPhone.cxx:153: error: ISO C++ forbids declaration of `m_SoftPhoneInterface'' with no type SoftPhone.cxx:153: error: parse error before `;'' token SoftPhone.cxx:154: error: ISO C++ forbids declaration of `m_XORHash'' with no type SoftPhone.cxx:154: error: redefinition of `int m_XORHash'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' previously declared here SoftPhone.cxx:160: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:160: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:161: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:161: error: redefinition of `int AddRouteEntry'' SoftPhone.cxx:160: error: `int AddRouteEntry'' previously defined here SoftPhone.cxx:161: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:162: error: ISO C++ forbids declaration of `m_PCSSEndPoint'' with no type SoftPhone.cxx:162: error: invalid use of `this'' at top level SoftPhone.cxx:163: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:163: error: redefinition of `int m_SIPEndPoint'' SoftPhone.cxx:145: error: `int m_SIPEndPoint'' previously defined here SoftPhone.cxx:163: error: invalid use of `this'' at top level SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:165: error: `int InitMediaInfo'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:404: error: previous declaration of `void InitMediaInfo(const char*, const OpalMediaFormatList&)'' SoftPhone.cxx:165: error: initializer list being treated as compound expression SoftPhone.cxx:168: error: syntax error before `+='' token SoftPhone.cxx:170: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:170: error: redefinition of `int InitMediaInfo'' SoftPhone.cxx:165: error: `int InitMediaInfo'' previously defined here SoftPhone.cxx:170: error: initializer list being treated as compound expression SoftPhone.cxx:170: error: cannot convert `OpalMediaFormatList'' to `int'' in initialization SoftPhone.cxx:172: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:172: error: new declaration `int ApplyMediaInfo()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:406: error: ambiguates old declaration `void ApplyMediaInfo()'' SoftPhone.cxx:173: error: parse error before `}'' token SoftPhone.cxx:176: error: syntax error before `::'' token SoftPhone.cxx:181: error: syntax error before `::'' token SoftPhone.cxx:193: error: syntax error before `->'' token SoftPhone.cxx:194: error: syntax error before `->'' token SoftPhone.cxx:195: error: syntax error before `->'' token SoftPhone.cxx:196: error: ISO C++ forbids declaration of `SetAudioJitterDelay'' with no type SoftPhone.cxx:196: error: initializer list being treated as compound expression SoftPhone.cxx:209: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:213: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:213: error: parse error before `->'' token SoftPhone.cxx:220: error: syntax error before `::'' token SoftPhone.cxx:226: error: syntax error before `::'' token SoftPhone.cxx:233: error: syntax error before `::'' token SoftPhone.cxx:240: error: syntax error before `::'' token SoftPhone.cxx:245: error: syntax error before `->'' token SoftPhone.cxx:248: error: syntax error before `::'' token SoftPhone.cxx:253: error: syntax error before `->'' token SoftPhone.cxx:257: error: syntax error before `::'' token SoftPhone.cxx:262: error: parse error before `if'' SoftPhone.cxx:268: error: ISO C++ forbids declaration of `SetDefaultLogFile'' with no type SoftPhone.cxx:268: error: `int Tools::Logger::SetDefaultLogFile'' is not a static member of `class Tools::Logger'' SoftPhone.cxx:268: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:271: error: parse error before `{'' token SoftPhone.cxx:271: error: syntax error before `<<'' token SoftPhone.cxx:277: error: parse error before `;'' token SoftPhone.cxx:277: error: syntax error before `++'' token SoftPhone.cxx:289: error: syntax error before `->'' token SoftPhone.cxx:290: error: ISO C++ forbids declaration of `SetDefaultUserName'' with no type SoftPhone.cxx:290: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:292: error: syntax error before `->'' token SoftPhone.cxx:293: error: ISO C++ forbids declaration of `SetDefaultDisplayName '' with no type SoftPhone.cxx:293: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:295: error: syntax error before `->'' token SoftPhone.cxx:296: error: syntax error before `->'' token SoftPhone.cxx:297: error: syntax error before `->'' token SoftPhone.cxx:298: error: syntax error before `->'' token SoftPhone.cxx:299: error: syntax error before `->'' token SoftPhone.cxx:300: error: syntax error before `->'' token SoftPhone.cxx:301: error: syntax error before `->'' token SoftPhone.cxx:303: error: syntax error before `->'' token SoftPhone.cxx:304: error: syntax error before `->'' token SoftPhone.cxx:305: error: syntax error before `->'' token SoftPhone.cxx:307: error: syntax error before `->'' token SoftPhone.cxx:308: error: syntax error before `->'' token SoftPhone.cxx:309: error: syntax error before `->'' token SoftPhone.cxx:310: error: syntax error before `->'' token SoftPhone.cxx:314: error: parse error before `if'' SoftPhone.cxx:318: error: redefinition of `BOOL ok'' SoftPhone.cxx:312: error: `BOOL ok'' previously defined here SoftPhone.cxx:318: error: base operand of `->'' is not a pointer SoftPhone.cxx:320: error: parse error before `{'' token SoftPhone.cxx:320: error: syntax error before `<<'' token SoftPhone.cxx:325: error: ISO C++ forbids declaration of `ok'' with no type SoftPhone.cxx:325: error: redefinition of `int ok'' SoftPhone.cxx:318: error: `BOOL ok'' previously defined here SoftPhone.cxx:325: error: `rpcMethods'' undeclared (first use this function) SoftPhone.cxx:325: error: `Initialize'' undeclared (first use this function) SoftPhone.cxx:326: error: parse error before `}'' token SoftPhone.cxx:334: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: parse error before `->'' token SoftPhone.cxx:338: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:338: error: redefinition of `int m_IsInitialized'' SoftPhone.cxx:152: error: `int m_IsInitialized'' previously defined here SoftPhone.cxx:340: error: parse error before `return'' SoftPhone.cxx:344: error: syntax error before `::'' token SoftPhone.cxx:349: error: `address'' undeclared (first use this function) SoftPhone.cxx:351: error: parse error before `if'' SoftPhone.cxx:361: error: parse error before `if'' SoftPhone.cxx:367: error: parse error before `if'' SoftPhone.cxx:376: error: syntax error before `.'' token SoftPhone.cxx:377: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:377: error: conflicting types for `int dest'' SoftPhone.cxx:349: error: previous declaration as `PString dest'' SoftPhone.cxx:377: error: `destURI'' undeclared (first use this function) SoftPhone.cxx:378: error: parse error before `}'' token SoftPhone.cxx:383: error: syntax error before `.'' token SoftPhone.cxx:384: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:384: error: redefinition of `int dest'' SoftPhone.cxx:377: error: `int dest'' previously defined here SoftPhone.cxx:385: error: parse error before `}'' token SoftPhone.cxx:388: error: syntax error before `.'' token SoftPhone.cxx:389: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:389: error: redefinition of `int dest'' SoftPhone.cxx:384: error: `int dest'' previously defined here SoftPhone.cxx:390: error: parse error before `}'' token SoftPhone.cxx:393: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:393: error: new declaration `int StopRinging()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:432: error: ambiguates old declaration `void StopRinging()'' SoftPhone.cxx:394: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: parse error before `->'' token SoftPhone.cxx:404: error: `CallingState'' undeclared (first use this function) SoftPhone.cxx:404: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:404: error: `int SetState'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:419: error: previous declaration of `void SetState(...)'' SoftPhone.cxx:408: error: syntax error before `.'' token SoftPhone.cxx:409: error: ISO C++ forbids declaration of `SetUpCall'' with no type SoftPhone.cxx:409: error: initializer list being treated as compound expression SoftPhone.cxx:409: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:410: error: parse error before `}'' token SoftPhone.cxx:413: error: syntax error before `::'' token SoftPhone.cxx:430: error: redefinition of `PINDEX pos'' SoftPhone.cxx:360: error: `PINDEX pos'' previously declared here SoftPhone.cxx:430: error: redefinition of `PINDEX len'' SoftPhone.cxx:360: error: `PINDEX len'' previously declared here SoftPhone.cxx:431: error: parse error before `if'' SoftPhone.cxx:441: error: syntax error before `.'' token SoftPhone.cxx:442: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:442: error: redefinition of `int dest'' SoftPhone.cxx:389: error: `int dest'' previously defined here SoftPhone.cxx:443: error: parse error before `}'' token SoftPhone.cxx:448: error: syntax error before `.'' token SoftPhone.cxx:449: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:449: error: redefinition of `int dest'' SoftPhone.cxx:442: error: `int dest'' previously defined here SoftPhone.cxx:450: error: parse error before `}'' token SoftPhone.cxx:453: error: syntax error before `.'' token SoftPhone.cxx:454: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:454: error: redefinition of `int dest'' SoftPhone.cxx:449: error: `int dest'' previously defined here SoftPhone.cxx:455: error: parse error before `}'' token SoftPhone.cxx:462: error: syntax error before `->'' token SoftPhone.cxx:467: error: syntax error before `::'' token SoftPhone.cxx:474: error: `AnsweringState'' undeclared (first use this function) SoftPhone.cxx:474: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:474: error: redefinition of `int SetState'' SoftPhone.cxx:404: error: `int SetState'' previously defined here SoftPhone.cxx:475: error: syntax error before `->'' token SoftPhone.cxx:478: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:479: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: parse error before `->'' token SoftPhone.cxx:483: error: syntax error before `::'' token SoftPhone.cxx:486: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:486: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:487: error: `IdleState'' undeclared (first use this function) SoftPhone.cxx:487: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:487: error: redefinition of `int SetState'' SoftPhone.cxx:474: error: `int SetState'' previously defined here SoftPhone.cxx:488: error: parse error before `}'' token SoftPhone.cxx:491: error: syntax error before `::'' token SoftPhone.cxx:498: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:498: error: redefinition of `int ClearCall'' SoftPhone.cxx:486: error: `int ClearCall'' previously defined here SoftPhone.cxx:498: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:499: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:499: error: redefinition of `int SetState'' SoftPhone.cxx:487: error: `int SetState'' previously defined here SoftPhone.cxx:500: error: parse error before `}'' token SoftPhone.cxx:503: error: syntax error before `::'' token SoftPhone.cxx:508: error: ISO C++ forbids declaration of ` m_CurrentConnectionToken'' with no type SoftPhone.cxx:508: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:485: error: previous external decl of `PString m_CurrentConnectionToken'' SoftPhone.cxx:508: error: `connection'' undeclared (first use this function) SoftPhone.cxx:509: error: ISO C++ forbids declaration of `m_CurrentCallToken'' with no type SoftPhone.cxx:509: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: previous external decl of `PString m_CurrentCallToken'' SoftPhone.cxx:510: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:510: error: redefinition of `int m_CallState'' SoftPhone.cxx:146: error: `int m_CallState'' previously defined here SoftPhone.cxx:510: error: `RingingState'' undeclared (first use this function) SoftPhone.cxx:512: error: syntax error before `<<'' token SoftPhone.cxx:515: error: syntax error before `::'' token SoftPhone.cxx:521: error: parse error before `if'' SoftPhone.cxx:533: error: `message'' undeclared (first use this function) SoftPhone.cxx:536: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: parse error before `->'' token SoftPhone.cxx:542: error: syntax error before `::'' token SoftPhone.cxx:549: error: syntax error before `::'' token SoftPhone.cxx:556: error: syntax error before `::'' token SoftPhone.cxx:559: error: `InCallState'' undeclared (first use this function) SoftPhone.cxx:559: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:559: error: redefinition of `int SetState'' SoftPhone.cxx:499: error: `int SetState'' previously defined here SoftPhone.cxx:560: error: parse error before `}'' token SoftPhone.cxx:563: error: syntax error before `::'' token SoftPhone.cxx:611: error: syntax error before `<<'' token SoftPhone.cxx:613: error: redefinition of `PTime now'' SoftPhone.cxx:406: error: `PTime now'' previously declared here SoftPhone.cxx:614: error: syntax error before `<<'' token SoftPhone.cxx:621: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:622: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: parse error before `->'' token SoftPhone.cxx:625: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:625: error: redefinition of `int SetState'' SoftPhone.cxx:559: error: `int SetState'' previously defined here SoftPhone.cxx:626: error: parse error before `}'' token SoftPhone.cxx:629: error: syntax error before `::'' token SoftPhone.cxx:635: error: parse error before `if'' SoftPhone.cxx:640: error: syntax error before `<<'' token SoftPhone.cxx:647: error: syntax error before `<<'' token SoftPhone.cxx:654: error: syntax error before `<<'' token SoftPhone.cxx:662: error: syntax error before `::'' token SoftPhone.cxx:675: error: syntax error before `->'' token SoftPhone.cxx:679: error: syntax error before `->'' token SoftPhone.cxx:685: error: syntax error before `::'' token SoftPhone.cxx:712: error: syntax error before `::'' token SoftPhone.cxx:715: error: `value'' undeclared (first use this function) SoftPhone.cxx:715: error: ISO C++ forbids declaration of `OnUserInputString'' with no type SoftPhone.cxx:715: error: `int OpalManager::OnUserInputString'' is not a static member of `class OpalManager'' SoftPhone.cxx:715: error: initializer list being treated as compound expression SoftPhone.cxx:716: error: parse error before `}'' token SoftPhone.cxx:719: error: syntax error before `::'' token SoftPhone.cxx:724: error: syntax error before `::'' token SoftPhone.cxx:733: error: parse error before `&&'' token SoftPhone.cxx:738: error: syntax error before `::'' token SoftPhone.cxx:746: error: syntax error before `::'' token SoftPhone.cxx:751: error: syntax error before `->'' token SoftPhone.cxx:761: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: parse error before `->'' token SoftPhone.cxx:773: error: syntax error before `::'' token SoftPhone.cxx:775: error: parse error before `;'' token SoftPhone.cxx:775: error: syntax error before `++'' token SoftPhone.cxx:780: error: syntax error before `.'' token SoftPhone.cxx:786: error: syntax error before `::'' token SoftPhone.cxx:790: error: syntax error before `.'' token SoftPhone.cxx:792: error: syntax error before `!='' token SoftPhone.cxx:805: error: `mediaFormatMask'' undeclared (first use this function) SoftPhone.cxx:805: error: ISO C++ forbids declaration of `SetMediaFormatMask'' with no type SoftPhone.cxx:806: error: parse error before `}'' token SoftPhone.cxx:809: error: syntax error before `::'' token SoftPhone.cxx:816: error: syntax error before `*'' token SoftPhone.cxx:818: error: `PStringToString*acct'' redeclared as different kind of symbol /usr/include/unistd.h:825: error: previous declaration of `int acct(const char*)'' SoftPhone.cxx:819: error: syntax error before `->'' token SoftPhone.cxx:820: error: syntax error before `.'' token SoftPhone.cxx:822: error: syntax error before `->'' token SoftPhone.cxx:839: error: `data'' undeclared (first use this function) SoftPhone.cxx:840: error: parse error before `if'' SoftPhone.cxx:851: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhonePCSSEndPoint::OnShowIncoming(const OpalPCSSConnection&)'': SoftPhone.cxx:867: error: `OnRinging'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhonePCSSEndPoint::OnShowOutgoing(const OpalPCSSConnection&)'': SoftPhone.cxx:883: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationAccepted(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:896: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationRejected(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:915: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationTimeout(UACORE::RegisterSession&)'': SoftPhone.cxx:925: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnUnregistration(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:936: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnConnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:946: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:947: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnDisconnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1107: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1107: error: parse error before `::'' token SoftPhone.cxx:1108: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:1109: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhoneSIPEndPoint::OnIncomingConnection(const SIPParser::SIPMessage&, UACORE::CallSession&)'': SoftPhone.cxx:1117: error: `GetState'' undeclared (first use this function) SoftPhone.cxx:1117: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1117: error: parse error before `::'' token SoftPhone.cxx:1127: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1128: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnAlerting(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1149: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1150: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnProgress(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1162: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnReceivedInstantMessage(const SIPParser::SIPMessage&)'': SoftPhone.cxx:1169: error: `OnReceivedInstantMessage'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOnline(const SIPParser::SIPURI&)'': SoftPhone.cxx:1176: error: `OnRegEventStateOnline'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOffLine(const SIPParser::SIPURI&)'': SoftPhone.cxx:1183: error: `OnRegEventStateOffLine'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual OPAL::OpalOSSConnection* SF::SoftPhoneSIPEndPoint::CreateConnection(OpalCall&, const PString&, const PString&, void*)'': SoftPhone.cxx:1194: error: `IsXORHashSet'' undeclared (first use this function) SoftPhone.cxx:1200: error: syntax error before `::'' token SoftPhone.cxx:1208: error: redefinition of `PString body'' SoftPhone.cxx:520: error: `PString body'' previously declared here SoftPhone.cxx:1208: confused by earlier errors, bailing out make[3]: *** [/root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o] Error 1 make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src'' make[2]: *** [opt] Error 2 make[2]: Leaving directory `/root/oss/opensipstack-1.1.5'' make[1]: *** [optnoshared] Error 2 make[1]: Leaving directory `/root/oss/opensipstack-1.1.5'' make: *** [bothnoshared] Error 2 Thanks in advance, Cordially, Kolneath SOMETH |
From: <ope...@op...> - 2008-04-29 02:14:38
|
Hi Joegen, As instructed on the documentation page, I did n it still has the problem while compilation under linux. However, on windows I used Visual Studio to compile and build there'' s no problem. I think I already have the latest version of the 2 files : opensbc-1.1.2 opensipstack-1.1.5. I installed also the latest version of make and gcc compiler under my linux but it still has the problem as mentionned in the last message. Could you help to get this straigh please ? Inhere, I please have a look at the result''s of ''configure'' and ''make''. Here is the list of results of configure execution: _______________________________________ ws:~/oss/opensipstack-1.1.5# ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes configure: PTLib version is 1.1.5 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu configure: OSTYPE set to linux configure: OSRELEASE set to "2.6.8-2-386" configure: MACHTYPE set to x86 configure: gcc version is 3.3.5 checking checking if pragma implementation should be used... yes checking whether byte ordering is bigendian... no checking if linker accepts -felide-constructors... yes checking if linker accepts -Wreorder... yes checking if debug build accepts -g3 -ggdb -O0... yes checking if compiler uses RTTI by default... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for int... yes checking size of int... 4 checking for working long double with more range or precision than double... yes checking for flex... /usr/bin/flex checking for ar... /usr/bin/ar checking for bison... /usr/bin/bison checking if readdir_r has 2 parms... no checking if readdir_r has 3 parms... yes checking for recvmsg... yes checking if using STL streams... yes checking if atomic integer available... yes checking if __exchange_and_add is in __gnu_cxx namespace... no checking if Unix semaphores are available... yes checking for pthread_create in -lpthread... yes checking if pthread_mutex_timedlock is available... yes checking for sem_timedwait in -lpthread... yes checking if sem_timedwait is compilable... yes checking if recursive mutexes are available... yes checking how to run the C++ preprocessor... g++ -E checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes configure: Forcing use of internal regex library checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking if dlopen is available... yes checking for dlopen in -ldl... yes checking if plugins support needs to be compiled... enabling plugin by default plugins enabled checking for res_ninit... no checking for res_ninit in -lresolv... yes configure: SASL disabled configure: OpenSSL disabled checking expat.h usability... no checking expat.h presence... no checking for expat.h... no checking for /usr/local/include/expat.h... no configure: Jabber disabled configure: Text-to-speech disabled checking for IPv6 support... yes checking SDL/SDL.h usability... no checking SDL/SDL.h presence... no checking for SDL/SDL.h... no checking for /usr/local/include/SDL11/SDL.h... no configure: Video Plugin Capture support enabled configure: ASN decoding/encoding support disabled configure: FTP protocol support disabled configure: SNMP protocol support disabled configure: Telnet protocol support disabled configure: Remote connection support disabled configure: POP3/SMTP protocol support disabled configure: Socket aggregation support disabled configure: Video file support enabled checking for swab... yes configure: Skipping tests for RFC 2190 H.263 support checking for short... yes checking size of short... 2 checking for int... (cached) yes checking size of int... (cached) 4 checking for long... yes checking size of long... 4 checking for long long... yes checking size of long long... 8 checking speex.h usability... no checking speex.h presence... no checking for speex.h... no checking speex/speex.h usability... no checking speex/speex.h presence... no checking for speex/speex.h... no checking for speex_encoder_destroy in -lspeex... no configure: Forcing use of OPAL Speex library checking iLBC codec... not present checking linux/telephony.h usability... yes checking linux/telephony.h presence... yes checking for linux/telephony.h... yes checking sys/telephony.h usability... no checking sys/telephony.h presence... no checking for sys/telephony.h... no checking /usr/local/include/sys/telephony.h usability... no checking /usr/local/include/sys/telephony.h presence... no checking for /usr/local/include/sys/telephony.h... no checking if ixjuser.h actually compiles... no checking Voicetronix vpb... disabled checking /usr/local/include/libpri.h usability... no checking /usr/local/include/libpri.h presence... no checking for /usr/local/include/libpri.h... no OpenSIPStack version is 1.1.5 checking for /root/oss/opensipstack-1.1.5/external/sqlite/.libs/libsqlite3.a... no SQLITE support DISABLED... OPAL support ENABLED... checking for /root/oss/opensipstack-1.1.5/external/jingle/talk/xmpp/xmppclient.h ... no XMPP support DISABLED... checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating make/opensipstack.mak config.status: creating Makefile config.status: creating src/Makefile config.status: creating make/ptbuildopts.mak config.status: creating make/ptlib-config config.status: creating src/pwlib/Makefile config.status: creating src/pwlib/plugins/Makefile config.status: creating include/ossbuildopts.h config.status: include/ossbuildopts.h is unchanged config.status: creating include/ptbuildopts.h config.status: include/ptbuildopts.h is unchanged config.status: creating include/opal/buildopts.h config.status: include/opal/buildopts.h is unchanged Here is the list of make command result (errors) _________________________________ ws:~/oss/opensipstack-1.1.5# make bothnoshared make optnoshared debugnoshared make[1]: Entering directory `/root/oss/opensipstack-1.1.5'' make P_SHAREDLIB=0 opt make[2]: Entering directory `/root/oss/opensipstack-1.1.5'' set -e; make -C src/pwlib opt; make -C src opt; make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib'' set -e; make -C src/ptlib/unix opt; make -C plugins opt; make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Nothing to be done for `opt''. make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/src/ptlib/unix'' make[4]: Entering directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' set -e; make[4]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib/plugins'' make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src/pwlib'' make[3]: Entering directory `/root/oss/opensipstack-1.1.5/src'' g++ -DP_USE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -DP_USE_PRAGMA -D_REENTRANT -I/root/oss/opensipstack-1.1.5/include -Wall -DPTRACING -I/root/oss/opensipstack-1.1.5/include -I/root/oss/opensipstack-1.1.5/include -DPTRACING -I/root/oss/opensipstack-1.1.5/include -Os -felide-constructors -Wreorder -c SoftPhone.cxx -o /root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o In file included from SoftPhone.cxx:124: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:264: error: parse error before `{'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `BOOL InternalIsDescendant(const char*)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `BOOL InternalIsDescendant(const char*)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual BOOL OpalManager::InternalIsDescendant(const char*) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: non-member function `const char* GetClass(unsigned int)'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const char* GetClass(unsigned int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: cannot call member function `virtual const char* OpalManager::GetClass(unsigned int) const'' without object /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: `SoftPhoneManager'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: (Each undeclared identifier is reported only once for each function it appears in.) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: parse error before `::'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:265: error: syntax error before `('' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:278: error: ` SoftPhoneInterface'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: ISO C++ forbids declaration of `SoftPhoneManager'' with no type /root/oss/opensipstack-1.1.5/include/SoftPhone.h:279: error: `int SoftPhoneManager(...)'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: destructors must be member functions /root/oss/opensipstack-1.1.5/include/SoftPhone.h:358: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:362: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:366: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function ` PSafePtr<OpalCall> GetCall()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: ` m_CurrentCallToken'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h:369: error: `FindCallWithLock'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:371: error: parse error before `private'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:379: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:384: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:392: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:397: error: virtual outside class declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:408: error: parse error before `public'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: `CallState'' was not declared in this scope /root/oss/opensipstack-1.1.5/include/SoftPhone.h:418: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:437: error: parse error before `)'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: non-member function `const PString& GetUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:438: error: `m_UserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: non-member function `const PString& GetDisplayName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetDisplayName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:440: error: `m_DisplayName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: non-member function `const PString& GetRegistrarAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:443: error: ` m_RegistrarAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: non-member function `const PString& GetRegistrarUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:445: error: ` m_RegistrarUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: non-member function `const PString& GetRegistrarPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRegistrarPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:447: error: ` m_RegistrarPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: non-member function `int GetRegistrarTTL()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `int GetRegistrarTTL()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:449: error: `m_RegistrarTTL'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetRegistrarTTL(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:450: error: `m_SIPEndPoint'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: non-member function `const PString& GetProxyAddress()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyAddress()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:452: error: `m_ProxyAddress'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: non-member function `const PString& GetProxyUserName()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyUserName()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:454: error: `m_ProxyUserName'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: non-member function `const PString& GetProxyPassword()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetProxyPassword()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:456: error: `m_ProxyPassword'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: non-member function `const PString& GetSIPDomain()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetSIPDomain()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:459: error: `m_SIPDomain'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: non-member function `const PStringArray& GetMediaFormats()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PStringArray& GetMediaFormats()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:462: error: `m_MediaFormats'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: non-member function `const PString& GetPlayDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetPlayDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:464: error: ` m_DefaultAudioPlayDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: non-member function `const PString& GetRecordDevice()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `const PString& GetRecordDevice()'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:465: error: ` m_DefaultAudioRecordDevice'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: In function `void SetXORHash(int)'': /root/oss/opensipstack-1.1.5/include/SoftPhone.h:466: error: `m_XORHash'' undeclared (first use this function) /root/oss/opensipstack-1.1.5/include/SoftPhone.h: At global scope: /root/oss/opensipstack-1.1.5/include/SoftPhone.h:467: error: non-member function `BOOL IsXORHashSet()'' cannot have `const'' method qualifier /root/oss/opensipstack-1.1.5/include/SoftPhone.h:468: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:473: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:474: error: syntax error before `*'' token /root/oss/opensipstack-1.1.5/include/SoftPhone.h:475: error: `PString m_UserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:476: error: `PString m_DisplayName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:477: error: `PString m_RegistrarAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:478: error: `PString m_RegistrarUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:479: error: `PString m_RegistrarPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:480: error: `PString m_ProxyAddress'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:481: error: `PString m_ProxyUserName'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:482: error: `PString m_ProxyPassword'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:483: error: `PString m_SIPDomain'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:484: error: '' SoftPhoneMediaList'' is used as a type, but is not defined as a type. /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: `PString m_CurrentCallToken'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:489: error: `PStringArray m_MediaFormats'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: `PString m_DefaultAudioPlayDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: `PString m_DefaultAudioRecordDevice'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' used prior to declaration /root/oss/opensipstack-1.1.5/include/SoftPhone.h:496: error: syntax error before `*'' token SoftPhone.cxx:140: error: syntax error before `::'' token SoftPhone.cxx:145: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:145: error: `int m_SIPEndPoint'' used prior to declaration SoftPhone.cxx:145: warning: converting to non-pointer type `int'' from NULL SoftPhone.cxx:146: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:146: error: `IdleState'' was not declared in this scope SoftPhone.cxx:148: error: ISO C++ forbids declaration of ` m_DefaultAudioPlayDevice'' with no type SoftPhone.cxx:148: error: conflicting types for `int m_DefaultAudioPlayDevice'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:491: error: previous declaration as `PString m_DefaultAudioPlayDevice'' SoftPhone.cxx:149: error: ISO C++ forbids declaration of ` m_DefaultAudioRecordDevice'' with no type SoftPhone.cxx:149: error: conflicting types for `int m_DefaultAudioRecordDevice '' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:492: error: previous declaration as `PString m_DefaultAudioRecordDevice'' SoftPhone.cxx:150: error: ISO C++ forbids declaration of `m_RegistrarTTL'' with no type SoftPhone.cxx:150: error: redefinition of `int m_RegistrarTTL'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:490: error: `int m_RegistrarTTL'' previously declared here SoftPhone.cxx:152: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:152: error: redefinition of `int m_IsInitialized'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:493: error: `BOOL m_IsInitialized'' previously declared here SoftPhone.cxx:153: error: ISO C++ forbids declaration of `m_SoftPhoneInterface'' with no type SoftPhone.cxx:153: error: parse error before `;'' token SoftPhone.cxx:154: error: ISO C++ forbids declaration of `m_XORHash'' with no type SoftPhone.cxx:154: error: redefinition of `int m_XORHash'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:494: error: `BOOL m_XORHash'' previously declared here SoftPhone.cxx:160: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:160: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:161: error: ISO C++ forbids declaration of `AddRouteEntry'' with no type SoftPhone.cxx:161: error: redefinition of `int AddRouteEntry'' SoftPhone.cxx:160: error: `int AddRouteEntry'' previously defined here SoftPhone.cxx:161: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:162: error: ISO C++ forbids declaration of `m_PCSSEndPoint'' with no type SoftPhone.cxx:162: error: invalid use of `this'' at top level SoftPhone.cxx:163: error: ISO C++ forbids declaration of `m_SIPEndPoint'' with no type SoftPhone.cxx:163: error: redefinition of `int m_SIPEndPoint'' SoftPhone.cxx:145: error: `int m_SIPEndPoint'' previously defined here SoftPhone.cxx:163: error: invalid use of `this'' at top level SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: base operand of `->'' is not a pointer SoftPhone.cxx:165: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:165: error: `int InitMediaInfo'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:404: error: previous declaration of `void InitMediaInfo(const char*, const OpalMediaFormatList&)'' SoftPhone.cxx:165: error: initializer list being treated as compound expression SoftPhone.cxx:168: error: syntax error before `+='' token SoftPhone.cxx:170: error: ISO C++ forbids declaration of `InitMediaInfo'' with no type SoftPhone.cxx:170: error: redefinition of `int InitMediaInfo'' SoftPhone.cxx:165: error: `int InitMediaInfo'' previously defined here SoftPhone.cxx:170: error: initializer list being treated as compound expression SoftPhone.cxx:170: error: cannot convert `OpalMediaFormatList'' to `int'' in initialization SoftPhone.cxx:172: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:172: error: new declaration `int ApplyMediaInfo()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:406: error: ambiguates old declaration `void ApplyMediaInfo()'' SoftPhone.cxx:173: error: parse error before `}'' token SoftPhone.cxx:176: error: syntax error before `::'' token SoftPhone.cxx:181: error: syntax error before `::'' token SoftPhone.cxx:193: error: syntax error before `->'' token SoftPhone.cxx:194: error: syntax error before `->'' token SoftPhone.cxx:195: error: syntax error before `->'' token SoftPhone.cxx:196: error: ISO C++ forbids declaration of `SetAudioJitterDelay'' with no type SoftPhone.cxx:196: error: initializer list being treated as compound expression SoftPhone.cxx:209: error: ISO C++ forbids declaration of `ApplyMediaInfo'' with no type SoftPhone.cxx:213: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:213: error: parse error before `->'' token SoftPhone.cxx:220: error: syntax error before `::'' token SoftPhone.cxx:226: error: syntax error before `::'' token SoftPhone.cxx:233: error: syntax error before `::'' token SoftPhone.cxx:240: error: syntax error before `::'' token SoftPhone.cxx:245: error: syntax error before `->'' token SoftPhone.cxx:248: error: syntax error before `::'' token SoftPhone.cxx:253: error: syntax error before `->'' token SoftPhone.cxx:257: error: syntax error before `::'' token SoftPhone.cxx:262: error: parse error before `if'' SoftPhone.cxx:268: error: ISO C++ forbids declaration of `SetDefaultLogFile'' with no type SoftPhone.cxx:268: error: `int Tools::Logger::SetDefaultLogFile'' is not a static member of `class Tools::Logger'' SoftPhone.cxx:268: error: invalid conversion from `const char*'' to `int'' SoftPhone.cxx:271: error: parse error before `{'' token SoftPhone.cxx:271: error: syntax error before `<<'' token SoftPhone.cxx:277: error: parse error before `;'' token SoftPhone.cxx:277: error: syntax error before `++'' token SoftPhone.cxx:289: error: syntax error before `->'' token SoftPhone.cxx:290: error: ISO C++ forbids declaration of `SetDefaultUserName'' with no type SoftPhone.cxx:290: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:292: error: syntax error before `->'' token SoftPhone.cxx:293: error: ISO C++ forbids declaration of `SetDefaultDisplayName '' with no type SoftPhone.cxx:293: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:295: error: syntax error before `->'' token SoftPhone.cxx:296: error: syntax error before `->'' token SoftPhone.cxx:297: error: syntax error before `->'' token SoftPhone.cxx:298: error: syntax error before `->'' token SoftPhone.cxx:299: error: syntax error before `->'' token SoftPhone.cxx:300: error: syntax error before `->'' token SoftPhone.cxx:301: error: syntax error before `->'' token SoftPhone.cxx:303: error: syntax error before `->'' token SoftPhone.cxx:304: error: syntax error before `->'' token SoftPhone.cxx:305: error: syntax error before `->'' token SoftPhone.cxx:307: error: syntax error before `->'' token SoftPhone.cxx:308: error: syntax error before `->'' token SoftPhone.cxx:309: error: syntax error before `->'' token SoftPhone.cxx:310: error: syntax error before `->'' token SoftPhone.cxx:314: error: parse error before `if'' SoftPhone.cxx:318: error: redefinition of `BOOL ok'' SoftPhone.cxx:312: error: `BOOL ok'' previously defined here SoftPhone.cxx:318: error: base operand of `->'' is not a pointer SoftPhone.cxx:320: error: parse error before `{'' token SoftPhone.cxx:320: error: syntax error before `<<'' token SoftPhone.cxx:325: error: ISO C++ forbids declaration of `ok'' with no type SoftPhone.cxx:325: error: redefinition of `int ok'' SoftPhone.cxx:318: error: `BOOL ok'' previously defined here SoftPhone.cxx:325: error: `rpcMethods'' undeclared (first use this function) SoftPhone.cxx:325: error: `Initialize'' undeclared (first use this function) SoftPhone.cxx:326: error: parse error before `}'' token SoftPhone.cxx:334: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:334: error: parse error before `->'' token SoftPhone.cxx:338: error: ISO C++ forbids declaration of `m_IsInitialized'' with no type SoftPhone.cxx:338: error: redefinition of `int m_IsInitialized'' SoftPhone.cxx:152: error: `int m_IsInitialized'' previously defined here SoftPhone.cxx:340: error: parse error before `return'' SoftPhone.cxx:344: error: syntax error before `::'' token SoftPhone.cxx:349: error: `address'' undeclared (first use this function) SoftPhone.cxx:351: error: parse error before `if'' SoftPhone.cxx:361: error: parse error before `if'' SoftPhone.cxx:367: error: parse error before `if'' SoftPhone.cxx:376: error: syntax error before `.'' token SoftPhone.cxx:377: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:377: error: conflicting types for `int dest'' SoftPhone.cxx:349: error: previous declaration as `PString dest'' SoftPhone.cxx:377: error: `destURI'' undeclared (first use this function) SoftPhone.cxx:378: error: parse error before `}'' token SoftPhone.cxx:383: error: syntax error before `.'' token SoftPhone.cxx:384: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:384: error: redefinition of `int dest'' SoftPhone.cxx:377: error: `int dest'' previously defined here SoftPhone.cxx:385: error: parse error before `}'' token SoftPhone.cxx:388: error: syntax error before `.'' token SoftPhone.cxx:389: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:389: error: redefinition of `int dest'' SoftPhone.cxx:384: error: `int dest'' previously defined here SoftPhone.cxx:390: error: parse error before `}'' token SoftPhone.cxx:393: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:393: error: new declaration `int StopRinging()'' /root/oss/opensipstack-1.1.5/include/SoftPhone.h:432: error: ambiguates old declaration `void StopRinging()'' SoftPhone.cxx:394: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:394: error: parse error before `->'' token SoftPhone.cxx:404: error: `CallingState'' undeclared (first use this function) SoftPhone.cxx:404: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:404: error: `int SetState'' redeclared as different kind of symbol /root/oss/opensipstack-1.1.5/include/SoftPhone.h:419: error: previous declaration of `void SetState(...)'' SoftPhone.cxx:408: error: syntax error before `.'' token SoftPhone.cxx:409: error: ISO C++ forbids declaration of `SetUpCall'' with no type SoftPhone.cxx:409: error: initializer list being treated as compound expression SoftPhone.cxx:409: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:410: error: parse error before `}'' token SoftPhone.cxx:413: error: syntax error before `::'' token SoftPhone.cxx:430: error: redefinition of `PINDEX pos'' SoftPhone.cxx:360: error: `PINDEX pos'' previously declared here SoftPhone.cxx:430: error: redefinition of `PINDEX len'' SoftPhone.cxx:360: error: `PINDEX len'' previously declared here SoftPhone.cxx:431: error: parse error before `if'' SoftPhone.cxx:441: error: syntax error before `.'' token SoftPhone.cxx:442: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:442: error: redefinition of `int dest'' SoftPhone.cxx:389: error: `int dest'' previously defined here SoftPhone.cxx:443: error: parse error before `}'' token SoftPhone.cxx:448: error: syntax error before `.'' token SoftPhone.cxx:449: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:449: error: redefinition of `int dest'' SoftPhone.cxx:442: error: `int dest'' previously defined here SoftPhone.cxx:450: error: parse error before `}'' token SoftPhone.cxx:453: error: syntax error before `.'' token SoftPhone.cxx:454: error: ISO C++ forbids declaration of `dest'' with no type SoftPhone.cxx:454: error: redefinition of `int dest'' SoftPhone.cxx:449: error: `int dest'' previously defined here SoftPhone.cxx:455: error: parse error before `}'' token SoftPhone.cxx:462: error: syntax error before `->'' token SoftPhone.cxx:467: error: syntax error before `::'' token SoftPhone.cxx:474: error: `AnsweringState'' undeclared (first use this function) SoftPhone.cxx:474: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:474: error: redefinition of `int SetState'' SoftPhone.cxx:404: error: `int SetState'' previously defined here SoftPhone.cxx:475: error: syntax error before `->'' token SoftPhone.cxx:478: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:479: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:479: error: parse error before `->'' token SoftPhone.cxx:483: error: syntax error before `::'' token SoftPhone.cxx:486: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:486: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:487: error: `IdleState'' undeclared (first use this function) SoftPhone.cxx:487: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:487: error: redefinition of `int SetState'' SoftPhone.cxx:474: error: `int SetState'' previously defined here SoftPhone.cxx:488: error: parse error before `}'' token SoftPhone.cxx:491: error: syntax error before `::'' token SoftPhone.cxx:498: error: ISO C++ forbids declaration of `ClearCall'' with no type SoftPhone.cxx:498: error: redefinition of `int ClearCall'' SoftPhone.cxx:486: error: `int ClearCall'' previously defined here SoftPhone.cxx:498: error: conversion from `PString'' to `int'' is ambiguous /root/oss/opensipstack-1.1.5/include/ptlib/pstring.h:1850: error: candidates are: PString::operator const unsigned char*() const <near match> /root/oss/opensipstack-1.1.5/include/ptlib/array.h:529: error: PBaseArray<T>::operator const T*() const [with T = char] <near match> SoftPhone.cxx:499: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:499: error: redefinition of `int SetState'' SoftPhone.cxx:487: error: `int SetState'' previously defined here SoftPhone.cxx:500: error: parse error before `}'' token SoftPhone.cxx:503: error: syntax error before `::'' token SoftPhone.cxx:508: error: ISO C++ forbids declaration of ` m_CurrentConnectionToken'' with no type SoftPhone.cxx:508: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:485: error: previous external decl of `PString m_CurrentConnectionToken'' SoftPhone.cxx:508: error: `connection'' undeclared (first use this function) SoftPhone.cxx:509: error: ISO C++ forbids declaration of `m_CurrentCallToken'' with no type SoftPhone.cxx:509: error: type mismatch with previous external decl /root/oss/opensipstack-1.1.5/include/SoftPhone.h:486: error: previous external decl of `PString m_CurrentCallToken'' SoftPhone.cxx:510: error: ISO C++ forbids declaration of `m_CallState'' with no type SoftPhone.cxx:510: error: redefinition of `int m_CallState'' SoftPhone.cxx:146: error: `int m_CallState'' previously defined here SoftPhone.cxx:510: error: `RingingState'' undeclared (first use this function) SoftPhone.cxx:512: error: syntax error before `<<'' token SoftPhone.cxx:515: error: syntax error before `::'' token SoftPhone.cxx:521: error: parse error before `if'' SoftPhone.cxx:533: error: `message'' undeclared (first use this function) SoftPhone.cxx:536: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:536: error: parse error before `->'' token SoftPhone.cxx:542: error: syntax error before `::'' token SoftPhone.cxx:549: error: syntax error before `::'' token SoftPhone.cxx:556: error: syntax error before `::'' token SoftPhone.cxx:559: error: `InCallState'' undeclared (first use this function) SoftPhone.cxx:559: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:559: error: redefinition of `int SetState'' SoftPhone.cxx:499: error: `int SetState'' previously defined here SoftPhone.cxx:560: error: parse error before `}'' token SoftPhone.cxx:563: error: syntax error before `::'' token SoftPhone.cxx:611: error: syntax error before `<<'' token SoftPhone.cxx:613: error: redefinition of `PTime now'' SoftPhone.cxx:406: error: `PTime now'' previously declared here SoftPhone.cxx:614: error: syntax error before `<<'' token SoftPhone.cxx:621: error: ISO C++ forbids declaration of `StopRinging'' with no type SoftPhone.cxx:622: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:622: error: parse error before `->'' token SoftPhone.cxx:625: error: ISO C++ forbids declaration of `SetState'' with no type SoftPhone.cxx:625: error: redefinition of `int SetState'' SoftPhone.cxx:559: error: `int SetState'' previously defined here SoftPhone.cxx:626: error: parse error before `}'' token SoftPhone.cxx:629: error: syntax error before `::'' token SoftPhone.cxx:635: error: parse error before `if'' SoftPhone.cxx:640: error: syntax error before `<<'' token SoftPhone.cxx:647: error: syntax error before `<<'' token SoftPhone.cxx:654: error: syntax error before `<<'' token SoftPhone.cxx:662: error: syntax error before `::'' token SoftPhone.cxx:675: error: syntax error before `->'' token SoftPhone.cxx:679: error: syntax error before `->'' token SoftPhone.cxx:685: error: syntax error before `::'' token SoftPhone.cxx:712: error: syntax error before `::'' token SoftPhone.cxx:715: error: `value'' undeclared (first use this function) SoftPhone.cxx:715: error: ISO C++ forbids declaration of `OnUserInputString'' with no type SoftPhone.cxx:715: error: `int OpalManager::OnUserInputString'' is not a static member of `class OpalManager'' SoftPhone.cxx:715: error: initializer list being treated as compound expression SoftPhone.cxx:716: error: parse error before `}'' token SoftPhone.cxx:719: error: syntax error before `::'' token SoftPhone.cxx:724: error: syntax error before `::'' token SoftPhone.cxx:733: error: parse error before `&&'' token SoftPhone.cxx:738: error: syntax error before `::'' token SoftPhone.cxx:746: error: syntax error before `::'' token SoftPhone.cxx:751: error: syntax error before `->'' token SoftPhone.cxx:761: error: ISO C++ forbids declaration of `GetSoftPhoneInterface '' with no type SoftPhone.cxx: In function `int GetSoftPhoneInterface()'': SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:622: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:536: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:479: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:394: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:334: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: redefinition of `int GetSoftPhoneInterface()'' SoftPhone.cxx:213: error: `int GetSoftPhoneInterface()'' previously defined here SoftPhone.cxx:761: error: parse error before `->'' token SoftPhone.cxx:773: error: syntax error before `::'' token SoftPhone.cxx:775: error: parse error before `;'' token SoftPhone.cxx:775: error: syntax error before `++'' token SoftPhone.cxx:780: error: syntax error before `.'' token SoftPhone.cxx:786: error: syntax error before `::'' token SoftPhone.cxx:790: error: syntax error before `.'' token SoftPhone.cxx:792: error: syntax error before `!='' token SoftPhone.cxx:805: error: `mediaFormatMask'' undeclared (first use this function) SoftPhone.cxx:805: error: ISO C++ forbids declaration of `SetMediaFormatMask'' with no type SoftPhone.cxx:806: error: parse error before `}'' token SoftPhone.cxx:809: error: syntax error before `::'' token SoftPhone.cxx:816: error: syntax error before `*'' token SoftPhone.cxx:818: error: `PStringToString*acct'' redeclared as different kind of symbol /usr/include/unistd.h:825: error: previous declaration of `int acct(const char*)'' SoftPhone.cxx:819: error: syntax error before `->'' token SoftPhone.cxx:820: error: syntax error before `.'' token SoftPhone.cxx:822: error: syntax error before `->'' token SoftPhone.cxx:839: error: `data'' undeclared (first use this function) SoftPhone.cxx:840: error: parse error before `if'' SoftPhone.cxx:851: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhonePCSSEndPoint::OnShowIncoming(const OpalPCSSConnection&)'': SoftPhone.cxx:867: error: `OnRinging'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhonePCSSEndPoint::OnShowOutgoing(const OpalPCSSConnection&)'': SoftPhone.cxx:883: error: parse error before `&'' token SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationAccepted(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:896: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationRejected(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:915: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegistrationTimeout(UACORE::RegisterSession&)'': SoftPhone.cxx:925: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnUnregistration(UACORE::RegisterSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:936: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnConnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:946: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:947: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnDisconnected(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1107: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1107: error: parse error before `::'' token SoftPhone.cxx:1108: error: `StopRinging'' undeclared (first use this function) SoftPhone.cxx:1109: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual BOOL SF::SoftPhoneSIPEndPoint::OnIncomingConnection(const SIPParser::SIPMessage&, UACORE::CallSession&)'': SoftPhone.cxx:1117: error: `GetState'' undeclared (first use this function) SoftPhone.cxx:1117: error: use of `SoftPhoneManager'' is ambiguous /root/oss/opensipstack-1.1.5/include/SoftPhone.h:281: error: first declared as `SoftPhoneManager'' here /root/oss/opensipstack-1.1.5/include/SoftPhoneInterface.h:93: error: also declared as `class SF::SoftPhoneManager'' here SoftPhone.cxx:1117: error: parse error before `::'' token SoftPhone.cxx:1127: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1128: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnAlerting(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1149: error: `PlayRinging'' undeclared (first use this function) SoftPhone.cxx:1150: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnProgress(UACORE::CallSession&, const SIPParser::SIPMessage&)'': SoftPhone.cxx:1162: error: `GetSoftPhoneInterface'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnReceivedInstantMessage(const SIPParser::SIPMessage&)'': SoftPhone.cxx:1169: error: `OnReceivedInstantMessage'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOnline(const SIPParser::SIPURI&)'': SoftPhone.cxx:1176: error: `OnRegEventStateOnline'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual void SF::SoftPhoneSIPEndPoint::OnRegEventStateOffLine(const SIPParser::SIPURI&)'': SoftPhone.cxx:1183: error: `OnRegEventStateOffLine'' undeclared (first use this function) SoftPhone.cxx: In member function `virtual OPAL::OpalOSSConnection* SF::SoftPhoneSIPEndPoint::CreateConnection(OpalCall&, const PString&, const PString&, void*)'': SoftPhone.cxx:1194: error: `IsXORHashSet'' undeclared (first use this function) SoftPhone.cxx:1200: error: syntax error before `::'' token SoftPhone.cxx:1208: error: redefinition of `PString body'' SoftPhone.cxx:520: error: `PString body'' previously declared here SoftPhone.cxx:1208: confused by earlier errors, bailing out make[3]: *** [/root/oss/opensipstack-1.1.5/lib/obj_linux_x86_r/SoftPhone.o] Error 1 make[3]: Leaving directory `/root/oss/opensipstack-1.1.5/src'' make[2]: *** [opt] Error 2 make[2]: Leaving directory `/root/oss/opensipstack-1.1.5'' make[1]: *** [optnoshared] Error 2 make[1]: Leaving directory `/root/oss/opensipstack-1.1.5'' make: *** [bothnoshared] Error 2 Thanks in advance, Cordially, Kolneath SOMETH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel |
From: <ope...@op...> - 2008-04-28 07:02:30
|
This is a Test |
From: Albert <agu...@so...> - 2008-04-21 06:19:02
|
We are very interested in your efforts. As of now, there are no xcode project files available for opensipstack. I will also be doing the same thing. Your contributions are always welcome :-) Thanks! Albert brad zdanivsky wrote: > sweet.. please tell me more, I need xcode too. > > scott, I'll contribute back qas I'm doing the same thing. > > Brad > > ope...@op... wrote: > >> Yep, I just did it. I'm in the process of building an OpenSIPStack framework with an Objective-C interface, and I just succesfully compiled the whole thing in Xcode. There were a few build errors that needed to be fixed, and the code generates about 60000 warnings that need to be cleaned up. >> >> I'm really new to this community, so I have no idea if the authors of this package have any interest in what I'm doing. >> >> Scott >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: brad z. <ver...@in...> - 2008-04-19 17:13:14
|
sweet.. please tell me more, I need xcode too. scott, I'll contribute back qas I'm doing the same thing. Brad ope...@op... wrote: > Yep, I just did it. I'm in the process of building an OpenSIPStack framework with an Objective-C interface, and I just succesfully compiled the whole thing in Xcode. There were a few build errors that needed to be fixed, and the code generates about 60000 warnings that need to be cleaned up. > > I'm really new to this community, so I have no idea if the authors of this package have any interest in what I'm doing. > > Scott > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: <ope...@op...> - 2008-04-19 08:05:17
|
Yep, I just did it. I'm in the process of building an OpenSIPStack framework with an Objective-C interface, and I just succesfully compiled the whole thing in Xcode. There were a few build errors that needed to be fixed, and the code generates about 60000 warnings that need to be cleaned up. I'm really new to this community, so I have no idea if the authors of this package have any interest in what I'm doing. Scott |
From: Joegen E. B. <joe...@gm...> - 2008-04-18 08:50:19
|
Claudio Miceli wrote: > Hi, > > I was working with sound channels and had a problem: How can I add a media > format to it ? > I am not sure I understand your question but here is my best effort guess. Right now OPAL assumes that the sound card can only handle PCM16. OpalMediaFormatList pcm; pcm += OpalPCM16; CreateSoundChannel( format ); > And How can I recognise the sound devices that are present in the computer ? > Depends on what you mean by "recognise". But if you mean how to get the sound devices present, then take a look at PSoundChannel::GetDeviceNames() > I have tried the following solutions. But it did not work. Any guess ? > > Thanks in advance. > > > Claudio Miceli de Farias > > PSoundChannel * MMedia::CreateSoundChannel(const OpalMediaFormat & > mediaFormat, > BOOL isSource) > { > PString deviceName; > PSoundChannel * soundChannel = new PSoundChannel(); > > if (isSource) > deviceName = soundChannel->GetDefaultDevice( > PSoundChannel::Recorder ); > else > deviceName = soundChannel->GetDefaultDevice( > PSoundChannel::Player ); > > if (isSource) cout << "\n record device: " << deviceName << "\n"; > > if (soundChannel->Open(deviceName, > isSource ? PSoundChannel::Recorder > : PSoundChannel::Player, > 1, mediaFormat.GetClockRate(), 16)) { > PTRACE(1, "PCSS\tOpened sound channel \"" << deviceName > << "\" for " << (isSource ? "record" : "play") << > "ing."); //nao estah entrando aqui > return soundChannel; > } > return soundChannel; > } > > > > OpalMediaStream * MMedia::CreateMediaStream(const OpalMediaFormat & > mediaFormat, > unsigned > sessionID,BOOL isSource) > { > PSoundChannel * soundChannel = CreateSoundChannel(mediaFormat, > isSource); > if (soundChannel == NULL) > return NULL; > > return new OpalAudioMediaStream(mediaFormat, sessionID, isSource, > soundChannelBuffers, soundChannel); > } > > OpalAudioFormat::OpalAudioFormat (OPAL_G711_ULAW_64K, > RTP_DataFrame::PCMU, "PCMU", 8, 8, 240, 30, 256); > mediaFormats+= OpalMediaFormat::OpalMediaFormat(OPAL_G711_ULAW_64K); > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Claudio M. <cmi...@gm...> - 2008-04-17 18:33:12
|
Hi, I was working with sound channels and had a problem: How can I add a media format to it ? And How can I recognise the sound devices that are present in the computer ? I have tried the following solutions. But it did not work. Any guess ? Thanks in advance. Claudio Miceli de Farias PSoundChannel * MMedia::CreateSoundChannel(const OpalMediaFormat & mediaFormat, BOOL isSource) { PString deviceName; PSoundChannel * soundChannel = new PSoundChannel(); if (isSource) deviceName = soundChannel->GetDefaultDevice( PSoundChannel::Recorder ); else deviceName = soundChannel->GetDefaultDevice( PSoundChannel::Player ); if (isSource) cout << "\n record device: " << deviceName << "\n"; if (soundChannel->Open(deviceName, isSource ? PSoundChannel::Recorder : PSoundChannel::Player, 1, mediaFormat.GetClockRate(), 16)) { PTRACE(1, "PCSS\tOpened sound channel \"" << deviceName << "\" for " << (isSource ? "record" : "play") << "ing."); //nao estah entrando aqui return soundChannel; } return soundChannel; } OpalMediaStream * MMedia::CreateMediaStream(const OpalMediaFormat & mediaFormat, unsigned sessionID,BOOL isSource) { PSoundChannel * soundChannel = CreateSoundChannel(mediaFormat, isSource); if (soundChannel == NULL) return NULL; return new OpalAudioMediaStream(mediaFormat, sessionID, isSource, soundChannelBuffers, soundChannel); } OpalAudioFormat::OpalAudioFormat (OPAL_G711_ULAW_64K, RTP_DataFrame::PCMU, "PCMU", 8, 8, 240, 30, 256); mediaFormats+= OpalMediaFormat::OpalMediaFormat(OPAL_G711_ULAW_64K); |
From: Matthias D. <mdr...@gm...> - 2008-04-15 10:36:29
|
That were nice. Thanks so far for your answers. Ilian Jeri C. Pinzon schrieb: > I'll try to work on this when time permits. :) > > - Ilian > > Joegen E. Baclor wrote: > >> Matthias Dreißig wrote: >> >> >>> Hi everyone, >>> >>> how do I use WatchRegistrationState(const SIPURI & stateAgent, const >>> SIPURI & resourceURI, const PTimeInterval & expires, const OString & >>> authUser, const OString & authPassword). What do I have to process to >>> this call? >>> >>> >>> >> Ouch! This method is an attempt to support RFC 3680 ( >> http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance to >> revisit this work for a long time so it remains a work in progress at >> this point. I am itching to get this supported in OpalOSS and OSBC >> though (hint, hint, hint Ilian ;-)) . >> >> >> >> >>> Regards, >>> M. Dreißig >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save $100. >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: Ilian J. C. P. <ip...@so...> - 2008-04-15 09:35:20
|
I'll try to work on this when time permits. :) - Ilian Joegen E. Baclor wrote: > Matthias Dreißig wrote: > >> Hi everyone, >> >> how do I use WatchRegistrationState(const SIPURI & stateAgent, const >> SIPURI & resourceURI, const PTimeInterval & expires, const OString & >> authUser, const OString & authPassword). What do I have to process to >> this call? >> >> > > Ouch! This method is an attempt to support RFC 3680 ( > http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance to > revisit this work for a long time so it remains a work in progress at > this point. I am itching to get this supported in OpalOSS and OSBC > though (hint, hint, hint Ilian ;-)) . > > > >> Regards, >> M. Dreißig >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: <jo...@op...> - 2008-04-15 08:00:21
|
Not at this point. Once upon a time, there were already classes for parsing PIDF but due to the absence of dedicated manpower, it remained dormant. I decided to removed them starting version 1.1.4 of OpenSBC. It has support for messaging though, but not presence. However, it should be "relatively" easy to create your own presence functionality using the RFC3256 classes. Feel free to donate your code to the project if you decide to give it a shot. Matthias Dreißig wrote: > So there is no support for presence in opensipstack at this time? > > Joegen E. Baclor schrieb: > >> Matthias Dreißig wrote: >> >> >>> Hi everyone, >>> >>> how do I use WatchRegistrationState(const SIPURI & stateAgent, const >>> SIPURI & resourceURI, const PTimeInterval & expires, const OString & >>> authUser, const OString & authPassword). What do I have to process to >>> this call? >>> >>> >>> >> Ouch! This method is an attempt to support RFC 3680 ( >> http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance to >> revisit this work for a long time so it remains a work in progress at >> this point. I am itching to get this supported in OpalOSS and OSBC >> though (hint, hint, hint Ilian ;-)) . >> >> >> >> >>> Regards, >>> M. Dreißig >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save $100. >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: Matthias D. <mdr...@gm...> - 2008-04-15 07:45:46
|
So there is no support for presence in opensipstack at this time? Joegen E. Baclor schrieb: > Matthias Dreißig wrote: > >> Hi everyone, >> >> how do I use WatchRegistrationState(const SIPURI & stateAgent, const >> SIPURI & resourceURI, const PTimeInterval & expires, const OString & >> authUser, const OString & authPassword). What do I have to process to >> this call? >> >> > > Ouch! This method is an attempt to support RFC 3680 ( > http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance to > revisit this work for a long time so it remains a work in progress at > this point. I am itching to get this supported in OpalOSS and OSBC > though (hint, hint, hint Ilian ;-)) . > > > >> Regards, >> M. Dreißig >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: Joegen E. B. <joe...@gm...> - 2008-04-15 07:04:49
|
Matthias Dreißig wrote: > Hi everyone, > > how do I use WatchRegistrationState(const SIPURI & stateAgent, const > SIPURI & resourceURI, const PTimeInterval & expires, const OString & > authUser, const OString & authPassword). What do I have to process to > this call? > Ouch! This method is an attempt to support RFC 3680 ( http://www.ietf.org/rfc/rfc3680.txt ). I did not get the chance to revisit this work for a long time so it remains a work in progress at this point. I am itching to get this supported in OpalOSS and OSBC though (hint, hint, hint Ilian ;-)) . > Regards, > M. Dreißig > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Joegen E. B. <joe...@gm...> - 2008-04-15 06:49:29
|
Matthias Dreißig wrote: > Thanks for fast your answer. > > And if I want to adapt the registration I have to implement a subclass > of RegisterSessionManager and RegisterSession, am I right? > Right. If you need to modify the behavior of the RegisterSession, then you may also subclass it. However, if you don't need to, just sub-classing RegisterSessionManager would be ok too. All the necessary callbacks for authentication of each session is already exposed in the manager. Take a look at OpalOSSEndPoint.cxx specifically OpalOSSRegistrar class for a sample implementation. > Regards, > M. Dreißig > > jo...@op... schrieb: > >> You will need to implement your own subclass of CallSessionManager and >> CallSession for you to be able to do this cleanly. >> >> You need to implement your own override of >> >> BOOL CallSession::MakeCall( >> const SIPURI & uri, >> const OString & sdp >> ); >> >> >> It might be possible to do it in OPAL but you will need to modify the >> behavior of the media callbacks to ignore none existence of media >> channels. I wouldn't advise it. >> >> >> Matthias Dreißig wrote: >> >> >>> Hi everyone, >>> >>> is it possible to set a content type when making a call with the help of >>> opal manager? I want to set my own content type and body. >>> >>> Regards, >>> M. Dreißig >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save $100. >>> Use priority code J8TL2D2. >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Matthias D. <mdr...@gm...> - 2008-04-15 06:48:56
|
Hi everyone, how do I use WatchRegistrationState(const SIPURI & stateAgent, const SIPURI & resourceURI, const PTimeInterval & expires, const OString & authUser, const OString & authPassword). What do I have to process to this call? Regards, M. Dreißig |
From: Matthias D. <mdr...@gm...> - 2008-04-15 06:34:28
|
Thanks for fast your answer. And if I want to adapt the registration I have to implement a subclass of RegisterSessionManager and RegisterSession, am I right? Regards, M. Dreißig jo...@op... schrieb: > You will need to implement your own subclass of CallSessionManager and > CallSession for you to be able to do this cleanly. > > You need to implement your own override of > > BOOL CallSession::MakeCall( > const SIPURI & uri, > const OString & sdp > ); > > > It might be possible to do it in OPAL but you will need to modify the > behavior of the media callbacks to ignore none existence of media > channels. I wouldn't advise it. > > > Matthias Dreißig wrote: > >> Hi everyone, >> >> is it possible to set a content type when making a call with the help of >> opal manager? I want to set my own content type and body. >> >> Regards, >> M. Dreißig >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |
From: <jo...@op...> - 2008-04-14 06:43:33
|
You will need to implement your own subclass of CallSessionManager and CallSession for you to be able to do this cleanly. You need to implement your own override of BOOL CallSession::MakeCall( const SIPURI & uri, const OString & sdp ); It might be possible to do it in OPAL but you will need to modify the behavior of the media callbacks to ignore none existence of media channels. I wouldn't advise it. Matthias Dreißig wrote: > Hi everyone, > > is it possible to set a content type when making a call with the help of > opal manager? I want to set my own content type and body. > > Regards, > M. Dreißig > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > |
From: Matthias D. <mdr...@gm...> - 2008-04-14 05:53:52
|
Hi everyone, is it possible to set a content type when making a call with the help of opal manager? I want to set my own content type and body. Regards, M. Dreißig |
From: Matthias D. <mdr...@gm...> - 2008-04-10 12:47:23
|
Thats it. Now it works, thanks a lot. M. Dreißig Joegen E. Baclor schrieb: > I think I was that last guy in that thread you mentioned. I must admit > the last guy was wrong ;-). I have patched CVS so that all instances of > PAtomicInteger never use the operator=() and use > PAtomicInteger::SetValue() instead. Thank you for following up on this. > > Joegen > > Matthias Dreißig wrote: > >> Hi all, >> >> if I try to compile opensipstack 1.1.7 on SUSE 10.3 (Intel dual core >> CPU) a compile error occurs. I run ./configure and make bothnoshared. >> There is already a thread describing this problem but there is no clear >> solution. In this thread the last guy said the pwlib include path >> contains another instance of pwlib. How can I fix the problem? >> >> If I make the operator in include/ptlib/critsec.h from private to public >> all works fine but this is perhaps not the best way. >> >> Thanks >> M. Dreißig >> >> log: >> opensipstack-1.1.7/include/ptlib/critsec.h: In member function ?void >> SIPTransactions::SIPTransaction::SetState(int)?: >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/SIPTransaction.h:258: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> SIPTransactions::SIPTransaction]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> SIPTransactions::SIPTransaction]? >> opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> UACORE::SIPSession]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> UACORE::SIPSession]? >> opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> RFC3265::RFC3265Subscription]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> RFC3265::RFC3265Subscription]? >> opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from >> here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> RFC3265::RFC3265Resource]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> RFC3265::RFC3265Resource]? >> opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> B2BUA::B2BMediaInterface::AggregatedMedia]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> B2BUA::B2BMediaInterface::AggregatedMedia]? >> opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> SIPTransactions::SIPTransaction]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> SIPTransactions::SIPTransaction]? >> opensipstack-1.1.7/include/SIPTransaction.h:147: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> UACORE::SIPSession]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> UACORE::SIPSession]? >> opensipstack-1.1.7/include/SIPSession.h:244: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> RFC3265::RFC3265Subscription]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> RFC3265::RFC3265Subscription]? >> opensipstack-1.1.7/include/RFC3265Subscription.h:93: instantiated from >> here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> RFC3265::RFC3265Resource]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> RFC3265::RFC3265Resource]? >> opensipstack-1.1.7/include/RFC3265Resource.h:74: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> opensipstack-1.1.7/include/ptlib/critsec.h: In constructor >> ?GC::GCObject<T>::GCObject(T*, const Tools::OString&) [with T = >> B2BUA::B2BMediaInterface::AggregatedMedia]?: >> opensipstack-1.1.7/include/GCObject.h:521: instantiated from >> ?GC::GCReference<T> GC::Collector<T>::CreateReference(T*, const >> Tools::OString&, const Tools::OString&, const char*, int) [with T = >> B2BUA::B2BMediaInterface::AggregatedMedia]? >> opensipstack-1.1.7/include/B2BMediaInterface.h:223: instantiated from here >> opensipstack-1.1.7/include/ptlib/critsec.h:251: error: ?PAtomicInteger& >> PAtomicInteger::operator=(const PAtomicInteger&)? is private >> opensipstack-1.1.7/include/GCObject.h:281: error: within this context >> > > >> make[3]: *** >> [/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BCallInterface.o] Fehler 1 >> make[3]: *** Warte auf noch nicht beendete Prozesse... >> make[3]: *** >> [/opensipstack-1.1.7/lib/obj_linux_x86_r/B2BAuthInterface.o] Fehler 1 >> make[3]: Leaving directory `/opensipstack-1.1.7/src' >> make[2]: *** [optnoshared] Fehler 2 >> make[2]: Leaving directory `/opensipstack-1.1.7/src' >> make[1]: *** [optnoshared] Fehler 2 >> make[1]: Leaving directory `/opensipstack-1.1.7' >> make: *** [bothnoshared] Fehler 2 >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> >> >> > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > |