微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt6589编译modem源码出错

mt6589编译modem源码出错

时间:10-02 整理:3721RD 点击:
在ubuntu10.4-64bit下编译./make.sh "SIGNAL89_WET_JB2_MD1_HSPA.mak" new
提示环境OK
Start checking current Build Environment  
*******************************************
* [PERL]      : v5.10.1            [OK] !
* [MAKE]      : GNU Make v3.81     [OK] !
* [SHELL]     : GNU bash v4.1.5    [OK] !
* [COMPILER]  : v4.6.2             [OK] !
*******************************************
      Build Environment is ready!,
但是编译了几秒后出现错误
ckLDS: phase 1 not implemented yet
2013/04/10 18:00:46
Generate config information
genmoduleinfo is done.
Generating .lis and .def files are done
2013/04/10 18:00:47
make: *** [sys_mem_gen] 错误 1
为啥出错,求大侠指教

GCC加对了没?

加了GCC4.6.2
指定了path

要安装GCC4.4才行吧

哥哥  GCC-4.4好吧

请问LZ解决了没有,我的也报这个错误

./m: 38: [: unexpected operator
project_name = SIGNAL89_WET_JB2_MD1_HSPA
flavor = DEFAULT
clean build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/tmp/*.*
concatenate make/modem_spec/MTK_MODEM_3G_WCDMA.mak
concatenate make/custom_config/SIGNAL89_WET_JB2_MD1_HSPA_EXT.mak
concatenate_proj_mak = build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/~SIGNAL89_WET_JB2_MD1_HSPA.mak
*******************************************
recommended Build Environment
*******************************************
* [OS]        : Linux
* [PERL]      : v5.10.1 or v5.14.2
* [MAKE]      : GNU Make v3.81
* [SHELL]     : GNU bash v4.1.5
* [COMPILER]  : v4.6.2 or above
*******************************************
Start checking current Build Environment  
*******************************************
* [PERL]      : v5.14.2            [OK] !
* [MAKE]      : GNU Make v3.81     [OK] !
* [SHELL]     : GNU bash v4.2.37    [HIGHER THAN RECOMMENDED] !
* [COMPILER]  : v4.6.2             [OK] !
*******************************************
      Build Environment is ready!
*******************************************
makefile check is done
Cleaning directories under ./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT ...
/bin/sh: 11: [: 0: unexpected operator
/bin/sh: 3: [: 0: unexpected operator
Cleaning dep files under ./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/dep
Cleaning obj files under ./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/obj
Cleaning lib files under ./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/lib
Cleaning lib files under ./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/lib
/bin/sh: 6: [: 255: unexpected operator
custom/driver/drv_gen/SIGNAL89_WET_JB2_MD1_BB/DEFAULT/codegen.dws
Gencode gpio_var.c OK!
Gencode eint_drv.h OK!
Gencode eint_var.c OK!
Gencode adc_var.c OK!
no Gencode uem_drv.c!
Gencode keypad_drv.h OK!
Gencode pmic_drv.h OK!
start Drv feature check...
get feature list from drv_features.h...
get feature list from drv_features_option.h...
generate feature check file...
validate features...
infoFilename = ././build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/log/info.log
check def/undef features for drv_features.h...
log generated at ././build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/log/drv_features_option.log
[drv_features.h, drv_features_option.h]
All feature count = 1152
Defined count = 159
Undef count = 993
[drv_features_option.h]
Mismatch Config count = 0
DRV Feature Check - Done
Generate EMI settings
[Dependency] /home/tim/MTK/s7/modem/tools/objListGen.pl
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /usr/lib/perl/5.14.2/List/Util.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/share/perl/5.14.2/File/Copy.pm
[Dependency] /home/tim/MTK/s7/modem/tools/objListHelper.pm
[Dependency] /usr/share/perl/5.14.2/File/Basename.pm
[Dependency] /usr/lib/perl/5.14.2/Config.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /usr/lib/perl/5.14.2/Fcntl.pm
[Dependency] /home/tim/MTK/s7/modem/tools/CommonUtility.pm
[Dependency] /usr/share/perl/5.14.2/Carp.pm
[Dependency] /usr/share/perl/5.14.2/Exporter/Heavy.pm
[Dependency] /usr/lib/perl/5.14.2/File/Spec/Unix.pm
[Dependency] /usr/lib/perl/5.14.2/Scalar/Util.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /home/tim/MTK/s7/modem/tools/FileInfoParser.pm
[Dependency] /usr/lib/perl/5.14.2/File/Spec.pm
[Dependency] /usr/share/perl/5.14.2/overload.pm
[Dependency] /usr/share/perl/5.14.2/File/Path.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
[Dependency] /usr/lib/perl/5.14.2/Storable.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sys_auto_gen.pl
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /usr/lib/perl/5.14.2/List/Util.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /usr/share/perl/5.14.2/File/Copy.pm
[Dependency] /usr/lib/perl/5.14.2/Config.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /home/tim/MTK/s7/modem/tools/CommonUtility.pm
[Dependency] /usr/lib/perl/5.14.2/File/Spec/Unix.pm
[Dependency] /usr/lib/perl/5.14.2/Scalar/Util.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /home/tim/MTK/s7/modem/tools/FileInfoParser.pm
[Dependency] /usr/lib/perl/5.14.2/File/Spec.pm
[Dependency] /usr/share/perl/5.14.2/overload.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGen1.pl
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatGen.pl
[Dependency] /home/tim/MTK/s7/modem/tools/config_MemSegment.pm
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfo.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatInfo.pm
[Dependency] /usr/share/perl/5.14.2/File/Basename.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /home/tim/MTK/s7/modem/tools/CommonUtility.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /home/tim/MTK/s7/modem/tools/FileInfoParser.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfoWrap.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatGen.pl
[Dependency] /home/tim/MTK/s7/modem/tools/config_MemSegment.pm
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfo.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsFrame.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatInfo.pm
[Dependency] /usr/share/perl/5.14.2/File/Basename.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /home/tim/MTK/s7/modem/tools/CommonUtility.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /home/tim/MTK/s7/modem/tools/FileInfoParser.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfoWrap.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsGenLib.pl
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatGen.pl
[Dependency] /home/tim/MTK/s7/modem/tools/config_MemSegment.pm
[Dependency] /usr/share/perl/5.14.2/XSLoader.pm
[Dependency] /usr/share/perl/5.14.2/warnings/register.pm
[Dependency] /home/tim/MTK/s7/modem/tools/sysGen2.pl
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfo.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsFrame.pm
[Dependency] /usr/share/perl/5.14.2/warnings.pm
[Dependency] /usr/lib/perl/5.14.2/Cwd.pm
[Dependency] /home/tim/MTK/s7/modem/tools/scatInfo.pm
[Dependency] /usr/share/perl/5.14.2/File/Basename.pm
[Dependency] /home/tim/MTK/s7/modem/tools/pack_dep_gen.pm
[Dependency] /home/tim/MTK/s7/modem/tools/CommonUtility.pm
[Dependency] /usr/share/perl/5.14.2/strict.pm
[Dependency] /usr/share/perl/5.14.2/vars.pm
[Dependency] /usr/share/perl/5.14.2/Exporter.pm
[Dependency] /usr/share/perl/5.14.2/constant.pm
[Dependency] /home/tim/MTK/s7/modem/tools/FileInfoParser.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsInfoWrap.pm
[Dependency] /home/tim/MTK/s7/modem/tools/ldsGenLib.pl
[Dependency] /home/tim/MTK/s7/modem/tools/sysGenUtility.pm
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 437.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 441.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 445.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 449.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 453.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 457.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 482.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 486.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 490.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 494.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 498.
Using an array as a reference is deprecated at tools/MemoryUtility//LisFileParser.pm line 502.
ckLDS: phase 1 not implemented yet
/bin/sh: 1: [: 0GCC: unexpected operator
/bin/sh: 1: [: 0./build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/header_temp: unexpected operator
2013/04/23 12:55:37
Generate config information
genmoduleinfo is done.
Generating .lis and .def files are done
2013/04/23 12:55:38
clean codegen list
/bin/sh: 2: [: 255: unexpected operator
make: *** [build/SIGNAL89_WET_JB2_MD1_HSPA/DEFAULT/bin/dep/codegen_dep/nvram_auto_gen.det] Error 2

=====求解答

LZ  问题解决了吗?
---------------------------
我的很 怪异,切换UBUNTU10.04 系统 check-env OK,  但是编译报错
B2_MD1_HSPA.mak
*******************************************
recommended Build Environment
*******************************************
* [OS]        : Linux
* [PERL]      : v5.10.1 or v5.14.2
* [MAKE]      : GNU Make v3.81
* [SHELL]     : GNU bash v4.1.5
* [COMPILER]  : v4.6.2 or above
*******************************************
Start checking current Build Environment  
*******************************************
* [PERL]      : v5.10.1            [OK] !
* [MAKE]      : GNU Make v3.81     [OK] !
* [SHELL]     : GNU bash v4.1.5    [OK] !
* [COMPILER]  : v4.6.2             [OK] !
*******************************************
      Build Environment is ready!
*******************************************
makefile check is done
tools/init/strcmpex_linux.exe: 1: Syntax error: word unexpected (expecting ")")
make: *** [getoptions] Error 2
liao@liao:~/share/modem$

GCC用4.4的,4.6的检查环境时没问题,但是编译不过。

大哥在吗?能给我发一份MTK 源码吗?我想学习编译android ,有个android手机想自己编一个android系统,我邮箱675952640@qq.com  QQ  675952640

有谁在72上面编译过了modem没,怎么编译报错,又看不到错误!
求指点。
start Drv feature check...
get feature list from drv_features.h...
get feature list from drv_features_option.h...
generate feature check file...
validate features...
infoFilename = ././build/MT6572_DEMO_TDD128HSPA/DEFAULT_CUSTOM/bin/log/info.log
make.exe: *** [drv_feature_check] Error 1

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

网站地图

Top