微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > ubuntu12.04编译mtk报错 (已解决)

ubuntu12.04编译mtk报错 (已解决)

时间:10-02 整理:3721RD 点击:
现象如下:
$ ./mk check-env
**********checking Env************
Please check your building environment First!
[OS]: Ubuntu 12.04.4 (64-bit) [WARNING]
[Physical memory Size] : 3940120 K-Bytes [WARNING]
[perl]: 5.14.2 (64-bit) [WARNING]
[python]: 2.7.3 (64-bit) [WARNING]
[gcc]: 4.4.7 (64-bit) [WARNING]
[bison]: 2.3 (32-bit) [FAIL]
[mingw]: [FAIL]
[unix2dos/tofrodos]: [FAIL]
The detail information is in "checkenv.log"!
***********************************************
$ ./makemtk -t xxx new
**********checking Env************
Please check your building environment First!

Build Environment Requirement
=============================================================
* ********* Suggested OS and Tool Chain to install *********
*
*       OS                         : linux distribution Ubuntu 10.04
*       Memory Size                : 4G or above
*       make                       : GNU Make 3.81 or 3.82
*       perl                       : Version 5.10.X
*       python                     : Version 2.6.X
*       ARM-linux-androideabi-gcc  : Version 4.6.X
*       gcc                        : Version 4.4.3
*       jdk                        : Version 1.6.X
*       bison                      : Version 2.4.X
*       flex                       : Version 2.5.X
*       gperf                      : Version 3.0.X
*       mingw                      : Installed
*       unix2dos/tofrodos          : Installed
* **********************************************************
=============================================================

Build Environment Check Result Report
*************************************************************
[OS]: Ubuntu 12.04.4 (64-bit) [WARNING]
your ubuntu os version is higher than recommendation
[Physical Memory Size] : 3940120 K-Bytes [WARNING]
it's smaller than recommendation, may cause out-of-memory build error
[make]: 3.81 (64-bit) [OK]
[perl]: 5.14.2 (64-bit) [WARNING]
your perl version is higher than recommendation
[python]: 2.7.3 (64-bit) [WARNING]
your python version is higher than recommendation
[arm-linux-androideabi-gcc]: 4.6. (64-bit) [OK]
[gcc]: 4.4.7 (64-bit) [WARNING]
your gcc version is higher than recommendation
[jdk]: 1.6.0_26 (64-bit) [OK]
[bison]: 2.3 (32-bit) [FAIL]
your bison version is lower than recommendation
[flex]: 2.5.35 (64-bit) [OK]
[gperf]: 3.0.3 (64-bit) [OK]
[mingw]: [FAIL]
you have not installed mingw32(i586-mingw32msvc-gcc is NOT in your path)
[unix2dos/tofrodos]: [FAIL]
you have not installed unix2dos/tofrodos command(unix2dos/todos is NOT in your path)
*************************************************************

The detail information is in "checkenv.log"!
***********************************************

这是什么问题?谢谢!

是安装了bisob,mingw,torfyodos之后就好了吗?

参考一下android官方网站的ubuntu12.10下编译安装说明
http://source.android.com/source/initializing.html

  1. sudo apt-get install git gnupg flex bison gperf build-essential \
  2.   zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
  3.   libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
  4.   libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  5.   python-markdown libxml2-utils xsltproc zlib1g-dev:i386
  6. $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

复制代码



Ok, thanks for you effort

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top