Chinaunix首页 | 论坛 | 博客
  • 博客访问: 419941
  • 博文数量: 75
  • 博客积分: 2020
  • 博客等级: 大尉
  • 技术积分: 663
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-04 16:56
文章分类

全部博文(75)

文章存档

2010年(10)

2009年(65)

分类: LINUX

2009-12-06 14:35:07

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 sync
2,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 --> 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可以正常运行了。
参考:


阅读(3369) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~