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 "Nair, Anushree" <an...@hp.com> on 2009/05/07 15:42:34 UTC
Problem building axis2c 1.5.0
Hello,
We have encountered the following error while trying to run 'make install' command.
We believe the problem is occurring because axis2c1.5.0 tries to build the simple_http_server
by statically linking all the objects and finds duplicate definition of the function
axis2_get_instance.
We haven't set any parameter to make axis build statically. Kindly let us know, how to resolve the
error at the earliest as it is acting as a work stopper for us.
The error encountered by us is as shown below:
eld command line:
/usr/bin/eld -o axis2_http_server -set systype oss -set highpin on -set
highrequestor on -set inspect on /usr/lib/ccplmain.o http_server_main.o
../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a
../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common
.a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a
../../../../../../util/src/.libs/libaxutil.a
../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a
../../../../../../src/core/description/.libs/libaxis2_description.a
../../../../../../src/core/deployment/.libs/libaxis2_deployment.a
../../../../../../src/core/context/.libs/libaxis2_context.a
../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a
../../../../../../src/core/engine/.libs/libaxis2_engine.a
../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender
.a
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a
/home/Rahul/axis2c-src-1.5.0/neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_
http_common.a ../../../../../../neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_pars
er.a /home/Rahul/axis2c-src-1.5.0/guththila/src/.libs/libguththila.a
/home/Rahul/axis2c-src-1.5.0/util/src/.libs/libaxutil.a -L /G/system/sys05 -lcre -lcrtl -lossk -lossf -lsec -li18n
-licnv -losse -linet -lossh -lossc
**** FATAL ERROR **** [1596] - linker halting:
Illegal duplicate definition of the procedure axis2_get_instance in
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a(http_receiver.) and
/home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a(raw_xm
l_in_out_msg_recv.o).
Thanks and Regards,
Anushree
RE: Problem building axis2c 1.5.0
Posted by "Nair, Anushree" <an...@hp.com>.
Hello,
We are using the c89 compiler on unix platform. Yes, even we have observed that the build is a static build.
But we did NOT modify the makefiles to statically build axis2/c. The makefile by default is trying to build axis statically.
Kindly advice how to build axis2/c using DLL files and what is the standard approach used.
Regards,
Anushree
________________________________
From: Rajika Kumarasiri [mailto:rajika.kumarasiri@gmail.com]
Sent: Friday, May 08, 2009 7:00 AM
To: Apache AXIS C Developers List
Subject: Re: Problem building axis2c 1.5.0
On Thu, May 7, 2009 at 7:12 PM, Nair, Anushree <an...@hp.com>> wrote:
Hello,
hi,
What's your compiler and the platform? , according to the error message it seems it tries to build static libraries ..
-Rajika
We have encountered the following error while trying to run 'make install' command.
We believe the problem is occurring because axis2c1.5.0 tries to build the simple_http_server
by statically linking all the objects and finds duplicate definition of the function
axis2_get_instance.
We haven't set any parameter to make axis build statically. Kindly let us know, how to resolve the
error at the earliest as it is acting as a work stopper for us.
The error encountered by us is as shown below:
eld command line:
/usr/bin/eld -o axis2_http_server -set systype oss -set highpin on -set
highrequestor on -set inspect on /usr/lib/ccplmain.o http_server_main.o
../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a
../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common
.a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a
../../../../../../util/src/.libs/libaxutil.a
../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a
../../../../../../src/core/description/.libs/libaxis2_description.a
../../../../../../src/core/deployment/.libs/libaxis2_deployment.a
../../../../../../src/core/context/.libs/libaxis2_context.a
../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a
../../../../../../src/core/engine/.libs/libaxis2_engine.a
../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender
.a
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a
/home/Rahul/axis2c-src-1.5.0/neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_
http_common.a ../../../../../../neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_pars
er.a /home/Rahul/axis2c-src-1.5.0/guththila/src/.libs/libguththila.a
/home/Rahul/axis2c-src-1.5.0/util/src/.libs/libaxutil.a -L /G/system/sys05 -lcre -lcrtl -lossk -lossf -lsec -li18n
-licnv -losse -linet -lossh -lossc
**** FATAL ERROR **** [1596] - linker halting:
Illegal duplicate definition of the procedure axis2_get_instance in
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a(http_receiver.) and
/home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a(raw_xm
l_in_out_msg_recv.o).
Thanks and Regards,
Anushree
--
http://wso2.org
http://llvm.org
http://www.minix3.org
Re: Problem building axis2c 1.5.0
Posted by Rajika Kumarasiri <ra...@gmail.com>.
On Thu, May 7, 2009 at 7:12 PM, Nair, Anushree <an...@hp.com> wrote:
> Hello,
>
hi,
What's your compiler and the platform? , according to the error message it
seems it tries to build static libraries ..
-Rajika
> We have encountered the following error while trying to run 'make install'
> command.
>
> We believe the problem is occurring because axis2c1.5.0 tries to build the
> simple_http_server
>
> by statically linking all the objects and finds duplicate definition of the
> function
>
> axis2_get_instance.
>
> We haven’t set any parameter to make axis build statically. Kindly let us
> know, how to resolve the
>
> error at the earliest as it is acting as a work stopper for us.
>
>
>
> The error encountered by us is as shown below:
>
>
>
>
>
> *eld command line:*
>
> * /usr/bin/eld -o axis2_http_server -set systype oss -set highpin on
> -set*
>
> * highrequestor on -set inspect on /usr/lib/ccplmain.o
> http_server_main.o*
>
> *
> ../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a*
>
> *
> ../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common
> *
>
> * .a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a*
>
> * ../../../../../../util/src/.libs/libaxutil.a*
>
> * ../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a*
>
> * ../../../../../../src/core/description/.libs/libaxis2_description.a*
>
> * ../../../../../../src/core/deployment/.libs/libaxis2_deployment.a*
>
> * ../../../../../../src/core/context/.libs/libaxis2_context.a*
>
> * ../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a*
>
> * ../../../../../../src/core/engine/.libs/libaxis2_engine.a*
>
> *
> ../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender
> *
>
> * .a*
>
> *
> ../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
> *
>
> * iver.a
> /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a*
>
> * /home/Rahul/axis2c-src-1.5.0/neethi/src/.libs/libneethi.a*
>
> *
> /home/Rahul/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_
> *
>
> * http_common.a ../../../../../../neethi/src/.libs/libneethi.a*
>
> * /home/Rahul/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.a*
>
> *
> /home/Rahul/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_pars
> *
>
> * er.a /home/Rahul/axis2c-src-1.5.0/guththila/src/.libs/libguththila.a*
>
> * /home/Rahul/axis2c-src-1.5.0/util/src/.libs/libaxutil.a -L
> /G/system/sys05 -lcre -lcrtl -lossk -lossf -lsec -li18n*
>
> * -licnv -losse -linet -lossh -lossc*
>
> * *
>
> ***** FATAL ERROR **** [1596] - linker halting:*
>
> * Illegal duplicate definition of the procedure axis2_get_instance in*
>
> *
> ../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
> *
>
> * iver.a(http_receiver.) and*
>
> *
> /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a(raw_xm
> *
>
> * l_in_out_msg_recv.o).*
>
>
>
> Thanks and Regards,
>
> Anushree
>
--
http://wso2.org
http://llvm.org
http://www.minix3.org
RE: Problem building axis2c 1.5.0
Posted by "Nair, Anushree" <an...@hp.com>.
Hello Samisa,
We are trying to build on Unix platform. We cannot migrate to 1.6, as it would be lot of effort to port the new code on our secure systems.
Kindly help us reach a resolution for our problem at the earliest.
Thanks and Regards,
Anushree
________________________________
From: Samisa Abeysinghe [mailto:samisa@wso2.com]
Sent: Thursday, May 07, 2009 7:21 PM
To: Apache AXIS C Developers List
Subject: Re: Problem building axis2c 1.5.0
What is your platform? And why are you not trying 1.6?
Thanks,
Samisa...
On Thu, May 7, 2009 at 7:12 PM, Nair, Anushree <an...@hp.com>> wrote:
Hello,
We have encountered the following error while trying to run 'make install' command.
We believe the problem is occurring because axis2c1.5.0 tries to build the simple_http_server
by statically linking all the objects and finds duplicate definition of the function
axis2_get_instance.
We haven't set any parameter to make axis build statically. Kindly let us know, how to resolve the
error at the earliest as it is acting as a work stopper for us.
The error encountered by us is as shown below:
eld command line:
/usr/bin/eld -o axis2_http_server -set systype oss -set highpin on -set
highrequestor on -set inspect on /usr/lib/ccplmain.o http_server_main.o
../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a
../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common
.a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a
../../../../../../util/src/.libs/libaxutil.a
../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a
../../../../../../src/core/description/.libs/libaxis2_description.a
../../../../../../src/core/deployment/.libs/libaxis2_deployment.a
../../../../../../src/core/context/.libs/libaxis2_context.a
../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a
../../../../../../src/core/engine/.libs/libaxis2_engine.a
../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender
.a
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a
/home/Rahul/axis2c-src-1.5.0/neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_
http_common.a ../../../../../../neethi/src/.libs/libneethi.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.a
/home/Rahul/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_pars
er.a /home/Rahul/axis2c-src-1.5.0/guththila/src/.libs/libguththila.a
/home/Rahul/axis2c-src-1.5.0/util/src/.libs/libaxutil.a -L /G/system/sys05 -lcre -lcrtl -lossk -lossf -lsec -li18n
-licnv -losse -linet -lossh -lossc
**** FATAL ERROR **** [1596] - linker halting:
Illegal duplicate definition of the procedure axis2_get_instance in
../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
iver.a(http_receiver.) and
/home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a(raw_xm
l_in_out_msg_recv.o).
Thanks and Regards,
Anushree
--
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
Re: Problem building axis2c 1.5.0
Posted by Samisa Abeysinghe <sa...@wso2.com>.
What is your platform? And why are you not trying 1.6?
Thanks,
Samisa...
On Thu, May 7, 2009 at 7:12 PM, Nair, Anushree <an...@hp.com> wrote:
> Hello,
>
> We have encountered the following error while trying to run 'make install'
> command.
>
> We believe the problem is occurring because axis2c1.5.0 tries to build the
> simple_http_server
>
> by statically linking all the objects and finds duplicate definition of the
> function
>
> axis2_get_instance.
>
> We haven’t set any parameter to make axis build statically. Kindly let us
> know, how to resolve the
>
> error at the earliest as it is acting as a work stopper for us.
>
>
>
> The error encountered by us is as shown below:
>
>
>
>
>
> *eld command line:*
>
> * /usr/bin/eld -o axis2_http_server -set systype oss -set highpin on
> -set*
>
> * highrequestor on -set inspect on /usr/lib/ccplmain.o
> http_server_main.o*
>
> *
> ../../../../../../src/core/transport/http/util/.libs/libaxis2_http_util.a*
>
> *
> ../../../../../../src/core/transport/http/common/.libs/libaxis2_http_common
> *
>
> * .a ../../../../../../axiom/src/om/.libs/libaxis2_axiom.a*
>
> * ../../../../../../util/src/.libs/libaxutil.a*
>
> * ../../../../../../axiom/src/parser/guththila/.libs/libaxis2_parser.a*
>
> * ../../../../../../src/core/description/.libs/libaxis2_description.a*
>
> * ../../../../../../src/core/deployment/.libs/libaxis2_deployment.a*
>
> * ../../../../../../src/core/context/.libs/libaxis2_context.a*
>
> * ../../../../../../src/core/clientapi/.libs/libaxis2_clientapi.a*
>
> * ../../../../../../src/core/engine/.libs/libaxis2_engine.a*
>
> *
> ../../../../../../src/core/transport/http/sender/.libs/libaxis2_http_sender
> *
>
> * .a*
>
> *
> ../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
> *
>
> * iver.a
> /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a*
>
> * /home/Rahul/axis2c-src-1.5.0/neethi/src/.libs/libneethi.a*
>
> *
> /home/Rahul/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_
> *
>
> * http_common.a ../../../../../../neethi/src/.libs/libneethi.a*
>
> * /home/Rahul/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.a*
>
> *
> /home/Rahul/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_pars
> *
>
> * er.a /home/Rahul/axis2c-src-1.5.0/guththila/src/.libs/libguththila.a*
>
> * /home/Rahul/axis2c-src-1.5.0/util/src/.libs/libaxutil.a -L
> /G/system/sys05 -lcre -lcrtl -lossk -lossf -lsec -li18n*
>
> * -licnv -losse -linet -lossh -lossc*
>
> * *
>
> ***** FATAL ERROR **** [1596] - linker halting:*
>
> * Illegal duplicate definition of the procedure axis2_get_instance in*
>
> *
> ../../../../../../src/core/transport/http/receiver/.libs/libaxis2_http_rece
> *
>
> * iver.a(http_receiver.) and*
>
> *
> /home/Rahul/axis2c-src-1.5.0/src/core/engine/.libs/libaxis2_engine.a(raw_xm
> *
>
> * l_in_out_msg_recv.o).*
>
>
>
> Thanks and Regards,
>
> Anushree
>
--
Samisa Abeysinghe
Director, Engineering - WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"