Hi guys Firstly thanks all you developers working on spice, I tried it on x86 system ,and it really awesome !! I ‘m now porting spice-client-0.10.0 to an ARMV6 based platform Now I was stuck at the building stage … I have already used ELDK 5.2 environment successfully building done all dependency packaged, but the same configure parameter seems failed in spice client (./configure ?host=arm-linux-gnueabi ?build=i686-linux ?prefix=/usr) the error occurred at spice-0.10.0/server/ folder ,it try to link libcelt051.so ,which is confirmed successfully cross compiled to my eldk folder (/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/libcelt051.so ) But obviously it link the wrong celt051, it linked to my x86 system’s /usr/lib/libcelt051.so … before configure, I use source to export the ELDK’s environment variable: export PATH=/opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux/usr/bin:/opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux/usr/bin/armv6-vfp-linux-gnueabi:$PATH export PKG_CONFIG_SYSROOT_DIR=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi export PKG_CONFIG_PATH=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/pkgconfig export CONFIG_SITE=/opt/eldk-5.2.1/armv6/site-config-armv6-vfp-linux-gnueabi export CC=arm-linux-gnueabi-gcc export LD=arm-linux-gnueabi-ld export CXX=arm-linux-gnueabi-g++ export GDB=arm-linux-gnueabi-gdb export TARGET_PREFIX=arm-linux-gnueabi- export CONFIGURE_FLAGS="--target=arm-linux-gnueabi --host=arm-linux-gnueabi --build=i686-linux --with-libtool-sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export CFLAGS=" -march=armv6 -mthumb-interwork -mfloat-abi=softfp --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export CXXFLAGS=" -march=armv6 -mthumb-interwork -mfloat-abi=softfp --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export LDFLAGS=" --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export CPPFLAGS=" -march=armv6 -mthumb-interwork -mfloat-abi=softfp --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export OECORE_NATIVE_SYSROOT="/opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux" export OECORE_TARGET_SYSROOT="/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi" export OECORE_ACLOCAL_OPTS="-I /opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux/usr/share/aclocal" export OECORE_DISTRO_VERSION="5.2.1" export OECORE_SDK_VERSION="5.2.1" export DESTDIR=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi Attachment is the Makefile in spice-0.10.0 top folder generated by beyond configure Could you please give me some advise on it?? or show me the site where I can get some cross-compiling for spice-client ? Thank you very much indeed ! Best Regards monk.liu (刘金?) SiliconMotion ShangHai office Linux Team R&D 慧国(上海)软件科技有限公司,研发(linux组) telephone: 65107780 ext: 7143 fax:65107821 |
Attachment:
Makefile
Description: Makefile
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel