My AOSP (PixelExperience) build fails with the error message below and I got no idea how to fix it.
Anyone here that got the knowlegde to provide me a possible fix?
make[1]: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
make: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
make: Entering directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
make[1]: Entering directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --savedefconfig=defconfig Kconfig
make[1]: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/out/target/product/cepheus/obj/KERNEL_OBJ'
make: Leaving directory '/home/lukas/disk/pixelExperience/pixelExperience/kernel/xiaomi/cepheus'
17:39:17 ninja failed with: exit status 1
As I cannot comment yet, I'll leave it here.
Your error is not in the lines you shared. Share a more complete log, with katb.in or pastebin for example, otherwise there is nothing we can do.
Related
I have the source code for android-5.0.0_r7.0.1. After doing:
make -j4
I keep getting this:
error: stdarg.h: No such file or directory
In file included from system/core/include/cutils/log.h:1,
from system/core/include/utils/KeyedVector.h:24,
from frameworks/native/include/input/Input.h:26,
from frameworks/native/include/input/InputDevice.h:20,
from frameworks/native/libs/input/InputDevice.cpp:23:
system/core/include/log/log.h:35:20: error: stdarg.h: No such file or directory
make: *** [out/host/darwin-x86/obj32/EXECUTABLES/validatekeymaps_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/Keyboard.o] Error 1
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/InputDevice.o] Error 1
make: *** [out/host/darwin-x86/obj32/STATIC_LIBRARIES/libinput_intermediates/Input.o] Error 1
#### make failed to build some targets (01:32 (mm:ss)) ####
I have looked at the google groups and other stack overflow questions, but I cannot seem to figure out what is going wrong.
#Meteorite
Well, ultimately after googling I discovered the AOSP for some reason did not support the latest version of Xcode tools and OS X. I dualbooted windows 7 with ubuntu, and did the whole process. And when I did the make command on ubuntu I typed: make -k -i -B. That is, I gave it the keep going, ignore make errors and build unconditionally flags.
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 ..
I have been following this Building Pocketsphinx on android for days now and I am very confused what to do now. I will be telling what I have done step by step so you will know what I have done wrong.
I am using Windows 7 64-bit.
First of all I have downloaded PocketSphinx and Sphinxbase and I have unpack it in C:\Sphinx. Then I have downloaded mingw from MINGW DOWNLOAD only that. after I downloaded this stuffs, I started the mingw.exe and as a amateur I am, I tried sudo -i only and that did not do anything so I gone to the next instructions installing swig.
I tried typing apt-get install swig and yum install swig as the same as last time it did not work. Then I have tried mingw-get install swig and the result is mingw-get.exe: *** ERROR *** swig: unknown package. So with that I tried again the next intructions installation of sphinxbase.
In installing sphinxbase, I have gone to sphinxbase directory - C:\Sphinx\sphinxbase and I typed ./autogen.sh. So with that it compiled without problems and I typed ./configure It compiled good as well. the next is make this is where I got a problem, it compiled but it got errors. the error is:
make[3]: *** [pio.lo] Error 1
make[3]: Leaving directory `/c/sphinx/sphinxbase/src/libsphinxbase/util`
make[2]: *** [All-recursive] Error 1
make[2]: Leaving directory `/c/sphinx/sphinxbase/src/libsphinxbase`
make[1]: *** [All-recursive] Error 1
make[1]: Leaving directory `/c/sphinx/sphinxbase/src`
make: *** [all-recursive] Error 1
this is the problem I got until now. Then I have tried downloading pio.lo from pio.lo download. So it fix the error but another error appeared. Second Error:
collect2.exe: error: ld returned 1 exit status
make[2]: *** [sphinx_fe.exe] Error 1
make[2]: Leaving directory `/c/sphinx/sphinxbase/src/sphinx_fe`
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/sphinx/sphinxbase/src`
make: *** [all-recursive] Error 1
This is where I got stuck. I have tried copying sphinx_fe from sphinxbase-0.7-win32.zip after doing that nothing happens. The compilation would only delete the sphinx_fe.exe.
My question is What Should I do now?
If it is not clear feel free to comment and ask. Thank you for the help.
MinGW is not supported for now, try to use Cygwin instead.
Actually you don't need to run autogen.sh and make, it's enough to unpack sources
sudo, yum and other commands are Unix only commands, you need to search for their analog on windows.
For more information about SWIG on windows see
http://www.swig.org/Doc2.0/Android.html
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
I have followed all the instructions mentioned in the following link to setup the Openframeworks for android in windows environment. While building the openFrameworks. I get the following error. Tried everything possible to work with but still not getting it correct. Mentioned the error as follows, please help me out. Thank you in advance.
Build of configuration Android for project openFrameworks **
make android -C../openFrameworksCompiled/project/android
/bin/sh: pkg-config: command not found
/bin/sh: pkg-config: command not found
FIND: Parameter format not correct
File not found - *.cpp
make: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make DebugAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done for DebugAndroid'.
make[1]: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make ReleaseAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done forReleaseAndroid'.
make[1]: Leaving directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make Release_arm7Android
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done for Release_arm7Android'.
make[1]: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
make Release_neonAndroid
FIND: Parameter format not correct
File not found - *.cpp
FIND: Parameter format not correct
File not found - *.cpp
make[1]: Entering directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make[1]: Nothing to be done forRelease_neonAndroid'.
make[1]: Leaving directory /c/Development/OF/libs/openFrameworksCompiled/project/android'
make: Leaving directory/c/Development/OF/libs/openFrameworksCompiled/project/android'
Build Finished **