Issue compiling Android-x86 gingerbread-x86 code on Ubuntu 10.04 x86_64

636 views
Skip to first unread message

dang

unread,
Aug 5, 2011, 12:26:56 PM8/5/11
to Android-x86
Facing some issue while compiling Android-x86 gingerbread-x86 code on
Ubuntu 10.04 x86_64. I have searched the threads but could not find
any answer to this issue.

Steps followed to checkout branch:
repo init -u git://git.android-x86.org/manifest.git
gingerbread-x86
repo sync

Gcc version gcc version 4.4.3

developer@ubuntu:~/android_x86$ make iso_img TARGET_PRODUCT=eeepc
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.5
TARGET_PRODUCT=eeepc
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
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=GRJ90
============================================
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
make[1]: Entering directory `/home/developer/android_x86/kernel'
GEN /home/developer/android_x86/out/target/product/eeepc/obj/
kernel/Makefile
HOSTCC scripts/kconfig/zconf.tab.o
scripts/kconfig/zconf.tab.c:206:24: error: zconf.hash.c: No such file
or directory
scripts/kconfig/zconf.tab.c: In function ‘zconfparse’:
scripts/kconfig/zconf.tab.c:1648: error: ‘kconf_id_strings’ undeclared
(first use in this function)
scripts/kconfig/zconf.tab.c:1648: error: (Each undeclared identifier
is reported only once
scripts/kconfig/zconf.tab.c:1648: error: for each function it appears
in.)
scripts/kconfig/zconf.tab.c:1756: warning: implicit declaration of
function ‘kconf_id_lookup’
scripts/kconfig/zconf.tab.c:1756: warning: initialization makes
pointer from integer without a cast
scripts/kconfig/zconf.tab.c: In function ‘zconf_endtoken’:
scripts/kconfig/zconf.tab.c:2307: error: ‘kconf_id_strings’ undeclared
(first use in this function)
scripts/kconfig/zconf.tab.c:2499:23: error: lex.zconf.c: No such file
or directory
In file included from scripts/kconfig/zconf.tab.c:2501:
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c: In
function ‘conf_get_default_confname’:
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:107:
error: ‘PATH_MAX’ undeclared (first use in this function)
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:107:
warning: unused variable ‘fullname’
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c: In
function ‘conf_write’:
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:562:
error: ‘PATH_MAX’ undeclared (first use in this function)
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:562:
warning: unused variable ‘newname’
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:562:
warning: unused variable ‘tmpname’
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:562:
warning: unused variable ‘dirname’
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c: In
function ‘conf_split_config’:
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:672:
error: ‘PATH_MAX’ undeclared (first use in this function)
/home/developer/android_x86/kernel/scripts/kconfig/confdata.c:672:
warning: unused variable ‘path’
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[2]: *** [oldnoconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/developer/android_x86/kernel'
make: *** [out/target/product/eeepc/kernel] Error 2

alan.johnston

unread,
Aug 6, 2011, 10:58:58 AM8/6/11
to Android-x86
On the repo init command it should be "-b gingerbread-x86". Did not
is the "-b" in your output below.

Dang

unread,
Aug 6, 2011, 12:21:29 PM8/6/11
to andro...@googlegroups.com
oh sorry I missed it while pasting. Following was the actual command

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

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


Dang

unread,
Aug 6, 2011, 12:46:20 PM8/6/11
to andro...@googlegroups.com
Just to add when I just make linux kernel (cd kernel & make), I don't see this issue.

Kuan Po Huang

unread,
Aug 6, 2011, 12:51:08 PM8/6/11
to andro...@googlegroups.com

Hi Dang,

Have you tried removing the directory containing source code and obtaining it again?

Best regards,
Kurt

2011 8 7 00:21 於 "Dang" <dang...@gmail.com> 寫道:
oh sorry I missed it while pasting. Following was the actual command

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



On Sat, Aug 6, 2011 at 8:28 PM, alan.johnston <alan.j...@gd-ais.com> wrote:
>

> On the repo in...

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.

T...

fgdn17

unread,
Aug 6, 2011, 11:05:13 PM8/6/11
to Android-x86
build is broken since 8-2

Kuan Po Huang

unread,
Aug 7, 2011, 12:03:44 AM8/7/11
to andro...@googlegroups.com

Hi Dang,

Search "build kernel Android x86" may help.
The is also a tutorial on Android-x86 website.

Best regards,
Kurt

> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.

LittleMonter Chacky

unread,
Aug 7, 2011, 12:39:09 AM8/7/11
to Android-x86
Well, as you may have noticed Chih Wei just released a new useless
build version, without controlling if the settings/flags were
correctly set or not and if this build could be compiled... ^^

He then pretends that the culprite is the user/developers who didn't
understand what he was doing.

As you may also have noticed Mesa is still buggy while he said it's
NOT.

About Mesa, as I already said, not my problem anymore. At least I
didn't say a word about this, since he and Yi Sun just censored me, so
I couldn't respond anymore, or "attack" the other devs, or got quarrel
with Al... ;-) LOL

We already know he doesn't like and can't bear criticism.

MORE, he never finish any projects, then start a new project that
brings news problems, leaving the "old ones" Donut-x86, Eclair-x86,
Froyo-x86 at a statement we could only use one third of these builds
capabilities.

About Gingerbread-x86 2.3.5, sounds like he reused partly the ARM
settings and the flags of Honeycomb !!! ^^

So if you want to be able to compile and build a GB 2.3.5 x86 iso, you
have to remove the -stack_protector flag in /build/core/combo/
TARGET_linux-x86.mk !!!!

Then enjoy.

Save this page before it be removed or censored again. ^^ ;-)

Bad bad Arobase, littleMonter. ROTFL

LittleMonter Chacky

unread,
Aug 7, 2011, 12:52:35 AM8/7/11
to Android-x86

fgdn17

unread,
Aug 7, 2011, 8:06:44 AM8/7/11
to Android-x86
why?? Has something changed since I started building on 6-28???

Built many times and it has been working fine until someone started
making changes
without telling anyone...since then it's BROKE...DOESN'T WORK....

READ THE ENTRIES PEOPLE ARE POSTING...

On Aug 7, 12:03 am, Kuan Po Huang <kphu...@gmail.com> wrote:
> Hi Dang,
>
> Search "build kernel Android x86" may help.
> The is also a tutorial on Android-x86 website.
>
> Best regards,
> Kurt
>
Reply all
Reply to author
Forward
0 new messages