Toolchain_For_Android

I downloaded the Android build from
http://labs.embinux.org/index.php/Android_For_OMAP3_with_Gstreamer_Integration.
My Question is -

1.Do I need to build it as it is or Do I need to modify the build as
per the instructions given in http://labs.embinux.org/index.php/Toolchain_For_Android?

2.After download when I gave the make, I got some compilation errors,
but if I do make clean and then make, it seems to continue the build.
Does the android build gets compiled as is(without any toolchain
modifications).

I am not keen on any particular toochain as long as the setup works
fine for me on beagle board. My objective is to run the Android demo
as is first and later drop my H.264 component and than run it.

Regards,
Sanjeev Kumar Verma

Sanjeev,
   Android build that you have downloaded already contains integrated
Embinux toolchain, and you do not modify anything for toolchain. Android
build should compile without any errors.
  If you face any errors let me know.

Regards

ACtually build is failing if I compile it as it is with following
error. Plz let me know what to do to resolve it.

/home/ittiam/hdd/omap3droid/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/../libexec/gcc/arm-eabi/4.4.0/cc1: error while loading
shared libraries: libmpfr.so.1: cannot open shared object file: No
such file or directory
make[3]: *** [kernel/bounds.s] Error 1
make[2]: *** [prepare0] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ittiam/hdd/omap3droid/kernel'
make: *** [out/target/product/beagle/obj/KERNEL_OBJ/arch/arm/boot/
uImage] Error 2

Sanjeev Kumar Verma wrote:

ACtually build is failing if I compile it as it is with following
error. Plz let me know what to do to resolve it.

/home/ittiam/hdd/omap3droid/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin/../libexec/gcc/arm-eabi/4.4.0/cc1: error while loading
shared libraries: libmpfr.so.1: cannot open shared object file: No

well then install libmpfr....

I just did locate libmpfr
I could see the following results -
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.a
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.la
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so.1
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so.1.1.1

Can you please tell me how to include this path in android build. I
did export PATH=/OE/angstrom-dev/staging/i686-linux/usr/lib:$PATH but
this does not help

Regards,
Sanjeev

On ubuntu you can do,

$ sudo apt-get install libmpfr1ldbl

Regards,
Sanjeev Kumar Verma wrote:

Hi,
Is there any way to find out that the my downloaded stuff (omap3droid)
is complete in itself. I want to verify that it is not partial due to
any kind or constraint like low disk space or network fluctuation etc.

Regards,
Sanjeev Kumar Verma

Sanjeev Kumar Verma wrote:

I just did locate libmpfr
I could see the following results -
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.a
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.la
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so.1
/OE/angstrom-dev/staging/i686-linux/usr/lib/libmpfr.so.1.1.1

Can you please tell me how to include this path in android build. I
did export PATH=/OE/angstrom-dev/staging/i686-linux/usr/lib:$PATH but
this does not help

no, your host system needs libmpfr

Rupesh,
My Build is failing again with the following Error:-
'%d' expects type 'int', but argument 5 has type 'ssize_t'
target thumb C++: libaudiointerface <= frameworks/base/libs/
audioflinger/AudioHardwareStub.cpp
target thumb C++: libaudiointerface <= frameworks/base/libs/
audioflinger/AudioDumpInterface.cpp
target thumb C++: libaudiointerface <= frameworks/base/libs/
audioflinger/AudioHardwareInterface.cpp
target StaticLib: libaudiointerface (out/target/product/beagle/obj/
STATIC_LIBRARIES/libaudiointerface_intermediates/libaudiointerface.a)
target arm C: libasound <= external/alsa-lib/src/alisp/alisp.c
external/alsa-lib/src/alisp/alisp.c: In function 'obj_type_str':
external/alsa-lib/src/alisp/alisp.c:1024: error: control reaches end
of non-void function
make: *** [out/target/product/beagle/obj/STATIC_LIBRARIES/
libasound_intermediates/src/alisp/alisp.o] Error 1
root@ittiam-desktop:/home/ittiam/hdd/omap3droid#
anybody's help would be highly appreciated!

Regards,
Sanjeev Kumar Verma

Are syntax Errors expected in the build?
Regards,
Sanjeev Kumar Verma

Sanjeev,
Can you add statement “return 0;” at the end of “obj_type_str()” function in file
“external/alsa-lib/src/alisp/alisp.c:1024”

I think this patch is missing from our repositories.

Regards,

Thanks all,
My build is successfull. Got the file system but where is uImage? I
could not find it.

I know that u-bbot.bin and MLO will not be generated.

Regards,
Sanjeev Kumar Verma

Do I need to rename kernel in out/target/product/beagle/ as uImage?

Regards, Sanjeev Kumar Verma wrote:

Rupesh Gujare wrote:

Sanjeev,
    Android build that you have downloaded already contains integrated
Embinux toolchain, and you do not modify anything for toolchain. Android
build should compile without any errors.
   If you face any errors let me know.

Hello,

could you also make available the configure commands to rebuild your toolchains and binutils?

Regards,

Vladimir