免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3112 | 回复: 0
打印 上一主题 下一主题

Android-x86编译QA [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-06 14:35 |只看该作者 |倒序浏览

                                [color="#295200"]1,Getting Android-x86 source code
$ mkdir android-x86
$ cd android-x86
$ repo init -u git://git.android-x86.org/platform/manifest.git -b donut-x86
$ repo sync2,Building the image
$ make -jX usb_img TARGET_PRODUCT=eeepc
3,QA
out/target/product/eeepc/obj/STATIC_LIBRARIES/libpvjitterbuffernode_intermediates/libpvjitterbuffernode.a(pvmf_jitter_buffer_node.o):
In function `PVMFCmdResp':
external/opencore/pvmi/pvmf/include/pvmf_event_handling.h:140: undefined
reference to `vtable for PVMFCmdResp'
collect2: ld returned 1 exit status
make: ***
[out/target/product/eeepc/obj/SHARED_LIBRARIES/libopencore_net_support_intermediates/LINKED/libopencore_net_support.so]
Error 1
For those who, like me, were still confused, here's some brief
instructions:

Visit
http://www.android-x86.org/download
--> download
open_core_build_break.diff and save it in your "external/opencore"
directory.
Open a terminal in that directory (external/opencore), and type: patch
-p1 < open_core_build_break.diff

Now when you run "make usb_img" or similar in your top-level
directory, the vtable errors should go away.  Plenty of (related)
warnings, but that's par for the course.
4,******************************
                You have tried to change the API from what has been previously approved.
                To make these errors go away, you have two choices:
                   1) You can add “@hide” javadoc comments to the methods, etc. listed in the
                      errors above.
                   2) You can update current.xml by executing the following command:
                         make update-api
                      To submit the revised current.xml to the main Android repository,
                      you will need approval.
                ******************************
$make update-api然后继续编译。
5,已经编译OK可以正常运行了。
参考:http://www.android-x86.org/getsourcecode
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/92408/showart_2112245.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP