嵌入式 交叉编译Qt 时 可能出现的问题
2010-07-30 15:53
375 查看
昨天交叉编译Qt的时候出现的一个问题,晒出来和大家一起学习一下,谢谢指点
问题是这样的错误提示:
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:新宋体;
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@新宋体";
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
/usr/c20.10-2/c2/100713/bin/../lib/gcc/c2-linux-uclibc/4.0.3/../../../../c2-linux-uclibc/bin/ld:
skipping incompatible
/usr/local/Trolltech/Qt-4.6.1/lib/libQtCore.so
when searching for
-lQtCore
/usr/c20.10-2/c2/100713/bin/../lib/gcc/c2-linux-uclibc/4.0.3/../../../../c2-linux-uclibc/bin/ld: 。。。。。。
很是诧异,反复仔细检查
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
./configure 配置选项和 文件指定路径 都没有问题,最后实在无语,重新安装了Qt源码,重新配置,编译成功。 后来发现原来在配置新的
configure 选项时以前的规则还存在,所以 以后
./configure 之前最好 gmake confclean 一下清除残留配置规则。
问题是这样的错误提示:
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:新宋体;
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@新宋体";
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
/usr/c20.10-2/c2/100713/bin/../lib/gcc/c2-linux-uclibc/4.0.3/../../../../c2-linux-uclibc/bin/ld:
skipping incompatible
/usr/local/Trolltech/Qt-4.6.1/lib/libQtCore.so
when searching for
-lQtCore
/usr/c20.10-2/c2/100713/bin/../lib/gcc/c2-linux-uclibc/4.0.3/../../../../c2-linux-uclibc/bin/ld: 。。。。。。
很是诧异,反复仔细检查
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"/@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
./configure 配置选项和 文件指定路径 都没有问题,最后实在无语,重新安装了Qt源码,重新配置,编译成功。 后来发现原来在配置新的
configure 选项时以前的规则还存在,所以 以后
./configure 之前最好 gmake confclean 一下清除残留配置规则。
相关文章推荐
- 交叉编译Qt应用程序,出现moc: Too many input files specified的问题
- 编译安装Qt可能出现的问题及解决办法
- 搭建嵌入式交叉环境编译出现的问题
- ubuntu10.04编译安装QT可能出现的问题和解决办法
- 关于Qt交叉编译过程中出现的collect2: ld returned 1 exit status问题的解决方案
- C++/Qt程序编译运行时出现的问题以及解决办法
- 如何解决编译Qt及Qvfb时出现的问题
- Redhat AS3上编译qt4.3.2,出现krb5.h找不到的问题
- Qt4.8.5编译qvfb出现undefined reference to `png_create_write_struct'问题解决办法
- qt交叉编译arm时出现的一些错误和解决方法
- qtopia-2.2.0的交叉编译以及移植Ⅱ(在Fedora下构建嵌入式QT环境)
- make编译Qt原码时出现 /usr/bin/ld: cannot find -lXrender 问题的解决方法
- Qt编译过程中出现的问题
- OPNET Modeler & Visual Studio 2010 环境下编译 Process Model 可能出现的问题
- 【嵌入式开发技术之Qtopia】安装和交叉编译文档(3)——交叉编译Qt各种版本
- 在编译QT中出现The tslib functionality test failed!....的问题及解决办法
- QT5.7.0交叉编译与移植遇到的问题以及解决办法
- VS2010编译Qt5.3项目,出现Moc'ing xxx.h,系统找不到指定路径问题
- QT 编译通过但是运行出现程序异常结束或者crashed的问题 在QT creator中最佳解决办法
- 交叉编译openssl-0.9.7a出现的问题总结