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 Frank Zhou <fc...@yahoo.com> on 2008/03/12 22:58:26 UTC

Axis2/C 1.3 source compilation error

Hi All, 

I downloaded the AXIS2/c 1.3 source code today and
found out that I can not compile it. I got the
following error:

==================
http_server_main.c
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
 : error C2220: warning treated as error - no object
file generated
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
 : warning C4047: 'function' : 'int *(__cdecl *)()'
differs in levels of indirec
tion from 'int'
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
 : warning C4047: 'function' : 'char *const **(__cdecl
*)()  ' differs in levels
 of indirection from 'char ** '
NMAKE : fatal error U1077: 'cl.exe' : return code
'0x2'
Stop.
==============

I am on Windows XP Professional x64 edition. 
I was able to compile and run AXIS2/c 1.2 without
problem.

Please advise what might be the issue. Thanks much.

Frank

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


RE: Axis2/C 1.3 source compilation error

Posted by Dave Meier <DM...@SERENA.com>.
Hi Frank,

I just noticed this earlier message.  I also use VS 2003 and
http_server_main.c does not work when built with 2003.  I commented out
the argument processing code as I never use the args anyway.  I
submitted the following issue for this:
https://issues.apache.org/jira/browse/AXIS2C-922 but it is closed as it
is 2003 specific.

-Dave. 

-----Original Message-----
From: Frank Zhou [mailto:fchou99@yahoo.com] 
Sent: Wednesday, March 12, 2008 8:43 PM
To: Apache AXIS C Developers List
Subject: Re: Axis2/C 1.3 source compilation error

Hi Samisa, 

I am using nmake commands, I tried a few options like /k, /C or /I. Only
/I will allow me continue to build, but the axis2_http_server.exe was
not created.

How do I turn off the option so warnings won't be treated as errors?

I was able to compile axis2/c 1.2 successfully.

Thanks!
Frank 

--- Samisa Abeysinghe <sa...@wso2.com> wrote:

> You seem to have warnings treated as errors. Can you disable that and 
> try again?
> 
> Samisa...
> 
> Frank Zhou wrote:
> > Hi All,
> >
> > I downloaded the AXIS2/c 1.3 source code today and found out that I 
> > can not compile it. I got the following error:
> >
> > ==================
> > http_server_main.c
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_mai
n.c(119)
> >  : error C2220: warning treated as error - no
> object
> > file generated
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_mai
n.c(119)
> >  : warning C4047: 'function' : 'int *(__cdecl
> *)()'
> > differs in levels of indirec
> > tion from 'int'
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_mai
n.c(119)
> >  : warning C4047: 'function' : 'char *const
> **(__cdecl
> > *)()  ' differs in levels
> >  of indirection from 'char ** '
> > NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
> > Stop.
> > ==============
> >
> > I am on Windows XP Professional x64 edition. 
> > I was able to compile and run AXIS2/c 1.2 without problem.
> >
> > Please advise what might be the issue. Thanks
> much.
> >
> > Frank
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-c-dev-help@ws.apache.org
> >
> >
> >
> >   
> 
> 
> --
> Samisa Abeysinghe
> Software Architect; WSO2 Inc.
> 
> http://www.wso2.com/ - "Oxygenating the Web Service Platform."
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-dev-help@ws.apache.org
> 
> 



 
________________________________________________________________________
____________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Axis2/C 1.3 source compilation error

Posted by Dinesh Premalal <xy...@gmail.com>.
Samisa Abeysinghe <sa...@wso2.com> writes:

> You seem to have warnings treated as errors. Can you disable that and
> try again?

IIRC, Senaka worked on fixing windows warnings and jira is also fixed
[1]. May be we might happen to reopen this issue. 

1.https://issues.apache.org/jira/browse/AXIS2C-573

thanks,
Dinesh

-- 
http://nethu.org

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Axis2/C 1.3 source compilation error

Posted by Frank Zhou <fc...@yahoo.com>.
Hi Samisa, 

I am using nmake commands, I tried a few options like
/k, /C or /I. Only /I will allow me continue to build,
but the axis2_http_server.exe was not created.

How do I turn off the option so warnings won't be
treated as errors?

I was able to compile axis2/c 1.2 successfully.

Thanks!
Frank 

--- Samisa Abeysinghe <sa...@wso2.com> wrote:

> You seem to have warnings treated as errors. Can you
> disable that and 
> try again?
> 
> Samisa...
> 
> Frank Zhou wrote:
> > Hi All, 
> >
> > I downloaded the AXIS2/c 1.3 source code today and
> > found out that I can not compile it. I got the
> > following error:
> >
> > ==================
> > http_server_main.c
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
> >  : error C2220: warning treated as error - no
> object
> > file generated
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
> >  : warning C4047: 'function' : 'int *(__cdecl
> *)()'
> > differs in levels of indirec
> > tion from 'int'
> >
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
> >  : warning C4047: 'function' : 'char *const
> **(__cdecl
> > *)()  ' differs in levels
> >  of indirection from 'char ** '
> > NMAKE : fatal error U1077: 'cl.exe' : return code
> > '0x2'
> > Stop.
> > ==============
> >
> > I am on Windows XP Professional x64 edition. 
> > I was able to compile and run AXIS2/c 1.2 without
> > problem.
> >
> > Please advise what might be the issue. Thanks
> much.
> >
> > Frank
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-c-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail:
> axis-c-dev-help@ws.apache.org
> >
> >
> >
> >   
> 
> 
> -- 
> Samisa Abeysinghe 
> Software Architect; WSO2 Inc.
> 
> http://www.wso2.com/ - "Oxygenating the Web Service
> Platform."
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-dev-help@ws.apache.org
> 
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Axis2/C 1.3 source compilation error

Posted by Samisa Abeysinghe <sa...@wso2.com>.
You seem to have warnings treated as errors. Can you disable that and 
try again?

Samisa...

Frank Zhou wrote:
> Hi All, 
>
> I downloaded the AXIS2/c 1.3 source code today and
> found out that I can not compile it. I got the
> following error:
>
> ==================
> http_server_main.c
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : error C2220: warning treated as error - no object
> file generated
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : warning C4047: 'function' : 'int *(__cdecl *)()'
> differs in levels of indirec
> tion from 'int'
> ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : warning C4047: 'function' : 'char *const **(__cdecl
> *)()  ' differs in levels
>  of indirection from 'char ** '
> NMAKE : fatal error U1077: 'cl.exe' : return code
> '0x2'
> Stop.
> ==============
>
> I am on Windows XP Professional x64 edition. 
> I was able to compile and run AXIS2/c 1.2 without
> problem.
>
> Please advise what might be the issue. Thanks much.
>
> Frank
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
>   


-- 
Samisa Abeysinghe 
Software Architect; WSO2 Inc.

http://www.wso2.com/ - "Oxygenating the Web Service Platform."


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: Axis2/C 1.3 source compilation error

Posted by Frank Zhou <fc...@yahoo.com>.
I also tried on my Windows Server 2003 machine and got
the same error. In both machine, I am using MS visual
studio .Net 2003.

Thanks!
Frank

--- Frank Zhou <fc...@yahoo.com> wrote:

> Hi All, 
> 
> I downloaded the AXIS2/c 1.3 source code today and
> found out that I can not compile it. I got the
> following error:
> 
> ==================
> http_server_main.c
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : error C2220: warning treated as error - no object
> file generated
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : warning C4047: 'function' : 'int *(__cdecl *)()'
> differs in levels of indirec
> tion from 'int'
>
..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119)
>  : warning C4047: 'function' : 'char *const
> **(__cdecl
> *)()  ' differs in levels
>  of indirection from 'char ** '
> NMAKE : fatal error U1077: 'cl.exe' : return code
> '0x2'
> Stop.
> ==============
> 
> I am on Windows XP Professional x64 edition. 
> I was able to compile and run AXIS2/c 1.2 without
> problem.
> 
> Please advise what might be the issue. Thanks much.
> 
> Frank
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-dev-help@ws.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org