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 Dimuthu Gamage <di...@gmail.com> on 2006/05/19 13:38:31 UTC

[axis2] fixes for occurring multiple definitions when building firefox extension

Hi,
 I got an error  some symbols ( transport_out, transport_in,  
axis2_stack_ops )defines twise, while I m building the firefox 
extension. The fixes are attached with the mail.

Regards
Dimuthu

Re: [axis2] fixes for occurring multiple definitions when building firefox extension

Posted by Nandika Jayawardana <ja...@gmail.com>.
Hi Dimuthu

I applied the patch.

Thanks
nandika

On 5/19/06, Dimuthu Gamage <di...@gmail.com> wrote:
>
> Hi,
> I got an error  some symbols ( transport_out, transport_in,
> axis2_stack_ops )defines twise, while I m building the firefox
> extension. The fixes are attached with the mail.
>
> Regards
> Dimuthu
>
>
> Index: modules/core/engine/conf.c
> ===================================================================
> --- modules/core/engine/conf.c  (revision 407771)
> +++ modules/core/engine/conf.c  (working copy)
> @@ -1269,7 +1269,7 @@
>      if(!config_impl->transports_in)
>      {
>          config_impl->transports_in = (axis2_hash_t *)
> axis2_hash_make(env);
> -        if(!transports_in)
> +        if(!config_impl->transports_in)
>              return AXIS2_FAILURE;
>      }
>      qname = AXIS2_TRANSPORT_IN_DESC_GET_QNAME(transport, env);
> @@ -1319,7 +1319,7 @@
>      if(!config_impl->transports_out)
>      {
>          config_impl->transports_out = axis2_hash_make(env);
> -        if(!transports_out)
> +        if(!config_impl->transports_out)
>              return AXIS2_FAILURE;
>      }
>
> Index: include/axis2_conf.h
> ===================================================================
> --- include/axis2_conf.h        (revision 407771)
> +++ include/axis2_conf.h        (working copy)
> @@ -45,8 +45,6 @@
>
> struct axis2_msg_recv;
> struct axis2_phases_info;
> -struct axis2_transport_in_desc *transports_in;
> -struct axis2_transport_out_desc *transports_out;
> typedef struct axis2_conf_ops axis2_conf_ops_t;
> typedef struct axis2_conf axis2_conf_t;
>
> Index: util/include/axis2_stack.h
> ===================================================================
> --- util/include/axis2_stack.h  (revision 407771)
> +++ util/include/axis2_stack.h  (working copy)
> @@ -84,7 +84,7 @@
>              int i);
>
>
> -}axis2_stack_ops;
> +};
>
> struct axis2_stack
> {
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>