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 <anushree.nair@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