开发中常见的编译错误(c/c++)MTK platform

 

      ERROR1 :non ELF Object

在编译某模块时,在new时出现了下面的错误:

LENOVO53_09A_GEMINI_PHOENIX310\log\mmi_app.log(2):Error: L6850E: Archive contains non ELF Object phonebookstubstoothers.obj

cause:可能是分布式编译中断造成的部分生成文件有误,Object phonebookstubstoothers.obj文件大小为0

解决: 删除该文件 重新remake下 可以解决。

ERROR2 :Free clusters are NOT enough

问题

 :Free clusters are NOT enough . Check ckSysDrv.log for detail !

分析

     这可能是在项目中的mak文件中开了一些不必要的宏,造成nvram空间不够,看文件中下面分析:

Cluster Size (Bytes)                                    512
Free Space (Clusters)                                   870
Folders and Applications Requirement (Clusters)        1008

RESULT: FAIL!
Shortage: 138 clusters (138 Sectors = 69.0 KB = 0.07 MB)

1) Shrink FS First Drive Size to enlarge system drive size (Shrink at least 138 sectors).
2) Enlarge FS Region Size.
3) Disable some features to shrink quota requirement.
4) Replace flash device with another bigger one (Custom release projects only).

cluster(簇)的概念:

 

ERROR3 :MTK cksysdrv has errors. Delete the binary file. 

删除log中的ckSysDrv.log 文件 重新r下即可.

 

ERROR3 :FLASHTOOL ERROR  FROM UI

解决 :关闭catcher即可

 

ERROR4 :MTK  Output CustENFBImgMap.c... done

 在新加了联系人的备份功能后,在new的时候 在编译时候 出现了这样编译信息后一直 不动

原因是在res.txt文件中多了一空行。

 

 

 

 

 


 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值