主题 : tiny210 在Red Hat Enterprise linux 6上编译android 2.3.1源代码出错了 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 78809
精华: 0
发帖: 32
金钱: 165 两
威望: 33 点
综合积分: 64 分
注册时间: 2012-09-25
最后登录: 2013-02-21
楼主  发表于: 2012-10-20 14:13

 tiny210 在Red Hat Enterprise linux 6上编译android 2.3.1源代码出错了

错误如下:

frameworks/base/tools/aidl/aidl_language_l.l:58: error: ‘IMPORT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:59: error: ‘IMPORT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:63: error: ‘PACKAGE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:64: error: ‘PACKAGE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:82: error: ‘PARCELABLE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:83: error: ‘INTERFACE’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:84: error: ‘IN’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:85: error: ‘OUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:86: error: ‘INOUT’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:87: error: ‘ONEWAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not declared in this scope
frameworks/base/tools/aidl/aidl_language_l.l:89: error: ‘ARRAY’ was not declared
QQ:820144096
级别: 侠客
UID: 77092
精华: 0
发帖: 62
金钱: 310 两
威望: 62 点
综合积分: 124 分
注册时间: 2012-09-03
最后登录: 2015-05-26
1楼  发表于: 2012-10-20 21:11
网上都说的是没有声明的问题,最好还是下载友善最新的光盘,然后编译试试。
级别: 新手上路
UID: 78809
精华: 0
发帖: 32
金钱: 165 两
威望: 33 点
综合积分: 64 分
注册时间: 2012-09-25
最后登录: 2013-02-21
2楼  发表于: 2012-10-22 21:15
我试试