x86 compilation error

46 views
Skip to first unread message

Brian

unread,
Mar 28, 2009, 8:13:50 PM3/28/09
to android-porting
I've been trying to run android x86, but had no luck (black screen).
So, I got a fresh code using repo, and tried to build from the
scratch.

Now it does not even compile. I am getting the following error.
Does anyone have a similar problem? How can I fix this?

Thanks,
Brian

Copy: out/target/product/eee_701/installer/root/system/bin/netcfg
Copying installer base files...
Copy: out/target/product/eee_701/obj/lib/libdiskconfig.so -> out/
target/product/eee_701/installer/root/system/lib/libdiskconfig.so
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
Copy: ->
dirname: missing operand
Try `dirname --help' for more information.
mkdir: missing operand
Try `mkdir --help' for more information.
cp: missing file operand
Try `cp --help' for more information.
make: *** [out/target/product/eee_701/installer/ramdisk-installer.img]
Error 1

Krystian Lewandowski

unread,
Mar 29, 2009, 5:20:31 AM3/29/09
to android...@googlegroups.com
Hi,
I have the same problem, it seems that the definition of
"installer-copy-modules" in bootable/diskinstaller/config.mk contains ext2fs
libraries/tools which don't exits at specified location.

I left only libdiskconfig entry, the build was finished but i'm not sure if
it's usable anyway without ext2fs tools.

BR,
Krystian

Chen Yang

unread,
Mar 31, 2009, 5:51:55 AM3/31/09
to android...@googlegroups.com
Would some one from google give some comments on the removal the build
of e2fsprogs? Will the incomplete removal in
bootable/diskinstaller/config.mk be fixed?

It seems to me that e2fsprogs is not necessary for normal running, but
you may need those utilities like e2fsck, tune2fs for maintanance use.

If you want to enable e2fsprogs, you can modify under
external/e2fsprogs/Android.mk:
--- a/Android.mk
+++ b/Android.mk
@@ -1,3 +1,3 @@
ifneq ($(TARGET_SIMULATOR),true)
-# include $(call all-subdir-makefiles)
+ include $(call all-subdir-makefiles)
endif

--
Chen

Yi Sun

unread,
Apr 6, 2009, 2:09:42 PM4/6/09
to android...@googlegroups.com
Chen,
It seems that no one from google really care about this. And this leaves
the x86 build totally broken. We should really check in the fix for
this. Should we?
Yi

Krystian Lewandowski

unread,
Apr 9, 2009, 9:24:41 AM4/9/09
to android...@googlegroups.com
Any change in this matter?

Yi Sun

unread,
Apr 9, 2009, 12:00:52 PM4/9/09
to android...@googlegroups.com
I'm in a process to post all the patches in order to build x86. I will
send out the patch to this list and submit for review
Yi
Reply all
Reply to author
Forward
0 new messages