If you have access to another linux dist could you please also build
there. I just need to verify whether the problem is reallya Fedora 14
specific issue.
Damitha
[1]https://svn.apache.org/repos/asf/axis/axis2/c/core/trunk
Now Pains Now Gains wrote:
On Wed, Dec 15, 2010 at 11:32 AM, Damitha Kumarage <[email protected]
<mailto:[email protected]>> wrote:
Now Pains Now Gains wrote:
Hi All,
Thanks in advance. I have problem with axis2c compiling.
Environment:
Fedora 14.
libxml2 installed.
axis2/c 1.6.0 from src.
Here is the configuration command:
./configure --prefix=${AXIS2C_HOME} --enable-guththila=yes
--enable-libxml2=yes
Why you need both guththila and libxml2? Use guththila. It is the
default parser for Axis2/C.
Damitha
*Thanks for the replay. Actualy, no matter if I enable guththila or
not, I always get the same error message. * Here is the error I got
when using default configuration.
./configure --prefix=${AXIS2C_HOME}
Making all in test
make[4]: Entering directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi/test'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I ../../util/include -I
../../axiom/include -I ../../include -g -O2 -pthread -g -O2
-D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -MT test.o -MD -MP -MF
.deps/test.Tpo -c -o test.o test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -pthread -g -O2
-D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -lpthread -o test test.o
../src/libneethi.la <http://libneethi.la>
../../axiom/src/om/libaxis2_axiom.la <http://libaxis2_axiom.la>
../../util/src/libaxutil.la <http://libaxutil.la> ../src/libneethi.la
<http://libneethi.la> -ldl
mkdir .libs
gcc -g -O2 -pthread -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -o .libs/test test.o -lpthread
../../axiom/src/om/.libs/libaxis2_axiom.so
../../util/src/.libs/libaxutil.so ../src/.libs/libneethi.so -ldl
-Wl,--rpath -Wl,/home/puppy/dev/axis2/axis2c/lib
*/usr/bin/ld: test.o: undefined reference to symbol
'axiom_xml_reader_free'*
/usr/bin/ld: note: 'axiom_xml_reader_free' is defined in DSO
/home/puppy/dev/axis2/axis2c-src-1.6.0/axiom/src/parser/guththila/.libs/libaxis2_parser.so.0
so try adding it to the linker command line
/home/puppy/dev/axis2/axis2c-src-1.6.0/axiom/src/parser/guththila/.libs/libaxis2_parser.so.0:
could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [test] Error 1
make[4]: Leaving directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/puppy/dev/axis2/axis2c-src-1.6.0'
make: *** [all] Error 2
Here is the error message:
Making all in test
make[4]: Entering directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi/test'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -pthread
-g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Werror
-Wno-implicit-function-declaration -lpthread -o test test.o
../src/libneethi.la <http://libneethi.la>
<http://libneethi.la> ../../axiom/src/om/libaxis2_axiom.la
<http://libaxis2_axiom.la> <http://libaxis2_axiom.la>
../../util/src/libaxutil.la <http://libaxutil.la>
<http://libaxutil.la> ../src/libneethi.la
<http://libneethi.la> <http://libneethi.la> -ldl
gcc -g -O2 -pthread -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall
-Werror -Wno-implicit-function-declaration -o .libs/test
test.o -lpthread ../../axiom/src/om/.libs/libaxis2_axiom.so
../../util/src/.libs/libaxutil.so ../src/.libs/libneethi.so
-ldl -Wl,--rpath -Wl,*/home/puppy/dev/axis2/axis2c//lib*
*/usr/bin/ld: test.o: undefined reference to symbol
'axiom_xml_reader_free'*
/usr/bin/ld: note: 'axiom_xml_reader_free' is defined in DSO
/home/puppy/dev/axis2/axis2c//lib/libaxis2_parser.so.0 so try
adding it to the linker command line
/home/puppy/dev/axis2/axis2c//lib/libaxis2_parser.so.0: could
not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [test] Error 1
make[4]: Leaving directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0/neethi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/puppy/dev/axis2/axis2c-src-1.6.0'
make: *** [all] Error 2
How can I fix this compile error? Thanks again.
Zhang
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
--
Ch. Zhang
---------------------------------
Now Gains, Now Pains
--
__________________________________________________________________
Damitha Kumarage
Technical Lead; WSO2 Inc.
"Oxygenating the Web Service Platform; " http://www.wso2.com/
blog: " http://damithakumarage.wordpress.com/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]