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