You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Dushshantha Chandradasa <dc...@virtusa.com> on 2005/07/25 06:31:01 UTC

CVS Build fails on Windows

Hi All,

 

Cvs build fails with following Error messages on Windows.

 

       [cc] Starting dependency analysis for 1 files.

       [cc] 1 files are up to date.

       [cc] 0 files to be recompiled from dependency analysis.

       [cc] 2 total files to be compiled.

       [cc] Apache2Transport.cpp

       [cc] C:\Program Files\Microsoft Visual
Studio\VC98\include\xlocnum(155) :

 error C2065: 'strtoul_is_not_a_portable_function_use_strtol_instead' :
undeclar

ed identifier

       [cc]         C:\Program Files\Microsoft Visual
Studio\VC98\include\xlocnu

m(144) : while compiling class-template member function 'class
std::istreambuf_i

terator<char,struct std::char_traits<char> > __thiscall
std::num_get<char,class

std::istreambuf_iterator<char,struct std::char_traits<char> >
>::do_get(class st

d::istreambuf_iterator<char,struct std::char_traits<char> >,class
std::istreambu

f_iterator<char,struct std::char_traits<char> >,class std::ios_base
&,int &,bool

 &) const'

       [cc] mod_axis2.cpp

       [cc] C:\Program Files\Microsoft Visual
Studio\VC98\include\xlocnum(155) :

 error C2065: 'strtoul_is_not_a_portable_function_use_strtol_instead' :
undeclar

ed identifier

       [cc]         C:\Program Files\Microsoft Visual
Studio\VC98\include\xlocnu

m(144) : while compiling class-template member function 'class
std::istreambuf_i

terator<char,struct std::char_traits<char> > __thiscall
std::num_get<char,class

std::istreambuf_iterator<char,struct std::char_traits<char> >
>::do_get(class st

d::istreambuf_iterator<char,struct std::char_traits<char> >,class
std::istreambu

f_iterator<char,struct std::char_traits<char> >,class std::ios_base
&,int &,bool

 &) const'

       [cc] Generating Code...

 

BUILD FAILED

C:\axiscpp\ws-axis\c\build.xml:212: The following error occurred while
executing

 this line:

C:\axiscpp\ws-axis\c\build.xml:204: The following error occurred while
executing

 this line:

C:\axiscpp\ws-axis\c\build.xml:119: The following error occurred while
executing

 this line:

C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl failed with
return cod

e 2

 

Total time: 3 minutes 20 seconds

 

 

 


Re: CVS Build fails on Windows

Posted by Samisa Abeysinghe <sa...@gmail.com>.
This apparently is caused by using <string> header in place of <string.h>

This is a windows only problem, and does not affect Linux.

Chinthana has the solution and hope he would commit this to CVS.

Thanks,
Samisa...

On 7/25/05, Dushshantha Chandradasa <dc...@virtusa.com> wrote:
>  
>  
> 
> Hi All, 
> 
>   
> 
> Cvs build fails with following Error messages on Windows. 
> 
>   
> 
>        [cc] Starting dependency analysis for 1 files. 
> 
>        [cc] 1 files are up to date. 
> 
>        [cc] 0 files to be recompiled from dependency analysis. 
> 
>        [cc] 2 total files to be compiled. 
> 
>        [cc] Apache2Transport.cpp 
> 
>        [cc] C:\Program Files\Microsoft Visual
> Studio\VC98\include\xlocnum(155) : 
> 
>  error C2065:
> 'strtoul_is_not_a_portable_function_use_strtol_instead' :
> undeclar 
> 
> ed identifier 
> 
>        [cc]         C:\Program Files\Microsoft Visual
> Studio\VC98\include\xlocnu 
> 
> m(144) : while compiling class-template member function 'class
> std::istreambuf_i 
> 
> terator<char,struct std::char_traits<char> > __thiscall
> std::num_get<char,class 
> 
> std::istreambuf_iterator<char,struct std::char_traits<char>
> > >::do_get(class st 
> 
> d::istreambuf_iterator<char,struct std::char_traits<char>
> >,class std::istreambu 
> 
> f_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int
> &,bool 
> 
>  &) const' 
> 
>        [cc] mod_axis2.cpp 
> 
>        [cc] C:\Program Files\Microsoft Visual
> Studio\VC98\include\xlocnum(155) : 
> 
>  error C2065:
> 'strtoul_is_not_a_portable_function_use_strtol_instead' :
> undeclar 
> 
> ed identifier 
> 
>        [cc]         C:\Program Files\Microsoft Visual
> Studio\VC98\include\xlocnu 
> 
> m(144) : while compiling class-template member function 'class
> std::istreambuf_i 
> 
> terator<char,struct std::char_traits<char> > __thiscall
> std::num_get<char,class 
> 
> std::istreambuf_iterator<char,struct std::char_traits<char>
> > >::do_get(class st 
> 
> d::istreambuf_iterator<char,struct std::char_traits<char>
> >,class std::istreambu 
> 
> f_iterator<char,struct std::char_traits<char> >,class std::ios_base &,int
> &,bool 
> 
>  &) const' 
> 
>        [cc] Generating Code... 
> 
>   
> 
> BUILD FAILED 
> 
> C:\axiscpp\ws-axis\c\build.xml:212: The following error
> occurred while executing 
> 
>  this line: 
> 
> C:\axiscpp\ws-axis\c\build.xml:204: The following error
> occurred while executing 
> 
>  this line: 
> 
> C:\axiscpp\ws-axis\c\build.xml:119: The following error
> occurred while executing 
> 
>  this line: 
> 
> C:\axiscpp\ws-axis\c\build\buildApache20Module.xml:27: cl
> failed with return cod 
> 
> e 2 
> 
>   
> 
> Total time: 3 minutes 20 seconds 
> 
>   
> 
>   
> 
>