axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominic Crutchley <domc...@gmail.com>
Subject Re: Cross Compilation of Axis2
Date Thu, 18 Oct 2012 13:16:00 GMT
Mandar,

Yes I have tried the patch, it changes the errors, but it still
refuses to compile.  The output when I use the patch changes to.....

make[4]: Entering directory `/home/tastiest/REST/axis2c-src-1.6.0/neethi/test'
arm-none-linux-gnueabi-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
make[4]: *** No rule to make target
`../../axiom/src/parser/libxml2/libaxis2_parser.la', needed by `test'.
Stop.
make[4]: Leaving directory `/home/tastiest/REST/axis2c-src-1.6.0/neethi/test'
make[3]: *** [all-recursive] Error 1

Regards,

Dominic Crutchley

On 18 October 2012 13:59, Mandar Nandale <mandar.nandale@gmail.com> wrote:
> 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
>
> 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
>>
>

---------------------------------------------------------------------
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