[Q] CM10.1 Compile Error - Android Q&A, Help & Troubleshooting

im trying to build cm10.1 for my xperia play but this error keeps coming up i dont understand i have the android sdk installed??
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 127
prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/ClangCommentCommandInfoEmitter.o] Error 127
make: prebuilts/tools/gcc-sdk/gcc: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-gcc: No such file or directory
*** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/ClangASTNodesEmitter.o] Error 127prebuilts/tools/gcc-sdk/g++: line 40: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux-g++: No such file or directory
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/ClangAttrEmitter.o] Error 127
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/ClangCommentHTMLTagsEmitter.o] Error 127
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/pseudolocalize.o] Error 127
make: *** [/home/justin/jellybean/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 127
[email protected]:~/jellybean$

Are you sure your repo sync finished correctly? Did you modify the manifest.xml and remove any projects?
Sent from my PACman GT-I9100 using xda premium

it finished but I'll resync when I get home and try to build

Did anyone fix it? i have same problem..

Related

[Q] copile ICS 4.0.4 - erro - kernel

Hello I am trying to compile the ROM ics with 4.0.4 and I am with this problem. Can someone help me?
/Volumes/CyanogenModWorkspace/android/system/kernel/lge/p500/scripts/mod/mk_elfconfig.c:9: warning: unused variable ‘ei’
make[4]: *** [scripts/mod/mk_elfconfig] Error 1
make[3]: *** [scripts/mod] Error 2
make[2]: *** [scripts] Error 2
make[1]: *** [sub-make] Error 2
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
This is for Mac OS X
1. I needed to reference in my $path /Android NDK directory/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/bin instead of /linux-x86/
2. I needed to add a file: "elf.h" to /kernel repository/scripts/mod/
Data for the file here -> rockbox.org/tracker/9006?getfile=16683
3. I needed to change #include <elf.h> to #include "elf.h" in the following files in /kernel repository/scripts/mod/: mk_elfconfig.c and modpost.h

/bin/sh: 1: Syntax error: ";" unexpected

hi everyone , i have a problem , i'm trying to build cyanogenmod 13 but , during the brunch , i get this error :
/with-local/classes.dex
CHK include/linux/version.h
/bin/sh: 1: Syntax error: ";" unexpected
make[3]: *** [kernel/bounds.s] Error 2
make[2]: *** [headers_install] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/media/tekno/eb24756a-c35c-474f-8844-6dcc2c362569/CM-13/system/kernel/lge/msm7x27a-common'
make: *** [/media/tekno/eb24756a-c35c-474f-8844-6dcc2c362569/CM-13/system/out/target/product/p700/obj/KERNEL_OBJ/usr] Error 2
make: *** Waiting for unfinished jobs....
the "Syntax error: ";" unexpected" broke the process ... how can i resolve this ???
thanks , sorry for my bad english

Cm 13 compile error

So ive been trying to build Cm 13 for samsung vibrant or vibrantmtd but while compliation i get this error regarding build prop
Target buildinfo: /home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop
/bin/bash: SGH-T959: command not found
make: *** [/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop] Error 127
make: *** Deleting file `/home/mgomes/android1/cm13.0/out/target/product/vibrantmtd/obj/ETC/system_build_prop_intermediates/build.prop'
make: Leaving directory `/home/mgomes/android1/cm13.0'
Full log http://pastebin.com/tDeNLa82
If someone could guide me in the right direction on which files are causing errors that would be helpful

Building CM13 for klimtlte

I'm trying to build CM13 for T705 (klimtlte), using guide https://wiki.cyanogenmod.org/w/Build_for_klimtlte.
It went reasonably smoothly besides 'Get prebuilds' step, that I was suggested to skip as it's obsolete since CM12. Not sure if this is correct, but..
The step that fails is 'brunch klimtlte':
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:816: /home/android/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127
make: *** Waiting for unfinished jobs....
host C++: libc++abi <= external/libcxxabi/src/abort_message.cpp
prebuilts/clang/linux-x86/host/3.6/bin/clang++: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:721: /home/android/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++abi_intermediates/src/abort_message.o] Error 127
make: Leaving directory '/home/android/android/system'
The host system is Gentoo, with everything compiled using GCC 5.3. Is it related to _GLIBCXX_USE_CXX11_ABI somehow?

(Need Help) Error In Compiling Rom

ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$
Kaneki30 said:
ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$
Click to expand...
Click to collapse
I have the same problem. Could you fix it?

Categories

Resources