Thread: [OpenSIPStack] OpenSIPStack Compilation Error(continued)
Brought to you by:
joegenbaclor
|
From: someth k. <som...@ya...> - 2007-04-30 15:49:44
|
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: someth k. <som...@ya...> - 2007-05-11 01:28:56
|
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: 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: 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: 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 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 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 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: Manoj K. J. <ma...@as...> - 2008-04-29 12:02:24
|
Actually i spent too much time with SIPXtapi (Integrated external voie
handling) etc.
-----Original Message-----
From: ope...@li...
[mailto:ope...@li...]On Behalf Of
Manoj Kumar Joshi
Sent: Tuesday, April 29, 2008 4:17 PM
To: 'Ilian Jeri C. Pinzon'
Cc: ope...@li...
Subject: Re: [OpenSIPStack] atlSIP control Problem
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
-------------------------------------------------------------------------
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: <jo...@op...> - 2008-04-30 07:06:09
|
It's not a guarantee but there is a big chance it can fool the filters
that it's a none SIP/RTP packet. Unless of course they crack your XOR
algorithm in which case you just need to either change the key or find
another pattern.
Or you could wait until all the foreign investors get out of UAE because
they can't make a simple phone call! When that day comes, maybe they
would stop this filtering policy.
Joegen
Manoj Kumar Joshi wrote:
> Actually i spent too much time with SIPXtapi (Integrated external voie
> handling) etc.
>
> -----Original Message-----
> From: ope...@li...
> [mailto:ope...@li...]On Behalf Of
> Manoj Kumar Joshi
> Sent: Tuesday, April 29, 2008 4:17 PM
> To: 'Ilian Jeri C. Pinzon'
> Cc: ope...@li...
> Subject: Re: [OpenSIPStack] atlSIP control Problem
>
>
> 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
>
>
>
> -------------------------------------------------------------------------
> 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
>
>
>
> -------------------------------------------------------------------------
> 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. <jb...@so...> - 2007-05-01 00:21:10
|
Here's your problem,
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking for /usr/local/include/expat.h... no
Get a copy of expat 2.0 and install it. There is also a copy of expat
in opensipstack/external but that is intended for use in windows.
Joegen
someth kolneath wrote:
> 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'.
>
>
>
>
|