error while compiling u-boot - android

I am trying to build u-boot and getting these error
No private recovery resources for TARGET_DEVICE G0
Building U-boot
make -C u-boot ARCH=arm fio-om3xxx_config
make[1]: Entering directory `/home/mrigendra/GingerBread_2_3_4_FIO/u-boot'
Configuring for fio-om3xxx board...
rm: cannot remove `asm': Is a directory
make[1]: *** [fio-om3xxx_config] Error 1
make[1]: Leaving directory `/home/mrigendra/GingerBread_2_3_4_FIO/u-boot'
make: *** [uboot] Error 2
i don't know why it wants to remove asm directory.
do anybody have idea from where i should start ..

Related

How to compile and execute MPICH2 for Android

For cross compiling MPICH2 for Android.
I found the reference here
http://hex.ro/wp/projects/personal-cloud-computing/compiling-mpich2-for-android-and-running-on-two-phones/
and here
www.scientificbulletin.upb.ro/rev_docs_arhiva/fullffc_583765.
I did following
BuildRoot
Used Build Root (buildroot-2016.02) for cross compiling ARM toolchain
Target options :
Target Architecture as ARM little endian
Target binary format as ELF
Selected Toolchain as Buildroot toolchain (Internal)
Kernel headers as 3.12.x
C library as uClibc
After this make command was run.
MPICH2
mpich-3.2.tar.gz was extracted and following commands were executed
1. $ export PATH=/home/mpiuser/CrossBuild/buildroot-2016.02/output/host/usr/bin:$PATH
2. $ sudo ./configure --prefix=/home/mpiuser/CrossBuild/arm-mpich-install --disable-fortran CC=/home/mpiuser/CrossBuild/buildroot-2016.02/output/host/usr/bin/arm-linux-gcc --host=arm-linux
After this make was run for mpich-3.2, and during compilation following error was thrown :
GEN lib/libmpi.la
CXX src/binding/cxx/initcxx.lo
CXXLD lib/libmpicxx.la
lib/.libs/libmpi.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libmpicxx.la] Error 1
make[2]: Leaving directory `/home/mpiuser/CrossBuild/mpich-3.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mpiuser/CrossBuild/mpich-3.2'
make: *** [all] Error 2
Request to please help. Thanks

Linphone-android make error

I follow guild, clone project and run
make
and get following error:
/home/xx/android-ndk-r9/sources/android/cpufeatures/cpu-features.c:59:35: fatal error: sys/system_properties.h: No such file or directory
compilation terminated.
make[1]: *** [codec/common/cpu-features.o] Error 1
make[1]: Leaving directory `/home/xx/linphone-android/submodules/externals/build/openh264/arm'
make: *** [build-openh264-arm] Error 2
I using Ubuntu 14.4, ndk-r9. Anybody help me on this?

Error compiling kernel Galaxy Note3

I'm getting the following error when trying to compile the kernel of Note3.
This is a kernel from Samsung.
Does someone has any suggestion how to fix it?
make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g'
make -C kernel/samsung/ha3g O=/home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ran/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/ran/android/system/kernel/samsung/ha3g'
CHK include/linux/version.h
make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g'
make -C kernel/samsung/ha3g O=/home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ran/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage
make[1]: Entering directory `/home/ran/android/system/kernel/samsung/ha3g'
GEN /home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/ran/android/system/kernel/samsung/ha3g as source for kernel
GEN /home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/ran/android/system/kernel/samsung/ha3g/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/sensorhub/stm/factory/light_max88921.o
/home/ran/android/system/kernel/samsung/ha3g/drivers/sensorhub/stm/factory/light_max88921.c:78:1: fatal error: opening dependency file drivers/sensorhub/stm/factory/.light_max88921.o.d: No such file or directory
compilation terminated.
make[5]: *** [drivers/sensorhub/stm/factory/light_max88921.o] Error 1
make[4]: *** [drivers/sensorhub/stm] Error 2
make[3]: *** [drivers/sensorhub] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g'
make: *** [TARGET_KERNEL_BINARIES] Error 2
Somehow the folder factory was missing under out/target/product/ha3g/obj/KERNEL_OBJ/drivers/sensorhub/stm
When I added this folder (with mkdir) it worked.

configure sphinxbase or pocketsphinx for android in ubuntu

I need to implement speech to text offline functionality for my android apps, I found library sphinxbase i tried to installed in ubuntu but something went wrong and the error occured.
I have download the both package of sphinxbase and pockectsphinx and placed in same directory , As document says i ran ./autogen.sh file successfuly after this one message occur to run make command to compile packages after make command there is some error occur
libtool: install: /usr/bin/install -c .libs/libsphinxbase.a /usr/local/lib/libsphinxbase.a
libtool: install: chmod 644 /usr/local/lib/libsphinxbase.a
libtool: install: ranlib /usr/local/lib/libsphinxbase.a/bin/bash: /home/speech: No such file or directory
make[4]: *** [install-libLTLIBRARIES] Error 127
make[4]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src/libsphinxbase'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/speech to text/Untitled Folder/sphinxbase/src'
make: *** [install-recursive] Error 1
Strip off the space in the directory name.
Try renaming "speech to text" to "speechtotext".

Build android open source project

I try to build FBReader project(http://code.google.com/p/fbreaderplus/source/checkout). How to add libraries which described in README.build? When I make project with cygwin got such messages:
make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/model'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/model'
make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/area'
Compiling ZLTextParagraphBuilder.o ...In file included from ZLTextParagraphBuild
er.cpp:30:0:
ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or
directory
compilation terminated.
/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary/text/../../makefiles/subdir
.mk:14: recipe for target `ZLTextParagraphBuilder.o' failed
make[2]: *** [ZLTextParagraphBuilder.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/area'
Makefile:25: recipe for target `.objects' failed
make[1]: *** [.objects] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text'
Makefile:9: recipe for target `all' failed
make: *** [all] Error 1
This error ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or
directory tells you that it's missing fribidi, http://www.fribidi.org/
I don't know how you could get past the configure stage -- isn't it supposed to check the presence of libraries?
Anyway install fribidi and try again.
HTH

Categories

Resources