关于 难题 arm-none-symbianelf-ld 错误

来源:互联网 发布:洒店网络方案 编辑:程序博客网 时间:2024/05/19 18:45

<!-- /* 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;}h3{mso-margin-top-alt:auto;margin-right:0cm;mso-margin-bottom-alt:auto;margin-left:0cm;mso-pagination:widow-orphan;mso-outline-level:3;font-size:13.5pt;font-family:宋体;mso-bidi-font-family:宋体;} /* Page Definitions */ @page{mso-page-border-surround-header:no;mso-page-border-surround-footer:no;}@page Section1{size:595.3pt 841.9pt;margin:72.0pt 90.0pt 72.0pt 90.0pt;mso-header-margin:42.55pt;mso-footer-margin:49.6pt;mso-paper-source:0;layout-grid:15.6pt;}div.Section1{page:Section1;}-->

在开发过程中,多少回涉及到自己的静态库。之前静态库一直很好用,可是最近出了个很奇怪的错误(如题)。在我开发Symbian过程中,使用CarbideV2.0,在使用静态库时,使用XINSW编译通过,并在WINSW目录下产生我需要的Lib文件。可是在ARM文件夹中没有产生我需要的Lib。这样当我们编译目标工程时,完美通过WINSW编译,并且可以模拟测试。可是当我想真机测试,产生SIS文件时就报了如上错误。说找不好编译好的Lib库。为了马上测试,我手动添加了WINSW下面的Lib库,可是难道以后每次测试都这么做?显然不可。

上网查找,发现可以修改静态库源文件工程的properties -> Carbide.c++ -> build configurations ->Environment tab 修改EPOCROOT值,其实就是在其后加上Epoc32,但是没能解决我的问题。请参看http://discussion.forum.nokia.com/forum/showthread.php?t=145219

之后我把静态库除了WINSW编译外,还是用GCC编译,发现ARM文件下有了Lib库,之后得到想要的SIS。可是我又遇到编译器工程目录组织形式改变,目前无法解决。之前目录是文件夹分的,可是现在却是Inf-MMp-SRc Inc 这样的形式了,请大牛指点下……