<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi guys<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         Firstly thanks all you developers working on spice, I tried it on x86 system ,and it really awesome !! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         I ‘m now porting spice-client-0.10.0 to an ARMV6 based platform<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         Now I was stuck at the building stage … <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         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)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>         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 )<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         But obviously it link the wrong celt051, it linked to my x86 system’s /usr/lib/libcelt051.so …<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>         before configure, I use source to export the ELDK’s environment variable: <o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>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<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export PKG_CONFIG_SYSROOT_DIR=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export PKG_CONFIG_PATH=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi/usr/lib/pkgconfig<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CONFIG_SITE=/opt/eldk-5.2.1/armv6/site-config-armv6-vfp-linux-gnueabi<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CC=arm-linux-gnueabi-gcc<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export LD=arm-linux-gnueabi-ld<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CXX=arm-linux-gnueabi-g++<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export GDB=arm-linux-gnueabi-gdb<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export TARGET_PREFIX=arm-linux-gnueabi-<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>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"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CFLAGS=" -march=armv6    -mthumb-interwork -mfloat-abi=softfp  --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CXXFLAGS=" -march=armv6    -mthumb-interwork -mfloat-abi=softfp  --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export LDFLAGS=" --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export CPPFLAGS=" -march=armv6    -mthumb-interwork -mfloat-abi=softfp  --sysroot=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export OECORE_NATIVE_SYSROOT="/opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export OECORE_TARGET_SYSROOT="/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export OECORE_ACLOCAL_OPTS="-I /opt/eldk-5.2.1/armv6/sysroots/i686-eldk-linux/usr/share/aclocal"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export OECORE_DISTRO_VERSION="5.2.1"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export OECORE_SDK_VERSION="5.2.1"<o:p></o:p></span></p><p class=MsoNormal align=left style='margin-left:21.0pt;mso-para-margin-left:2.0gd;text-align:left;text-autospace:none'><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New";color:#5F497A'>export DESTDIR=/opt/eldk-5.2.1/armv6/sysroots/armv6-vfp-linux-gnueabi</span><span lang=EN-US style='font-size:9.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>         <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>         Attachment is the Makefile in spice-0.10.0 top folder generated by beyond configure <o:p></o:p></span></p><p class=MsoNormal style='text-indent:21.0pt'><span lang=EN-US>Could you please give me some advise on it?? or show me the site where I can get some cross-compiling for spice-client ?<o:p></o:p></span></p><p class=MsoNormal style='text-indent:21.0pt'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='text-indent:21.0pt'><span lang=EN-US>Thank you very much indeed !<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Best Regards<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>monk.liu (</span><span style='font-family:宋体'>刘金贇</span><span lang=EN-US>)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>SiliconMotion ShangHai office Linux Team R&D<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:宋体'>慧国(上海)软件科技有限公司,研发(</span><span lang=EN-US>linux</span><span style='font-family:宋体'>组)</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>telephone: 65107780 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>ext: 7143<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>fax:65107821<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>