You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Vivian Wang <vi...@yahoo.com> on 2009/03/18 07:21:40 UTC

compilation error in rampart/c source code from trunk

Hi All,

I just checked out the rampart/c source code from trunk and tried to compile it, I encountered the following compilation errors, I search rampart/c, axis2/c and openSSL, nowhere defines things like 'RP_INCLUDE_ALWAYS_SP12'. Is the source code stable?

Thanks!
Vivian

========
..\..\src\util\rampart_context.c(1251) : error C2065: 'RP_INCLUDE_ALWAYS_SP12' :
 undeclared identifier
..\..\src\util\rampart_context.c(1252) : error C2065: 'RP_INCLUDE_ONCE_SP12' : u
ndeclared identifier
..\..\src\util\rampart_context.c(1253) : error C2065: 'RP_INCLUDE_ALWAYS_TO_RECI
PIENT_SP12' : undeclared identifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'derive_key_type_t' : unde
clared identifier
..\..\src\util\rampart_context.c(2510) : error C2146: syntax error : missing ';'
 before identifier 'key_type'
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2510) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2510) : error C2065: 'key_type' : undeclared id
entifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'DERIVEKEY_NONE' : undecla
red identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'derive_key_version_t' : u
ndeclared identifier
..\..\src\util\rampart_context.c(2544) : error C2146: syntax error : missing ';'
 before identifier 'key_version'
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2544) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2544) : error C2065: 'key_version' : undeclared
 identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'DERIVEKEY_VERSION_SC13' :
 undeclared identifier


      

Re: compilation error in rampart/c source code from trunk

Posted by Vivian Wang <vi...@yahoo.com>.
OK, seems like I have to check out the axis2/c source from trunk too!

Thanks!
Viviam




________________________________
From: Uthaiyashankar <sh...@wso2.com>
To: Apache AXIS C User List <ax...@ws.apache.org>
Sent: Wednesday, March 18, 2009 2:02:01 AM
Subject: Re: compilation error in rampart/c source code from trunk

Hi Vivian, 

It is defined in Axis2C\neethi\include\rp_defines.h

Regards, 
Shankar


On Wed, Mar 18, 2009 at 11:51 AM, Vivian Wang <vi...@yahoo.com> wrote:


Hi All,

I just checked out the rampart/c source code from trunk and tried to compile it, I encountered the following compilation errors, I search rampart/c, axis2/c and openSSL, nowhere defines things like 'RP_INCLUDE_ALWAYS_SP12'. Is the source code stable?

Thanks!
Vivian

========
..\..\src\util\rampart_context.c(1251) : error C2065: 'RP_INCLUDE_ALWAYS_SP12' :
 undeclared identifier
..\..\src\util\rampart_context.c(1252) : error C2065: 'RP_INCLUDE_ONCE_SP12' : u
ndeclared identifier
..\..\src\util\rampart_context.c(1253) : error C2065: 'RP_INCLUDE_ALWAYS_TO_RECI
PIENT_SP12' : undeclared identifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'derive_key_type_t' : unde
clared identifier
..\..\src\util\rampart_context.c(2510) : error C2146: syntax error : missing ';'
 before identifier 'key_type'
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2510) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2510) : error C2065: 'key_type' : undeclared id
entifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'DERIVEKEY_NONE' : undecla
red identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'derive_key_version_t' : u
ndeclared identifier
..\..\src\util\rampart_context.c(2544) : error C2146: syntax error : missing ';'
 before identifier 'key_version'
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : '<Unknown>'
 should be preceded by '<Unknown>'
..\..\src\util\rampart_context.c(2544) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2544) : error C2065: 'key_version' : undeclared
 identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'DERIVEKEY_VERSION_SC13' :
 undeclared identifier






-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc. 
http://wso2.com/ - "The Open Source SOA Company" 


      

Re: compilation error in rampart/c source code from trunk

Posted by Uthaiyashankar <sh...@wso2.com>.
Hi Vivian,

It is defined in Axis2C\neethi\include\rp_defines.h

Regards,
Shankar

On Wed, Mar 18, 2009 at 11:51 AM, Vivian Wang <vi...@yahoo.com>wrote:

>
> Hi All,
>
> I just checked out the rampart/c source code from trunk and tried to
> compile it, I encountered the following compilation errors, I search
> rampart/c, axis2/c and openSSL, nowhere defines things like
> 'RP_INCLUDE_ALWAYS_SP12'. Is the source code stable?
>
> Thanks!
> Vivian
>
> ========
> ..\..\src\util\rampart_context.c(1251) : error C2065:
> 'RP_INCLUDE_ALWAYS_SP12' :
>  undeclared identifier
> ..\..\src\util\rampart_context.c(1252) : error C2065:
> 'RP_INCLUDE_ONCE_SP12' : u
> ndeclared identifier
> ..\..\src\util\rampart_context.c(1253) : error C2065:
> 'RP_INCLUDE_ALWAYS_TO_RECI
> PIENT_SP12' : undeclared identifier
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'derive_key_type_t' :
> unde
> clared identifier
> ..\..\src\util\rampart_context.c(2510) : error C2146: syntax error :
> missing ';'
>  before identifier 'key_type'
> ..\..\src\util\rampart_context.c(2510) : error C2144: syntax error :
> '<Unknown>'
>  should be preceded by '<Unknown>'
> ..\..\src\util\rampart_context.c(2510) : error C2144: syntax error :
> '<Unknown>'
>  should be preceded by '<Unknown>'
> ..\..\src\util\rampart_context.c(2510) : error C2143: syntax error :
> missing ';'
>  before 'identifier'
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'key_type' :
> undeclared id
> entifier
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'DERIVEKEY_NONE' :
> undecla
> red identifier
> ..\..\src\util\rampart_context.c(2544) : error C2065:
> 'derive_key_version_t' : u
> ndeclared identifier
> ..\..\src\util\rampart_context.c(2544) : error C2146: syntax error :
> missing ';'
>  before identifier 'key_version'
> ..\..\src\util\rampart_context.c(2544) : error C2144: syntax error :
> '<Unknown>'
>  should be preceded by '<Unknown>'
> ..\..\src\util\rampart_context.c(2544) : error C2144: syntax error :
> '<Unknown>'
>  should be preceded by '<Unknown>'
> ..\..\src\util\rampart_context.c(2544) : error C2143: syntax error :
> missing ';'
>  before 'identifier'
> ..\..\src\util\rampart_context.c(2544) : error C2065: 'key_version' :
> undeclared
>  identifier
> ..\..\src\util\rampart_context.c(2544) : error C2065:
> 'DERIVEKEY_VERSION_SC13' :
>  undeclared identifier
>
>
>
>


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"