You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Jose M Medina V <jo...@wesamconsulting.com> on 2010/04/16 01:31:26 UTC

Problem Compiling Axis2/c in Ubuntu Server

Hi, I try to install axis2/c 1.6.0 in an ubuntu server 9.10 doing the following procedure:

1.- Install packages libxml2, libxml2-dev, openssl, libssl-dev

2.- Install apache server from source

3.- Configure axis2/c with the following parameters

./configure --prefix=/opt/axis2c-new --with-apache2=/usr/local/httpd-2.2.15/include \

  --enable-libxml2=yes --with-apr=/usr/local/apr-httpd/include_general \

  --enable-openssl=yes --enable-trace=yes

 

4.- But when a try to make the program I get the folwing error:

Making all in rmpolicy

make[5]: Entering directory `/home/banklot/axis2c-src-1.6.0/neethi/src/rmpolicy'

make[5]: Nothing to be done for `all'.

make[5]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi/src/rmpolicy'

make[5]: Entering directory `/home/banklot/axis2c-src-1.6.0/neethi/src'

make[5]: Nothing to be done for `all-am'.

make[5]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi/src'

make[4]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi/src'

Making all in test

make[4]: Entering directory `/home/banklot/axis2c-src-1.6.0/neethi/test'

/bin/bash ../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 ../../axiom/src/om/libaxis2_axiom.la ../../util/src/libaxutil.la ../src/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,/opt/axis2c-new/lib

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterFlush@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteComment@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlCleanupParser@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderConstEncoding@LIBXML2_2.6.15'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlNewTextWriterDoc@LIBXML2_2.6.3'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderSetErrorHandler@LIBXML2_2.5.2'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderValue@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderMoveToElement@LIBXML2_2.5.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteString@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderNodeType@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlBufferFree@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderName@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlReaderForFile@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlReaderWalker@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderClose@LIBXML2_2.5.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterStartDTD@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlFreeTextWriter@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlInitParser@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderIsEmptyElement@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlFree@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderRead@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlNewTextWriterFilename@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlNewTextWriterMemory@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlFreeTextReader@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterStartDocument@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteAttribute@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterStartPI@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderMoveToAttributeNo@LIBXML2_2.5.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderNamespaceUri@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderPrefix@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlReaderForIO@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderLocalName@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteCDATA@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWritePI@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlBufferCreate@LIBXML2_2.4.30'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderLookupNamespace@LIBXML2_2.5.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterEndElement@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlReaderForMemory@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterStartElement@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteAttributeNS@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterEndDocument@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterStartElementNS@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextWriterWriteRaw@LIBXML2_2.6.0'

/home/banklot/axis2c-src-1.6.0/axiom/src/parser/libxml2/.libs/libaxis2_parser.so.0: undefined reference to `xmlTextReaderAttributeCount@LIBXML2_2.4.30'

collect2: ld returned 1 exit status

make[4]: *** [test] Error 1

make[4]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi/test'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/home/banklot/axis2c-src-1.6.0/neethi'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/banklot/axis2c-src-1.6.0'

make: *** [all] Error 2

 

Any ideas to solve the problem?

Regards

------------------------------------------------------------
José M. Medina V.
Wesam Consulting
jose_medina@wesamconsulting.com
Mobile: +58(416)613-3302 +58(414)019-0580
Ofc:     +58(212)959-4155 Ext. 204
BB pin: 214C03ED
Caracas - Venezuela