List Info

Thread: Compilation error on latest SVN




Compilation error on latest SVN
user name
2008-02-26 13:24:43
Hello,

Trying to compile the latest sipXtapi from SVN I get the
following
error:

.srccpCpCall.cpp(321) : error C2664:
'CpMediaInterface::playBuffer' :
cannot convert parameter 7 from 'OsProtectedEvent *' to
'UtlBoolean'

The offending line is:

    mpMediaInterface->playBuffer((char*)buffer,
    bufSize, type, repeat, local, remote, ev);

which is missing the third parameter bufRate. What should
the fix be?

Thanks,


-- 
Pedro




_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

Re: Compilation error on latest SVN
user name
2008-02-26 14:39:34
Hi Pedro,

I just fixed this in 10595.
It was a bug caused when wideband playBuffer was implemented.
callLib currently doesn't support wideband yet, but the underlying libraries (sipXmediaAdapterLib, sipXmediaLib) now do support wideband.  If you wish to take a stab at widebandifying it, we'd appreciate it, as Alex and I are focused on the mediaLib level.

I hard coded the playBuffer call you see the error on to pass in a sample rate (new parameter, that comes just after the buffer length) of 8000Hz.  This should correct your issue.

On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
Hello,

Trying to compile the latest sipXtapi from SVN I get the following
error:

.srccpCpCall.cpp(321) : error C2664: 'CpMediaInterface::playBuffer' :
cannot convert parameter 7 from 'OsProtectedEvent *' to 'UtlBoolean'

The offending line is:

 &nbsp; &nbsp;mpMediaInterface-&gt;playBuffer((char*)buffer,
&nbsp; &nbsp; bufSize, type, repeat, local, remote, ev);

which is missing the third parameter bufRate. What should the fix be?

Thanks,


--
Pedro




_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/



--
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
Re: Compilation error on latest SVN
user name
2008-02-26 15:10:48
Thanks Keith,

I'm just testing waters with sipXtapi to see how far I can
go with a
sample app I'm working on. I'm a bit disappointed that the
SVN version
doesn't compile cleanly as I would have expected. Does this
project have
a policy of compile-clean SVN trees?

Anyway, since you are quick to fix things maybe you can take
a shot at
the other errors that I get, this time in sipXtackLib.

Thanks,

-- 
Pedro

------ Build started: Project: sipXtackLib, Configuration:
Debug Win32
------
Compiling...
bzero.c
Generating Code...
Compiling...
SipConfigServerAgent.cpp
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(386) : error C2146: syntax
error :
missing ')' before identifier '_WINDOWS'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(386) : error C2059: syntax
error :
')'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(387) : error C2143: syntax
error :
missing ';' before '{'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(388) : error C2146: syntax
error :
missing ';' before identifier '_WINDOWS'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(388) : error C2065:
'_WINDOWS' :
undeclared identifier
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(395) : error C2181:
illegal else
without matching if
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(426) : fatal error C1903:
unable to
recover from previous error(s); stopping compilation
Generating Code...
Compiling...
res_send.c
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(45) : error C2011: 'pollfd' :
'struct' type
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1506) : see declaration of 'pollfd'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(61) : warning C4005: 'POLLIN' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1495) : see previous definition of 'POLLIN'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(62) : warning C4005: 'POLLPRI' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1496) : see previous definition of 'POLLPRI'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(63) : warning C4005: 'POLLOUT' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1499) : see previous definition of 'POLLOUT'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(64) : warning C4005: 'POLLRDNORM' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1493) : see previous definition of 'POLLRDNORM'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(65) : warning C4005: 'POLLWRNORM' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1498) : see previous definition of 'POLLWRNORM'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(66) : warning C4005: 'POLLRDBAND' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1494) : see previous definition of 'POLLRDBAND'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(67) : warning C4005: 'POLLWRBAND' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1500) : see previous definition of 'POLLWRBAND'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(82) : warning C4005: 'POLLERR' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1502) : see previous definition of 'POLLERR'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(83) : warning C4005: 'POLLHUP' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1503) : see previous definition of 'POLLHUP'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(84) : warning C4005: 'POLLNVAL' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1504) : see previous definition of 'POLLNVAL'
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version
9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.Debug
SipConfigServerAgent.sbr': No such file or directory
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXtackLibDebugBuildLog.htm"

sipXtackLib - 9 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0
skipped
==========



On Tue, 2008-02-26 at 15:39 -0500, Keith Kyzivat wrote:
> Hi Pedro,
> 
> I just fixed this in 10595.
> It was a bug caused when wideband playBuffer was
implemented.
> callLib currently doesn't support wideband yet, but the
underlying
> libraries (sipXmediaAdapterLib, sipXmediaLib) now do
support wideband.
> If you wish to take a stab at widebandifying it, we'd
appreciate it,
> as Alex and I are focused on the mediaLib level.
> 
> I hard coded the playBuffer call you see the error on
to pass in a
> sample rate (new parameter, that comes just after the
buffer length)
> of 8000Hz.  This should correct your issue.
> 
> On 2/26/08, Pedro Sanchez <psancheznortel.com> wrote:
>         Hello,
>         
>         Trying to compile the latest sipXtapi from SVN
I get the
>         following
>         error:
>         
>         .srccpCpCall.cpp(321) : error C2664:
>         'CpMediaInterface::playBuffer' :
>         cannot convert parameter 7 from
'OsProtectedEvent *' to
>         'UtlBoolean'
>         
>         The offending line is:
>         
>            
mpMediaInterface->playBuffer((char*)buffer,
>             bufSize, type, repeat, local, remote, ev);
>         
>         which is missing the third parameter bufRate.
What should the
>         fix be?
>         
>         Thanks,
>         
>         
>         --
>         Pedro
>         
>         
>         
>         
>        
_______________________________________________
>         sipxtapi-dev mailing list
>         sipxtapi-devlist.sipfoundry.org
>         List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/
> 
> 
> 
> -- 
> Keith Kyzivat
> 
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000

_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

Re: Compilation error on latest SVN
user name
2008-02-26 15:46:41
We do try to maintain a tree that cleanly compiles and runs, but we haven't had too many people working on it, and the current focus that I, Sergey Konstanbaev, and Alexander Chemeris have is on the mediaLib.&nbsp; we try our best to maintain the tree in all configurations, but alas, we cannot test every platform.

sipXportLib sipXsdpLib, sipXtackLib, sipXmediaLib, sipXmediaAdapterLib should all work fine under x86 linux and windows (vs2003, vs2005, and, for the most part vc6).

in sipXmediaAdapterLib, there currently is an issue with callLib that I am in midst of fixing when using the older PhoneMediaInterface, which is in the process of being replaced by TopologyGraphInterface.

You currently can fix it one of several ways.
* You can define HAVE_SPEEX in preprocessor macro definitions when building sipXmediaAdapterLib
* using the TopologyGraphInterface will fix these issues.&nbsp; Just define the following two preprocessor macros when building sipXmediaAdpaterLib: ENABLE_TOPOLOGY_FLOWGRAPH_INTERFACE_FACTORY DISABLE_DEFAULT_PHONE_MEDIA_INTERFACE_FACTORY

On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
Thanks Keith,

I'm just testing waters with sipXtapi to see how far I can go with a
sample app I'm working on. I'm a bit disappointed that the SVN version
doesn't compile cleanly as I would have expected. Does this project have
a policy of compile-clean SVN trees?

Anyway, since you are quick to fix things maybe you can take a shot at
the other errors that I get, this time in sipXtackLib.

Thanks,

--
Pedro

------ Build started: Project: sipXtackLib, Configuration: Debug Win32
------
Compiling...
bzero.c
Generating Code...
Compiling...
SipConfigServerAgent.cpp
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(386) : error C2146: syntax error :
missing ')'; before identifier '_WINDOWS'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(386) : error C2059: syntax error :
')';
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(387) : error C2143: syntax error :
missing ';'; before '{';
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(388) : error C2146: syntax error :
missing ';'; before identifier '_WINDOWS'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(388) : error C2065: '_WINDOWS' :
undeclared identifier
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(395) : error C2181: illegal else
without matching if
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
srcnetsipconfigserveragent.cpp(426) : fatal error C1903: unable to
recover from previous error(s); stopping compilation
Generating Code...
Compiling...
res_send.c
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(45) : error C2011: 'pollfd' : 'struct' type
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1506) : see declaration of 'pollfd'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(61) : warning C4005: 'POLLIN' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1495) : see previous definition of 'POLLIN'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(62) : warning C4005: 'POLLPRI' : macro
redefinition
   ; &nbsp; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1496) : see previous definition of 'POLLPRI'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(63) : warning C4005: 'POLLOUT' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1499) : see previous definition of 'POLLOUT'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(64) : warning C4005: 'POLLRDNORM' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1493) : see previous definition of 'POLLRDNORM'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(65) : warning C4005: 'POLLWRNORM' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1498) : see previous definition of 'POLLWRNORM'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(66) : warning C4005: 'POLLRDBAND' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1494) : see previous definition of 'POLLRDBAND'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(67) : warning C4005: 'POLLWRBAND' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1500) : see previous definition of 'POLLWRBAND'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(82) : warning C4005: 'POLLERR' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1502) : see previous definition of 'POLLERR'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(83) : warning C4005: 'POLLHUP' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1503) : see previous definition of 'POLLHUP'
c:documents and settingsnortelmy documentsovensipxtapisipxtacklib
includeresparsepoll.h(84) : warning C4005: 'POLLNVAL' : macro
redefinition
 &nbsp; &nbsp;   ; c:program filesmicrosoft sdkswindowsv6.0ainclude
winsock2.h(1504) : see previous definition of 'POLLNVAL'
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.Debug
SipConfigServerAgent.sbr': No such file or directory
Build log was saved at "file://c:Documents and SettingsnortelMy
DocumentsOvensipXtapisipXtackLibDebugBuildLog.htm";
sipXtackLib - 9 error(s), 10 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========




On Tue, 2008-02-26 at 15:39 -0500, Keith Kyzivat wrote:
> Hi Pedro,
>
> I just fixed this in 10595.
> It was a bug caused when wideband playBuffer was implemented.
> callLib currently doesn't support wideband yet, but the underlying
> libraries (sipXmediaAdapterLib, sipXmediaLib) now do support wideband.
> If you wish to take a stab at widebandifying it, we'd appreciate it,
> as Alex and I are focused on the mediaLib level.
>
> I hard coded the playBuffer call you see the error on to pass in a
> sample rate (new parameter, that comes just after the buffer length)
> of 8000Hz.&nbsp; This should correct your issue.
>
> On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
  ; &nbsp; &nbsp;  Hello,
>
  ; &nbsp; &nbsp;  Trying to compile the latest sipXtapi from SVN I get the
  ; &nbsp; &nbsp;  following
  ; &nbsp; &nbsp;  error:
>
  ; &nbsp; &nbsp;  .srccpCpCall.cpp(321) : error C2664:
  ; &nbsp; &nbsp;  'CpMediaInterface::playBuffer' :
  ; &nbsp; &nbsp;  cannot convert parameter 7 from 'OsProtectedEvent *' to
  ; &nbsp; &nbsp;  'UtlBoolean'
>
  ; &nbsp; &nbsp;  The offending line is:
>
  ; &nbsp; &nbsp; &nbsp; &nbsp;  mpMediaInterface->playBuffer((char*)buffer,
  ; &nbsp; &nbsp; &nbsp; &nbsp;  bufSize, type, repeat, local, remote, ev);
>
  ; &nbsp; &nbsp;  which is missing the third parameter bufRate. What should the
  ; &nbsp; &nbsp;  fix be?
>
  ; &nbsp; &nbsp;  Thanks,
>
>
  ; &nbsp; &nbsp;  --
  ; &nbsp; &nbsp;  Pedro
>
>
>
>
  ; &nbsp; &nbsp;  _______________________________________________
  ; &nbsp; &nbsp;  sipxtapi-dev mailing list
  ; &nbsp; &nbsp;  sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
  ; &nbsp; &nbsp;  List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>
>
>
> --
> Keith Kyzivat
>
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000

_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/



--
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
Re: Compilation error on latest SVN
user name
2008-02-26 16:14:37
Keith,

Other than a few warnings I have no problem compiling
sipXmediaAdapterLib, sipXmediaLib, sipXportLib, and
sipXsdpLib. And with
rev 10595 there are no problems with sipXtapi. But the
problems I had
with sipXtackLib are still present as illustrated in my
previous e-mail.

Thanks,

-- 
Pedro




On Tue, 2008-02-26 at 16:46 -0500, Keith Kyzivat wrote:
> We do try to maintain a tree that cleanly compiles and
runs, but we
> haven't had too many people working on it, and the
current focus that
> I, Sergey Konstanbaev, and Alexander Chemeris have is
on the mediaLib.
> we try our best to maintain the tree in all
configurations, but alas,
> we cannot test every platform.
> 
> sipXportLib sipXsdpLib, sipXtackLib, sipXmediaLib,
sipXmediaAdapterLib
> should all work fine under x86 linux and windows
(vs2003, vs2005, and,
> for the most part vc6).
> 
> in sipXmediaAdapterLib, there currently is an issue
with callLib that
> I am in midst of fixing when using the older
PhoneMediaInterface,
> which is in the process of being replaced by
TopologyGraphInterface.
> 
> You currently can fix it one of several ways.
> * You can define HAVE_SPEEX in preprocessor macro
definitions when
> building sipXmediaAdapterLib
> * using the TopologyGraphInterface will fix these
issues.  Just define
> the following two preprocessor macros when building
> sipXmediaAdpaterLib:
ENABLE_TOPOLOGY_FLOWGRAPH_INTERFACE_FACTORY
> DISABLE_DEFAULT_PHONE_MEDIA_INTERFACE_FACTORY
> 
> On 2/26/08, Pedro Sanchez <psancheznortel.com> wrote:
>         Thanks Keith,
>         
>         I'm just testing waters with sipXtapi to see
how far I can go
>         with a
>         sample app I'm working on. I'm a bit
disappointed that the SVN
>         version
>         doesn't compile cleanly as I would have
expected. Does this
>         project have
>         a policy of compile-clean SVN trees?
>         
>         Anyway, since you are quick to fix things maybe
you can take a
>         shot at
>         the other errors that I get, this time in
sipXtackLib.
>         
>         Thanks,
>         
>         --
>         Pedro
>         
>         ------ Build started: Project: sipXtackLib,
Configuration:
>         Debug Win32
>         ------
>         Compiling...
>         bzero.c
>         Generating Code...
>         Compiling...
>         SipConfigServerAgent.cpp
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(386) : error
C2146: syntax
>         error :
>         missing ')' before identifier '_WINDOWS'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(386) : error
C2059: syntax
>         error :
>         ')'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(387) : error
C2143: syntax
>         error :
>         missing ';' before '{'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(388) : error
C2146: syntax
>         error :
>         missing ';' before identifier '_WINDOWS'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(388) : error
C2065:
>         '_WINDOWS' :
>         undeclared identifier
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(395) : error
C2181: illegal
>         else
>         without matching if
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         srcnetsipconfigserveragent.cpp(426) : fatal
error C1903:
>         unable to
>         recover from previous error(s); stopping
compilation
>         Generating Code...
>         Compiling...
>         res_send.c
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(45) : error C2011:
'pollfd' :
>         'struct' type
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1506) : see declaration of
'pollfd'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(61) : warning C4005:
'POLLIN' : macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1495) : see previous definition of
'POLLIN'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(62) : warning C4005:
'POLLPRI' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1496) : see previous definition of
'POLLPRI'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(63) : warning C4005:
'POLLOUT' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1499) : see previous definition of
'POLLOUT'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(64) : warning C4005:
'POLLRDNORM' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1493) : see previous definition of
'POLLRDNORM'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(65) : warning C4005:
'POLLWRNORM' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1498) : see previous definition of
'POLLWRNORM'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(66) : warning C4005:
'POLLRDBAND' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1494) : see previous definition of
'POLLRDBAND'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(67) : warning C4005:
'POLLWRBAND' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1500) : see previous definition of
'POLLWRBAND'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(82) : warning C4005:
'POLLERR' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1502) : see previous definition of
'POLLERR'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(83) : warning C4005:
'POLLHUP' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1503) : see previous definition of
'POLLHUP'
>         c:documents and settingsnortelmy
documentsovensipxtapi
>         sipxtacklib
>         includeresparsepoll.h(84) : warning C4005:
'POLLNVAL' :
>         macro
>         redefinition
>                 c:program filesmicrosoft
sdkswindowsv6.0ainclude
>         winsock2.h(1504) : see previous definition of
'POLLNVAL'
>         Generating Code...
>         Creating browse information file...
>         Microsoft Browse Information Maintenance
Utility Version
>         9.00.21022
>         Copyright (C) Microsoft Corporation. All rights
reserved.
>         BSCMAKE: error BK1506 : cannot open file
'.Debug
>         SipConfigServerAgent.sbr': No such file or
directory
>         Build log was saved at
"file://c:Documents and Settings
>         nortelMy
>        
DocumentsOvensipXtapisipXtackLibDebugBuildLog.htm"

>         sipXtackLib - 9 error(s), 10 warning(s)
>         ========== Build: 0 succeeded, 1 failed, 0
up-to-date, 0
>         skipped
>         ==========
>         
>         
>         
>         
>         On Tue, 2008-02-26 at 15:39 -0500, Keith
Kyzivat wrote:
>         > Hi Pedro,
>         >
>         > I just fixed this in 10595.
>         > It was a bug caused when wideband
playBuffer was
>         implemented.
>         > callLib currently doesn't support wideband
yet, but the
>         underlying
>         > libraries (sipXmediaAdapterLib,
sipXmediaLib) now do support
>         wideband.
>         > If you wish to take a stab at
widebandifying it, we'd
>         appreciate it,
>         > as Alex and I are focused on the mediaLib
level.
>         >
>         > I hard coded the playBuffer call you see
the error on to
>         pass in a
>         > sample rate (new parameter, that comes
just after the buffer
>         length)
>         > of 8000Hz.  This should correct your
issue.
>         >
>         > On 2/26/08, Pedro Sanchez <psancheznortel.com> wrote:
>         >         Hello,
>         >
>         >         Trying to compile the latest
sipXtapi from SVN I get
>         the
>         >         following
>         >         error:
>         >
>         >         .srccpCpCall.cpp(321) : error
C2664:
>         >         'CpMediaInterface::playBuffer' :
>         >         cannot convert parameter 7 from
'OsProtectedEvent *'
>         to
>         >         'UtlBoolean'
>         >
>         >         The offending line is:
>         >
>         >            
mpMediaInterface->playBuffer((char*)buffer,
>         >             bufSize, type, repeat, local,
remote, ev);
>         >
>         >         which is missing the third
parameter bufRate. What
>         should the
>         >         fix be?
>         >
>         >         Thanks,
>         >
>         >
>         >         --
>         >         Pedro
>         >
>         >
>         >
>         >
>         >        
_______________________________________________
>         >         sipxtapi-dev mailing list
>         >         sipxtapi-devlist.sipfoundry.org
>         >         List Archive:
>         http
://list.sipfoundry.org/archive/sipxtapi-dev/
>         >
>         >
>         >
>         > --
>         > Keith Kyzivat
>         >
>         > SIPez LLC.
>         > SIP VoIP, IM and Presence Consulting
>         > http://www.SIPez.com
>         > tel: +1 (617) 273-4000
>         
>        
_______________________________________________
>         sipxtapi-dev mailing list
>         sipxtapi-devlist.sipfoundry.org
>         List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/
> 
> 
> 
> -- 
> Keith Kyzivat
> 
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000

_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

Re: Compilation error on latest SVN
user name
2008-02-26 16:40:55
What environment are you compiling with --

Which compiler, architecture..
Have you twiddled any compiler options or preprocessor macros?

On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
Keith,

Other than a few warnings I have no problem compiling
sipXmediaAdapterLib, sipXmediaLib, sipXportLib, and sipXsdpLib. And with
rev 10595 there are no problems with sipXtapi. But the problems I had
with sipXtackLib are still present as illustrated in my previous e-mail.

Thanks,

--

Pedro





On Tue, 2008-02-26 at 16:46 -0500, Keith Kyzivat wrote:
> We do try to maintain a tree that cleanly compiles and runs, but we
> haven't had too many people working on it, and the current focus that
> I, Sergey Konstanbaev, and Alexander Chemeris have is on the mediaLib.
> we try our best to maintain the tree in all configurations, but alas,
> we cannot test every platform.
>
> sipXportLib sipXsdpLib, sipXtackLib, sipXmediaLib, sipXmediaAdapterLib
> should all work fine under x86 linux and windows (vs2003, vs2005, and,
> for the most part vc6).
>
> in sipXmediaAdapterLib, there currently is an issue with callLib that
> I am in midst of fixing when using the older PhoneMediaInterface,
> which is in the process of being replaced by TopologyGraphInterface.
>
> You currently can fix it one of several ways.
> * You can define HAVE_SPEEX in preprocessor macro definitions when
> building sipXmediaAdapterLib
> * using the TopologyGraphInterface will fix these issues.&nbsp; Just define
> the following two preprocessor macros when building
> sipXmediaAdpaterLib: ENABLE_TOPOLOGY_FLOWGRAPH_INTERFACE_FACTORY
> DISABLE_DEFAULT_PHONE_MEDIA_INTERFACE_FACTORY
>
> On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
  ; &nbsp; &nbsp;  Thanks Keith,
>
  ; &nbsp; &nbsp;  I'm just testing waters with sipXtapi to see how far I can go
  ; &nbsp; &nbsp;  with a
  ; &nbsp; &nbsp;  sample app I'm working on. I'm a bit disappointed that the SVN
  ; &nbsp; &nbsp;  version
  ; &nbsp; &nbsp;  doesn't compile cleanly as I would have expected. Does this
  ; &nbsp; &nbsp;  project have
  ; &nbsp; &nbsp;  a policy of compile-clean SVN trees?
>
  ; &nbsp; &nbsp;  Anyway, since you are quick to fix things maybe you can take a
  ; &nbsp; &nbsp;  shot at
  ; &nbsp; &nbsp;  the other errors that I get, this time in sipXtackLib.
>
  ; &nbsp; &nbsp;  Thanks,
>
  ; &nbsp; &nbsp;  --
  ; &nbsp; &nbsp;  Pedro
>
  ; &nbsp; &nbsp;  ------ Build started: Project: sipXtackLib, Configuration:
  ; &nbsp; &nbsp;  Debug Win32
  ; &nbsp; &nbsp;  ------
  ; &nbsp; &nbsp;  Compiling...
  ; &nbsp; &nbsp;  bzero.c
  ; &nbsp; &nbsp;  Generating Code...
  ; &nbsp; &nbsp;  Compiling...
  ; &nbsp; &nbsp;  SipConfigServerAgent.cpp
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(386) : error C2146: syntax
  ; &nbsp; &nbsp;  error :
  ; &nbsp; &nbsp;  missing ')'; before identifier '_WINDOWS'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(386) : error C2059: syntax
  ; &nbsp; &nbsp;  error :
  ; &nbsp; &nbsp;  ')';
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(387) : error C2143: syntax
  ; &nbsp; &nbsp;  error :
  ; &nbsp; &nbsp;  missing ';'; before '{';
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(388) : error C2146: syntax
  ; &nbsp; &nbsp;  error :
  ; &nbsp; &nbsp;  missing ';'; before identifier '_WINDOWS'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(388) : error C2065:
  ; &nbsp; &nbsp;  '_WINDOWS' :
  ; &nbsp; &nbsp;  undeclared identifier
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(395) : error C2181: illegal
  ; &nbsp; &nbsp;  else
  ; &nbsp; &nbsp;  without matching if
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  srcnetsipconfigserveragent.cpp(426) : fatal error C1903:
  ; &nbsp; &nbsp;  unable to
  ; &nbsp; &nbsp;  recover from previous error(s); stopping compilation
  ; &nbsp; &nbsp;  Generating Code...
  ; &nbsp; &nbsp;  Compiling...
  ; &nbsp; &nbsp;  res_send.c
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(45) : error C2011: 'pollfd' :
  ; &nbsp; &nbsp;  'struct' type
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1506) : see declaration of 'pollfd'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(61) : warning C4005: 'POLLIN' : macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1495) : see previous definition of 'POLLIN'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(62) : warning C4005: 'POLLPRI' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1496) : see previous definition of 'POLLPRI'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(63) : warning C4005: 'POLLOUT' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1499) : see previous definition of 'POLLOUT'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(64) : warning C4005: 'POLLRDNORM' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1493) : see previous definition of 'POLLRDNORM'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(65) : warning C4005: 'POLLWRNORM' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1498) : see previous definition of 'POLLWRNORM'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(66) : warning C4005: 'POLLRDBAND' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1494) : see previous definition of 'POLLRDBAND'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(67) : warning C4005: 'POLLWRBAND' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1500) : see previous definition of 'POLLWRBAND'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(82) : warning C4005: 'POLLERR' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1502) : see previous definition of 'POLLERR'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(83) : warning C4005: 'POLLHUP' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1503) : see previous definition of 'POLLHUP'
  ; &nbsp; &nbsp;  c:documents and settingsnortelmy documentsovensipxtapi
  ; &nbsp; &nbsp;  sipxtacklib
  ; &nbsp; &nbsp;  includeresparsepoll.h(84) : warning C4005: 'POLLNVAL' :
  ; &nbsp; &nbsp;  macro
  ; &nbsp; &nbsp;  redefinition
  ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; c:program filesmicrosoft sdkswindowsv6.0ainclude
  ; &nbsp; &nbsp;  winsock2.h(1504) : see previous definition of 'POLLNVAL'
  ; &nbsp; &nbsp;  Generating Code...
  ; &nbsp; &nbsp;  Creating browse information file...
  ; &nbsp; &nbsp;  Microsoft Browse Information Maintenance Utility Version
  ; &nbsp; &nbsp;  9.00.21022
  ; &nbsp; &nbsp;  Copyright (C) Microsoft Corporation. All rights reserved.
  ; &nbsp; &nbsp;  BSCMAKE: error BK1506 : cannot open file '.Debug
  ; &nbsp; &nbsp;  SipConfigServerAgent.sbr': No such file or directory
  ; &nbsp; &nbsp;  Build log was saved at "file://c:Documents and Settings
  ; &nbsp; &nbsp;  nortelMy
  ; &nbsp; &nbsp;  DocumentsOvensipXtapisipXtackLibDebugBuildLog.htm";
  ; &nbsp; &nbsp;  sipXtackLib - 9 error(s), 10 warning(s)
  ; &nbsp; &nbsp;  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0
  ; &nbsp; &nbsp;  skipped
  ; &nbsp; &nbsp;  ==========
>
>
>
>
  ; &nbsp; &nbsp;  On Tue, 2008-02-26 at 15:39 -0500, Keith Kyzivat wrote:
  ; &nbsp; &nbsp;  > Hi Pedro,
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  > I just fixed this in 10595.
  ; &nbsp; &nbsp;  > It was a bug caused when wideband playBuffer was
  ; &nbsp; &nbsp;  implemented.
  ; &nbsp; &nbsp;  > callLib currently doesn't support wideband yet, but the
  ; &nbsp; &nbsp;  underlying
  ; &nbsp; &nbsp;  > libraries (sipXmediaAdapterLib, sipXmediaLib) now do support
  ; &nbsp; &nbsp;  wideband.
  ; &nbsp; &nbsp;  > If you wish to take a stab at widebandifying it, we'd
  ; &nbsp; &nbsp;  appreciate it,
  ; &nbsp; &nbsp;  > as Alex and I are focused on the mediaLib level.
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  > I hard coded the playBuffer call you see the error on to
  ; &nbsp; &nbsp;  pass in a
  ; &nbsp; &nbsp;  > sample rate (new parameter, that comes just after the buffer
  ; &nbsp; &nbsp;  length)
  ; &nbsp; &nbsp;  > of 8000Hz.&nbsp; This should correct your issue.
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  > On 2/26/08, Pedro Sanchez < psancheznortel.com">psancheznortel.com> wrote:
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  Hello,
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  Trying to compile the latest sipXtapi from SVN I get
  ; &nbsp; &nbsp;  the
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  following
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  error:
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  .srccpCpCall.cpp(321) : error C2664:
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  'CpMediaInterface::playBuffer' :
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  cannot convert parameter 7 from 'OsProtectedEvent *'
  ; &nbsp; &nbsp;  to
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  'UtlBoolean'
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  The offending line is:
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp; &nbsp; &nbsp;  mpMediaInterface->playBuffer((char*)buffer,
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp; &nbsp; &nbsp;  bufSize, type, repeat, local, remote, ev);
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  which is missing the third parameter bufRate. What
  ; &nbsp; &nbsp;  should the
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  fix be?
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  Thanks,
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  --
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  Pedro
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  _______________________________________________
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  sipxtapi-dev mailing list
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
  ; &nbsp; &nbsp;  >   ; &nbsp; &nbsp;  List Archive:
  ; &nbsp; &nbsp;  http://list.sipfoundry.org/archive/sipxtapi-dev/
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  > --
  ; &nbsp; &nbsp;  > Keith Kyzivat
  ; &nbsp; &nbsp;  >
  ; &nbsp; &nbsp;  > SIPez LLC.
  ; &nbsp; &nbsp;  > SIP VoIP, IM and Presence Consulting
  ; &nbsp; &nbsp;  > http://www.SIPez.com
  ; &nbsp; &nbsp;  > tel: +1 (617) 273-4000
>
  ; &nbsp; &nbsp;  _______________________________________________
  ; &nbsp; &nbsp;  sipxtapi-dev mailing list
  ; &nbsp; &nbsp;  sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
  ; &nbsp; &nbsp;  List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>
>
>
> --
> Keith Kyzivat
>
> SIPez LLC.
> SIP VoIP, IM and Presence Consulting
> http://www.SIPez.com
> tel: +1 (617) 273-4000

_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org">sipxtapi-devlist.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/



--
Keith Kyzivat

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
Re: Compilation error on latest SVN
user name
2008-02-27 09:52:11
On Tue, 2008-02-26 at 17:40 -0500, Keith Kyzivat wrote:
> What environment are you compiling with --
> 
> Which compiler, architecture..
> Have you twiddled any compiler options or preprocessor
macros?
> 
> 

I'm compiling on Windows XP with MS Visual C++ 2008. No
changes to
compiler options or pre-processor macros. Of course I
installed the
external libraries PCRE et al and added the corresponding
paths to the
build environment.

I just installed sipXtapi again, opened the solutions file
which is
converted to the new format by MS Visual C++ and I get 26
different
projects. I unchecked all the "Test" projects from
the build list since
I'm not interested in them for the moment.

Now I build the solution, tons of warnings show up, and at
the end
sipXtackLib-msvc8, sipXtapi-msvc8, and some example files
fail to
compile. sipXtackLib-msvc8 has errors, sipXtapi-msvc8 fails
to find
"afxres.h", and the examples fail to find some
header files (probably an
easy fix). See below.

Thanks,

-- 
Pedro



------ Build started: Project: sipXtackLib-msvc8,
Configuration: Debug
Win32 ------
Compiling...
res_send.c
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(45) : error C2011: 'pollfd' :
'struct' type
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1506) : see declaration of 'pollfd'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(61) : warning C4005: 'POLLIN' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1495) : see previous definition of 'POLLIN'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(62) : warning C4005: 'POLLPRI' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1496) : see previous definition of 'POLLPRI'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(63) : warning C4005: 'POLLOUT' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1499) : see previous definition of 'POLLOUT'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(64) : warning C4005: 'POLLRDNORM' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1493) : see previous definition of 'POLLRDNORM'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(65) : warning C4005: 'POLLWRNORM' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1498) : see previous definition of 'POLLWRNORM'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(66) : warning C4005: 'POLLRDBAND' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1494) : see previous definition of 'POLLRDBAND'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(67) : warning C4005: 'POLLWRBAND' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1500) : see previous definition of 'POLLWRBAND'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(82) : warning C4005: 'POLLERR' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1502) : see previous definition of 'POLLERR'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(83) : warning C4005: 'POLLHUP' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1503) : see previous definition of 'POLLHUP'
c:documents and settingsnortelmy
documentsovensipxtapisipxtacklib
includeresparsepoll.h(84) : warning C4005: 'POLLNVAL' :
macro
redefinition
        c:program filesmicrosoft
sdkswindowsv6.0ainclude
winsock2.h(1504) : see previous definition of 'POLLNVAL'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version
9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXtackLibDebugBuildLog.htm"

sipXtackLib-msvc8 - 1 error(s), 10 warning(s)
------ Build started: Project: sipXtapi-msvc8,
Configuration: Debug
Win32 ------
Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version
6.0.5724.0
Copyright (C) Microsoft Corporation.  All rights reserved.
.sipXtapi.rc(8) : fatal error RC1015: cannot open include
file
'afxres.h'.
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXcallLibDebugBuildLog.htm"

sipXtapi-msvc8 - 1 error(s), 0 warning(s)
------ Build started: Project: PlaceCall-msvc8,
Configuration: Debug
Win32 ------
Compiling...
ExternalTransport.cpp
c:documents and settingsnortelmy
documentsovensipxtapisipxcalllib
examplesplacecallsrcexternaltransport.cpp(11) : fatal
error C1083:
Cannot open include file: 'tapi/sipXtapi.h': No such file or
directory
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version
9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file
'.DebugPlaceCall.sbr': No
such file or directory
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXcallLibexamplesPlaceCallDebug

BuildLog.htm"
PlaceCall-msvc8 - 2 error(s), 0 warning(s)
------ Build started: Project: ReceiveCall-msvc8,
Configuration: Debug
Win32 ------
Compiling...
ExternalTransport.cpp
c:documents and settingsnortelmy
documentsovensipxtapisipxcalllib
examplesplacecallsrcexternaltransport.cpp(11) : fatal
error C1083:
Cannot open include file: 'tapi/sipXtapi.h': No such file or
directory
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXcallLibexamplesReceiveCallDeb
ug
BuildLog.htm"
ReceiveCall-msvc8 - 1 error(s), 0 warning(s)
------ Build started: Project: CheckVMail-msvc8,
Configuration: Debug
Win32 ------
Compiling...
CheckVMail.cpp
.srcCheckVMail.cpp(11) : fatal error C1083: Cannot open
include file:
'os/OsDefs.h': No such file or directory
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version
9.00.21022
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file
'.DebugCheckVMail.sbr': No
such file or directory
Build log was saved at "file://c:Documents and
SettingsnortelMy
DocumentsOvensipXtapisipXcallLibexamplesCheckVMailDebu
g
BuildLog.htm"
CheckVMail-msvc8 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 5 failed, 12 up-to-date, 9
skipped
==========



_______________________________________________
sipxtapi-dev mailing list
sipxtapi-devlist.sipfoundry.org
List Archive: http
://list.sipfoundry.org/archive/sipxtapi-dev/

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )