Hi guys, again it’s me error of make : make all-recursive make[1]: Entering directory `/home/monk/spice-0.10.0-arm' Making all in common make[2]: Entering directory `/home/monk/spice-0.10.0-arm/common' make[3]: Entering directory `/home/monk/spice-0.10.0-arm/common' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/monk/spice-0.10.0-arm/common' make[2]: Leaving directory `/home/monk/spice-0.10.0-arm/common' Making all in server make[2]: Entering directory `/home/monk/spice-0.10.0-arm/server' make all-recursive make[3]: Entering directory `/home/monk/spice-0.10.0-arm/server' Making all in . make[4]: Entering directory `/home/monk/spice-0.10.0-arm/server' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/monk/spice-0.10.0-arm/server' Making all in tests make[4]: Entering directory `/home/monk/spice-0.10.0-arm/server/tests' CCLD test_just_sockets_no_ssl libtool: link: warning: library `/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/libjpeg.la' was moved. libtool: link: warning: library `/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/libpixman-1.la' was moved. libtool: link: warning: library `/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/libjpeg.la' was moved. libtool: link: warning: library `/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/libpixman-1.la' was moved. /usr/lib/libcelt051.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make[4]: *** [test_just_sockets_no_ssl] Error 1 make[4]: Leaving directory `/home/monk/spice-0.10.0-arm/server/tests' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/monk/spice-0.10.0-arm/server' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/monk/spice-0.10.0-arm/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/monk/spice-0.10.0-arm' make: *** [all] Error 2 sorry if it troubles you Best Regards monk.liu (刘金?) SiliconMotion ShangHai office Linux Team R&D 慧国(上海)软件科技有限公司,研发(linux组) telephone: 65107780 ext: 7143 fax:65107821 发件人: Monk.liu 刘金? 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 |
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel