gingerbread build on ubuntu 11.04

605 views
Skip to first unread message

Hemna

unread,
May 27, 2011, 1:43:18 AM5/27/11
to Android Building
I'm trying to build the latest gingerbread android-x86 on my ubuntu
11.04 box and I'm getting the following issue with the kernel build..
root@waboring-laptop:/usr/local/src/android-x86# make usb_img
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.4
TARGET_PRODUCT=generic_x86
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GRJ22
============================================
find: `ethernet/java': No such file or directory
find: `ethernet/java': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
find: `frameworks/base/frameworks/base/docs/html': No such file or
directory
find: `out/target/common/docs/gen': No such file or directory
target Strip: libstdc++ (out/target/product/generic_x86/obj/lib/
libstdc
++.so)
target Strip: libm (out/target/product/generic_x86/obj/lib/libm.so)
target StaticExecutable: init (out/target/product/generic_x86/obj/
EXECUTABLES/init_intermediates/LINKED/init)
target Non-prelinked: init (out/target/product/generic_x86/symbols/
init)
target Strip: init (out/target/product/generic_x86/obj/EXECUTABLES/
init_intermediates/init)
Install: out/target/product/generic_x86/system/lib/libstdc++.so
Install: out/target/product/generic_x86/system/lib/libm.so
Install: out/target/product/generic_x86/root/init
target StaticExecutable: adbd (out/target/product/generic_x86/obj/
EXECUTABLES/adbd_intermediates/LINKED/adbd)
target Non-prelinked: adbd (out/target/product/generic_x86/symbols/
sbin/adbd)
target Strip: adbd (out/target/product/generic_x86/obj/EXECUTABLES/
adbd_intermediates/adbd)
Install: out/target/product/generic_x86/root/sbin/adbd
make: Warning: File `out/target/product/generic_x86/root/sbin/
ueventd'
has modification time 0.74 s in the future
target Executable: v86d (out/target/product/generic_x86/obj/
EXECUTABLES/v86d_intermediates/LINKED/v86d)
target Non-prelinked: v86d (out/target/product/generic_x86/symbols/
root/sbin/v86d)
target Strip: v86d (out/target/product/generic_x86/obj/EXECUTABLES/
v86d_intermediates/v86d)
Install: out/target/product/generic_x86/root/sbin/v86d
Target ram disk: out/target/product/generic_x86/ramdisk.img
make[1]: Entering directory `/usr/local/src/android-x86/kernel'
GEN /usr/local/src/android-x86/out/target/product/generic_x86/
obj/kernel/Makefile
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c:206:24: fatal error: zconf.hash.c: No
such
file or directory
compilation terminated.
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [oldnoconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/local/src/android-x86/kernel'
make: *** [out/target/product/generic_x86/kernel] Error 2

Jean-Baptiste Queru

unread,
May 27, 2011, 10:53:57 AM5/27/11
to android-...@googlegroups.com
Which exact command did you use to sync this source tree? I don't
expect that the kernel itself should be built as part of the Android
build process.

JBQ

> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Jean-Baptiste Queru

unread,
May 27, 2011, 10:54:39 AM5/27/11
to android-...@googlegroups.com
(I meant, which repo init, local_manifest.xml and/or edits to
manifest.xml, and/or additional git clones you might have run
manually).

JBQ

Hemna

unread,
May 27, 2011, 12:39:56 PM5/27/11
to Android Building
I just followed the instructions on the http://www.android-x86.org/getsourcecode
page

I ran

repo init -u git://git.android-x86.org/manifest.git -b gingerbread-x86
repo sync -j2

then tried doing a build

root@waboring-laptop:/usr/local/src/android-x86# cat buildspec.mk
TARGET_PRODUCT:=generic_x86
TARGET_BUILD_VARIANT:=eng
TARGET_BUILD_TYPE:=release
TARGET_KERNEL_CONFIG:=android-x86_defconfig

make usb_img

Dick.

On May 27, 7:54 am, Jean-Baptiste Queru <j...@android.com> wrote:
> (I meant, which repo init, local_manifest.xml and/or edits to
> manifest.xml, and/or additional git clones you might have run
> manually).
>
> JBQ
>
>
>
>
>
>
>
>
>
> On Fri, May 27, 2011 at 7:53 AM, Jean-Baptiste Queru <j...@android.com> wrote:
> > Which exact command did you use to sync this source tree? I don't
> > expect that the kernel itself should be built as part of the Android
> > build process.
>
> > JBQ
>

Jean-Baptiste Queru

unread,
May 27, 2011, 12:50:52 PM5/27/11
to android-...@googlegroups.com
That's what I guessed. I don't know how the android-x86 project has
their system set up, so you should probably work with them directly.

JBQ

hedwin

unread,
May 29, 2011, 8:11:05 AM5/29/11
to android-...@googlegroups.com
Hemna, think some stuff in not installed on you're ubuntu machine, check http://source.android.com/source/initializing.html
This page tells you what libs and apps you need.

Hedwin
Reply all
Reply to author
Forward
0 new messages