axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvind Narayan <arvind.nara...@gmail.com>
Subject [axis2c-users] Building on solaris
Date Mon, 14 Sep 2009 20:23:51 GMT
Hello.

I am trying to build axis2c-1.5.0 on OpenSolaris x86.

arvind@nyeqoptws019:~/dev/external/axis2c-src-1.5.0$ uname -a
SunOS nyeqoptws019 5.11 snv_111b i86pc i386 i86pc Solaris

arvind@nyeqoptws019:~/dev/external/axis2c-src-1.5.0$ cc -V
cc: Sun Ceres C 5.10 SunOS_i386 2009/03/06

Some issues I was able to resolve:
(1) util/src/network_handler.c compile throws lots of errors about bad
characters. vm -b network_handler.c shows terminating ^M characters that
can be removed with a %s/^M//g.

(2) pthread initialization problem that was fixed in revision 728663

Issue/s that I am currently unable to resolve:
(1) None of the tests link correctly. Compilation succeeds, but running
make in any test directory results in the following error on *all*
tests.

ld: fatal: soname option (-h, --soname) is incompatible with building a
dynamic executable

Here is the output: 

arvind@nyeqoptws019:~/dev/external/axis2c-src-1.5.0/test$ make
Making all in core
make[1]: Entering directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core'
Making all in description
make[2]: Entering directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core/description'
make[3]: Entering directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core/description'
source='test_description.c' object='test_description.o' libtool=no \
	DEPDIR=.deps depmode=none /bin/sh ../../../depcomp \
	cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include
-I../../../src/core/description -I../../../src/core/context
-I../../../src/core/phaseresolver -I../../../src/core/deployment
-I../../../src/core/transport -I../../../src/core/engine
-I../../../src/core/clientapi -I ../../../util/include
-I ../../../axiom/include   -D_LARGEFILE64_SOURCE
-DAXIS2_GUTHTHILA_ENABLED -DAXIS2_SVR_MULTI_THREADED -g -O2 -pthread -g
-D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED
-DAXIS2_SVR_MULTI_THREADED -c test_description.c
/bin/sh ../../../libtool --tag=CC   --mode=link cc -g -O2 -pthread -g
-D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED
-DAXIS2_SVR_MULTI_THREADED  -lpthread -o test_description
test_description.o ../../../util/src/libaxutil.la ../../../axiom/src/om/libaxis2_axiom.la
../../../axiom/src/parser/guththila/libaxis2_parser.la -lpthread ../../../neethi/src/libneethi.la
../../../src/core/engine/libaxis2_engine.la ../../../src/core/transport/http/common/libaxis2_http_common.la
-lz -ldl 
mkdir .libs
cc -g -O2 -pthread -g -D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED
-DAXIS2_SVR_MULTI_THREADED -o .libs/test_description
test_description.o  ../../../util/src/.libs/libaxutil.so ../../../axiom/src/om/.libs/libaxis2_axiom.so
../../../axiom/src/parser/guththila/.libs/libaxis2_parser.so ../../../neethi/src/.libs/libneethi.so
../../../src/core/engine/.libs/libaxis2_engine.so /export/home/arvind/dev/external/axis2c-src-1.5.0/neethi/src/.libs/libneethi.so
/export/home/arvind/dev/external/axis2c-src-1.5.0/src/core/transport/http/common/.libs/libaxis2_http_common.so
../../../src/core/transport/http/common/.libs/libaxis2_http_common.so /export/home/arvind/dev/external/axis2c-src-1.5.0/axiom/src/om/.libs/libaxis2_axiom.so
/export/home/arvind/dev/external/axis2c-src-1.5.0/axiom/src/parser/guththila/.libs/libaxis2_parser.so
/export/home/arvind/dev/external/axis2c-src-1.5.0/guththila/src/.libs/libguththila.so /export/home/arvind/dev/external/axis2c-src-1.5.0/util/src/.libs/libaxutil.so
-lpthread -lz -ldl  -R/opt/axis2c-1.5.0/lib
ld: fatal: soname option (-h, --soname) is incompatible with building a
dynamic executable
ld: fatal: flags processing errors
make[3]: *** [test_description] Error 1
make[3]: Leaving directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core/description'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core/description'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/arvind/dev/external/axis2c-src-1.5.0/test/core'
make: *** [all-recursive] Error 1

Has anyone seen this problem? Any suggestions for resolution?

thanks

arvind.



Mime
View raw message