Got some errors when building the android image and system files after applying patch

Hi,

I am using the source code from
"http://labs.embinux.org/index.php/
Android_For_OMAP3_with_Gstreamer_Integration

After applying the patch "android-2.6.29-devkit.tar.bz2" and enable
"[*] Support
for Devkit 8000 Board,Clone of OMAP3 Beagle"
i do the following steps

$cd ~/Android_build
$source build/envsetup.sh
$choosecombo 1 1 beagle eng
$make

during building the image and system files the following errors occurs
............................
frameworks/base/core/java/android/webkit/gears/
UrlInterceptHandlerGears.java:335: warning 3: Unknown tag: @Deprecated
frameworks/base/media/java/android/media/AudioManager.java:152:
warning 13: Field android.media.AudioManager.NUM_STREAMS: @Deprecated
annotation and @deprecated comment do not match
frameworks/base/test-runner/android/test/ProviderTestCase.java:18:
warning 13: Class android.test.ProviderTestCase: @Deprecated
annotation and @deprecated comment do not match
frameworks/base/test-runner/android/test/TouchUtils.java:568: warning
13: Method android.test.TouchUtils.dragViewBy: @Deprecated annotation
and @deprecated doc tag do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:308: warning 13: Field android.R.attr.autoText: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:508: warning 13: Field android.R.attr.capitalize: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:1340: warning 13: Field android.R.attr.editable: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:1385: warning 13: Field android.R.attr.enabled: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:2338: warning 13: Field android.R.attr.inputMethod: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:3708: warning 13: Field android.R.attr.numeric: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:3880: warning 13: Field android.R.attr.password: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:3984: warning 13: Field android.R.attr.phoneNumber: @Deprecated
annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:4727: warning 13: Field android.R.attr.searchButtonText:
@Deprecated annotation and @deprecated comment do not match
out/target/common/obj/APPS/framework-res_intermediates/src/android/
R.java:4999: warning 13: Field android.R.attr.singleLine: @Deprecated
annotation and @deprecated comment do not match
host Java: apicheck (out/host/common/obj/JAVA_LIBRARIES/
apicheck_intermediates/classes)
Install: out/host/linux-x86/framework/apicheck.jar
Copy: apicheck (out/host/linux-x86/obj/EXECUTABLES/
apicheck_intermediates/apicheck)
Install: out/host/linux-x86/bin/apicheck
Checking API: checkapi-last
Checking API: checkapi-current
target Prebuilt: (out/target/product/beagle/system/usr/share/zoneinfo/
zoneinfo.dat)
target Prebuilt: (out/target/product/beagle/system/usr/share/zoneinfo/
zoneinfo.idx)
target Prebuilt: (out/target/product/beagle/system/usr/share/zoneinfo/
zoneinfo.version)
mkdir -p out/target/product/beagle/obj/KERNEL_OBJ
make -C kernel O=../out/target/product/beagle/obj/KERNEL_OBJ ARCH=arm
CROSS_COMPILE=arm-eabi- omap3_beagle_android_defconfig
make[1]: Entering directory `/media/15GB/omapandroid/kernel'
  HOSTCC scripts/basic/fixdep
  HOSTCC scripts/basic/docproc
  HOSTCC scripts/basic/hash
  GEN /media/15GB/omapandroid/out/target/product/beagle/obj/
KERNEL_OBJ/Makefile
  HOSTCC scripts/kconfig/conf.o
/media/15GB/omapandroid/kernel/scripts/kconfig/conf.c: In function ?
onf_askvalue??
/media/15GB/omapandroid/kernel/scripts/kconfig/conf.c:105: warning:
ignoring return value of ?gets?? declared with attribute
warn_unused_result
/media/15GB/omapandroid/kernel/scripts/kconfig/conf.c: In function ?
onf_choice??
/media/15GB/omapandroid/kernel/scripts/kconfig/conf.c:307: warning:
ignoring return value of ?gets?? declared with attribute
warn_unused_result
  HOSTCC scripts/kconfig/kxgettext.o
  HOSTCC scripts/kconfig/zconf.tab.o
  HOSTLD scripts/kconfig/conf

Hi,

the steps are given below,

  1. repo init to the oma3droid
  2. repo sync of omap3droid
  3. cd ~/andorid_build
  4. source build/envsetup.sh
  5. choosecombo 1 1 beagle eng
  6. make

this will build the entire android filesystem and kernel uimage for beagleboard.

Now, to use this for devkit8000 board.

1)cd ~/android_build/kernel/
2) untar the patch “android-2.6.29-devkit.tar.bz2”
3)apply the patch
4)export ARCH=arm
5)export CROSS_COMPILE=~/android_build/prebuilt/linux-86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
6) make omap3_beagle_android_defconfig
7) make menuconfig
8) select devkit8000 option in system type. (do not disable the beagle board option). both beagle and devkit 8000 option should be enabled.
9) save the configuration
10) make uImage
11) cp .config arch/arm/configs/omap3_beagle_android_defconfig (if u want to use this as default during android build)

  1. cp arch/arm/boot/uImage to SDcard.

Thanks and Regards,
HarishKumar.V

Hi,

also, if u facing that “mrproper” problem.

then, cd ~/android_build/kernel"
run “'make distclean” and “make mrproper”

then,
cd ~/android_build"
now, run, “make”

Thanks and Regards,
HarishKumar.V