- 论坛徽章:
- 0
|
[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 |
|