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 Joaquim Duran <jd...@gmail.com> on 2012/06/14 19:25:41 UTC

Missing dependency when compiling axis2c for ARM.

Dear all,

I'm cross compiling the axis2c to an ARM computer, however there is a
missing dependency in the Makefile to build a library.

To configure the compilation, I run the following command:


# Cross compiling
export CXX_FLAGS="-O2 -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-ftree-vectorize -ffast-math -mfloat-abi=softfp"
export CXX_FLAGS=${CXX_FLAGS}"
-I/home/qduran/dm3730/1020072_DM37x_Linux_BSP_1-0/rootfs/usr/include/"
export LD_FLAGS="
-L/home/qduran/dm3730/1020072_DM37x_Linux_BSP_1-0/rootfs/usr/lib/"

export AXIS2C_HOME=/home/qduran/dm3730/1020072_DM37x_Linux_BSP_1-0/rootfs/usr/local/axis2c/
INSTALL_DIR=${AXIS2C_HOME}

CC=/opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc \
CXX=/opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-g++ \
AR=/opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ar \
RANLIB=/opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-ranlib \
./configure --prefix=${INSTALL_DIR} \
        --build=i686-linux --host=arm-none-linux-gnueabi \
        --target=arm-none-linux-gnueabi \
        --enable-openssl --enable-libxml2=no --enable-tests=no \
        --enable-guththila=no --enable-amqp=no

And the error is:

 /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/parser
-I../../src/om -I../../src/attachments -I ../../../util/include -g -O2
-D_LARGEFILE64_SOURCE -ansi -Werror -Wall
-Wno-implicit-function-declaration -MT om_navigator.lo -MD -MP -MF
.deps/om_navigator.Tpo -c om_navigator.c  -fPIC -DPIC -o
.libs/om_navigator.o
 /opt/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi-gcc
-DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/parser
-I../../src/om -I../../src/attachments -I ../../../util/include -g -O2
-D_LARGEFILE64_SOURCE -ansi -Werror -Wall
-Wno-implicit-function-declaration -MT om_navigator.lo -MD -MP -MF
.deps/om_navigator.Tpo -c om_navigator.c -o om_navigator.o >/dev/null
2>&1
mv -f .deps/om_navigator.Tpo .deps/om_navigator.Plo
make[5]: *** No rule to make target `../parser//libaxis2_parser.la',
needed by `libaxis2_axiom.la'.  Stop.
make[5]: Leaving directory
`/home/qduran/dm3730/src/axis2c-src-1.6.0/axiom/src/om'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/qduran/dm3730/src/axis2c-src-1.6.0/axiom/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/qduran/dm3730/src/axis2c-src-1.6.0/axiom'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/qduran/dm3730/src/axis2c-src-1.6.0/axiom'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/qduran/dm3730/src/axis2c-src-1.6.0'
make: *** [all] Error 2

This happens with svn version (rev 1350336) and version 1.6.0. Any
suggestion to fix the issue?

Thanks and Best Regards,
Joaquim Duran

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org