axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mandar Nandale <mandar.nand...@gmail.com>
Subject Re: Cross Compilation of Axis2
Date Thu, 18 Oct 2012 12:59:09 GMT
Hi Dominic,

       Did you tried applying axis2c_neethiTest_linkdep.patch? If not you
can get it from following link apply it and compiling again.
         neethi_patch<https://build.opensuse.org/package/view_file?file=axis2c_neethiTest_linkdep.patch&package=axis2c&project=Virtualization%3ACloud%3AEucalyptus&rev=07aef3fc0da0a2878fb8b2ee76ae58e5>

Regards,

Mandar Nandale

On Thu, Oct 18, 2012 at 6:04 PM, Dominic Crutchley <domcrom@gmail.com>wrote:

> Hello,
>
> I'm trying to get axis2c to cross compile for ARM.  When I do this the
> latest release '1.6.0' fails during build of the 'neethi/tests'
> directory, with some errors relating to guththila / libaxis2 (see
> snippet below).
> It should be noted that building it for Ubuntu works perfectly, with
> no such error.
>
> What I believe to be the latest release candidate 1.7.0 RC6, appears
> to compile quite happily, but I'd rather be using a release version.
>
> Does anyone know what patches would be needed to 1.6.0 to avoid this
> problem, or how far away 1.7.0 is?
>
> A snippet of the appropriate output is below.
>
> ===========================================================================
>
> arm-none-linux-gnueabi-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/tastiest/REST/AXIS_BUILD/lib
>
> /opt/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
> warning: libaxis2_parser.so.0, needed by
> ../../axiom/src/om/.libs/libaxis2_axiom.so, not found (try using
> -rpath or -rpath-link)
>
> /opt/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld:
> warning: libguththila.so.0, needed by ../src/.libs/libneethi.so, not
> found (try using -rpath or -rpath-link)
> test.o: In function `load_policy_array':
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:185: undefined
> reference to `axiom_xml_reader_create_for_file'
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:198: undefined
> reference to `axiom_xml_reader_free'
> test.o: In function `om_node_serialize':
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:143: undefined
> reference to `axiom_xml_writer_create_for_memory'
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:158: undefined
> reference to `axiom_xml_writer_get_xml'
> test.o: In function `main':
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:32: undefined
> reference to `axiom_xml_reader_create_for_file'
> /home/tastiest/REST/axis2c-src-1.6.0/neethi/test/test.c:45: undefined
> reference to `axiom_xml_reader_free'
> ../../axiom/src/om/.libs/libaxis2_axiom.so: undefined reference to
> `axiom_xml_reader_get_attribute_prefix_by_number'
> ../../axiom/src/om/.libs/libaxis2_axiom.so: undefined reference to
> `axiom_xml_reader_get_value'
>
> ====== SNIPPED, MANY undefined references =========
>
> Regards,
> Dominic Crutchley
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
>

Mime
View raw message