make otatools - Android Q&A, Help & Troubleshooting

Hey guys,
I try to port cwm to a new device with this tutorial but at the command
PHP:
make -j4 otatools
I become some errors
PHP:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/noel/bin/out
============================================
grep: /build/target/board/generic/recovery.fstab: Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:87: **********************************************************
build/core/tasks/kernel.mk:88: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:89: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:90: * BoardConfig.mk file *
build/core/tasks/kernel.mk:91: **********************************************************
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/compress.o] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/adler32.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/src/test/minigzip.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/crc32.o] Fehler 1
and I haven't any idea what I have to do.
Wheather I type
PHP:
build/tools/device/mkvendor.sh lge h525n ~/boot.img
it says
PHP:
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
Can you help me?
LG Noel

Related

[Q] help into this no such file : full_w100-eng

help into this no such file : full_w100-eng
but i
Code:
[email protected]:~/android/w100$ build/tools/device/mkvendor.sh cm w100 ~/ddd/boot.img
Output will be in /home/w100/android/w100/device/cm/w100
645 blocks
Done!
Use the following command to set up your build environment:
lunch full_w100-eng
And use the follwowing command to build a recovery:
. build/tools/device/makerecoveries.sh full_w100-eng
[email protected]:~/android/w100$ lunch full_w100-eng
No such file: full_w100-eng
[email protected]:~/android/w100$ make -j4 recoveryimage============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.7
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
system/core/toolbox/Android.mk:90: warning: overriding commands for target `out/target/product/generic/system/bin/lsof'
build/core/base_rules.mk:474: warning: ignoring old commands for target `out/target/product/generic/system/bin/lsof'
make: Nothing to be done for `recoveryimage'.

[Q] Rom Compilation Error

Hi i Try to make my own Rom but have this Error
Code:
[email protected]:~/android/source$ . build/envsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/moto/full_asanti_c/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toroplus/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/source$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_mips-eng
5. full_grouper-userdebug
6. full_tilapia-userdebug
7. mini_armv7a_neon-userdebug
8. mini_armv7a-userdebug
9. mini_mips-userdebug
10. mini_x86-userdebug
11. full_mako-userdebug
12. full_asanti_c-userdebug
13. full_maguro-userdebug
14. full_manta-userdebug
15. full_toroplus-userdebug
16. full_toro-userdebug
17. full_panda-userdebug
Which would you like? [full-eng] 12
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full_asanti_c
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-39-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
[email protected]:~/android/source$ make BOARD_HAVE_BLUETOOTH=true TARGET_BOARD_PLATFORM=msm8960
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full_asanti_c
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-39-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
find: "src": Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel vorhanden, um das Target »out/target/product/full_asanti_c/kernel«,
benötigt von »prebuilt«, zu erstellen. Schluss.
[email protected]:~/android/source$
wrong folder for the kernel sources?
gehstock said:
Hi i Try to make my own Rom but have this Error
Code:
[email protected]:~/android/source$ . build/envsetup.sh
including device/asus/grouper/vendorsetup.sh
including device/asus/tilapia/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/lge/mako/vendorsetup.sh
including device/moto/full_asanti_c/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/manta/vendorsetup.sh
including device/samsung/toroplus/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/android/source$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_mips-eng
5. full_grouper-userdebug
6. full_tilapia-userdebug
7. mini_armv7a_neon-userdebug
8. mini_armv7a-userdebug
9. mini_mips-userdebug
10. mini_x86-userdebug
11. full_mako-userdebug
12. full_asanti_c-userdebug
13. full_maguro-userdebug
14. full_manta-userdebug
15. full_toroplus-userdebug
16. full_toro-userdebug
17. full_panda-userdebug
Which would you like? [full-eng] 12
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full_asanti_c
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-39-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
[email protected]:~/android/source$ make BOARD_HAVE_BLUETOOTH=true TARGET_BOARD_PLATFORM=msm8960
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full_asanti_c
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-39-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
============================================
find: "src": Datei oder Verzeichnis nicht gefunden
make: *** Keine Regel vorhanden, um das Target »out/target/product/full_asanti_c/kernel«,
benötigt von »prebuilt«, zu erstellen. Schluss.
[email protected]:~/android/source$
wrong folder for the kernel sources?
Click to expand...
Click to collapse
i could help but sorry dude cant comprehend the langue in which the error is written. if you could set language to English then i could help
find: "src": File or Folder not Found
make: *** No rule to make target »out/target/product/full_asanti_c/kernel«, needed by »prebuilt«. Stop.
Hmm looks like there's a error in kernel files please check your modded files because if only there were errors the makefile wouldn't be generated n this error would be raised
Sent from my A116 using Tapatalk 2
build/core/base_rules.mk:64: *** Module name: platform.xml
build/core/base_rules.mk:65: *** Makefile location: frameworks/base/data/etc/Android.mk
build/core/base_rules.mk:66: *
build/core/base_rules.mk:67: * Module is attempting to use the 'user' tag. This
build/core/base_rules.mk:68: * used to cause the module to be installed automatically.
build/core/base_rules.mk:69: * Now, the module must be listed in the PRODUCT_PACKAGES
build/core/base_rules.mk:70: * section of a product makefile to have it installed.
build/core/base_rules.mk:71: *
build/core/base_rules.mk:72: *** user tag detected on module.. Stop.
Click to expand...
Click to collapse
how can i fix it
gehstock said:
how can i fix it
Click to expand...
Click to collapse
I can't help don't know much about kernel development try contacting hell lock or deadly get them in my contacts
Sent from my A116 using Tapatalk 2
Fixed! Next Error
Code:
target thumb C++: app_process__asan <= frameworks/base/cmds/app_process/app_main.cpp
clang: error: the clang compiler does not support '-mfpu=neon-vfpv4'
make: *** [/home/harry/android/system/out/target/product/asanti/obj/EXECUTABLES/app_process__asan_intermediates/app_main.o] Error 1
have modify
Code:
static void addFPUArgs(const Driver &D, const Arg *A, const ArgList &Args,
ArgStringList &CmdArgs) {
StringRef FPU = A->getValue(Args);
// Set the target features based on the FPU.
if (FPU == "fpa" || FPU == "fpe2" || FPU == "fpe3" || FPU == "maverick") {
// Disable any default FPU support.
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-vfp2");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-vfp3");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-neon");
} else if (FPU == "vfp3-d16" || FPU == "vfpv3-d16") {
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+vfp3");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+d16");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-neon");
} else if (FPU == "vfp") {
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+vfp2");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-neon");
} else if (FPU == "vfp3" || FPU == "vfpv3") {
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+vfp3");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("-neon");
} else if (FPU == "vfp4" || FPU == "vfpv4") {
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+vfp4");
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+neon");
} else if (FPU == "neon") {
CmdArgs.push_back("-target-feature");
CmdArgs.push_back("+neon");
} else
D.Diag(diag::err_drv_clang_unsupported) << A->getAsString(Args);
}
in Tools.cpp but no success
Need Help with this
You're using old toolchain that doesn't support vfp4. Use GCC 4.6+.
still same error
I've probably done something wrong when update to GCC 4.6
please help me with the Right Steps
After Add
Code:
TARGET_KERNEL_CUSTOM_TOOLCHAIN := arm-eabi-linaro-4.6.2
next error
arm-eabi-gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.
make[3]: *** [kernel/bounds.s] Error 1
make[2]: *** [prepare0] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leave Directory '/home/harry/android/system/kernel/moto/asanti_c'
make: *** [TARGET_KERNEL_BINARIES] Error 2
Click to expand...
Click to collapse
can someone please upload the Prebuilt and the Prebuilts Drawer on some 1Click Hoster
I am new to ROM compilation and this is my first
Attempt..
I tried the following command
". build/envsetup.sh "
And got the following
" Including sdk/bash_completion/ADB.bash "
Please let me know how to fix
Sorry in advance if this has been answered already

[Q] cc1: error: to generate dependencies you must specify either -M or -MM

I try to compile x86 emulator on amd64 getting following error:
Code:
Install: out/host/linux-x86/lib/libext2_profile_host.so
Install: out/host/linux-x86/bin/e2fsck
host Executable: edify (out/host/linux-x86/obj/EXECUTABLES/edify_intermediates/edify)
Install: out/host/linux-x86/bin/edify
host C: elftree <= development/tools/elftree/elftree.c
host StaticLib: libelf (out/host/linux-x86/obj/STATIC_LIBRARIES/libelf_intermediates/libelf.a)
host Executable: elftree (out/host/linux-x86/obj/EXECUTABLES/elftree_intermediates/elftree)
Install: out/host/linux-x86/bin/elftree
host Executable: emugen (out/host/linux-x86/obj/EXECUTABLES/emugen_intermediates/emugen)
Install: out/host/linux-x86/bin/emugen
host C: emulator <= external/qemu/android/main-emulator.c
host StaticLib: emulator-common (out/host/linux-x86/obj/STATIC_LIBRARIES/emulator-common_intermediates/emulator-common.a)
host Executable: emulator (out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/emulator)
Install: out/host/linux-x86/bin/emulator
host C: emulator-arm <= external/qemu/audio/audio.c
cc1: error: to generate dependencies you must specify either -M or -MM
Code is vanillia AOSP , android-4.2.2_r1 branch, building full_x86-eng target
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
TARGET_PRODUCT=full_x86
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=x86
TARGET_ARCH_VARIANT=x86
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-4-amd64-x86_64-with-debian-7.1
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39
OUT_DIR=out
How to debug this ? Build system is 64-bit debian, I've already build it on 64-bit ubuntu sucessfully, not sure if packages installed were the same. It's a pity build scripts doesn't automatically check dependencies

[Q] Crespo cm-10.2 build error

Hi all,
I hope I am posting at the correct forum - I am trying to build a fresh cm-10.2 rom for my Nexus S (crespo), but somehow, there is something missing:
Code:
[email protected]:~/Development/android/cm-10.2$ brunch crespo
including vendor/cm/vendorsetup.sh
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130812-UNOFFICIAL-crespo
TARGET_PRODUCT=cm_crespo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-lowlatency-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/denis/Development/android/cm-10.2/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20130812-UNOFFICIAL-crespo
TARGET_PRODUCT=cm_crespo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a8
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-51-lowlatency-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JSS15J
OUT_DIR=/home/denis/Development/android/cm-10.2/out
============================================
build/core/Makefile:44: warning: overriding commands for target `/home/denis/Development/android/cm-10.2/out/target/product/crespo/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/denis/Development/android/cm-10.2/out/target/product/crespo/system/etc/mkshrc'
PRODUCT_COPY_FILES device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/denis/Development/android/cm-10.2/out/target/product/crespo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/denis/Development/android/cm-10.2/out/target/product/crespo/system/etc/permissions/android.software.live_wallpaper.xml'
No private recovery resources for TARGET_DEVICE crespo
make -C kernel/samsung/crespo O=/home/denis/Development/android/cm-10.2/out/target/product/crespo/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/denis/Development/android/cm-10.2/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= crespo_defconfig
make[1]: Entering directory `/home/denis/Development/android/cm-10.2/kernel/samsung/crespo'
Install: /home/denis/Development/android/cm-10.2/out/host/linux-x86/bin/clang-tblgen
Install: /home/denis/Development/android/cm-10.2/out/host/linux-x86/bin/tblgen
target thumb C: libc_common <= bionic/libc/unistd/system.c
target thumb C: libc_common <= bionic/libc/unistd/time.c
GEN /home/denis/Development/android/cm-10.2/out/target/product/crespo/obj/KERNEL_OBJ/Makefile
target thumb C: libc_common <= bionic/libc/stdio/asprintf.c
target thumb C: libc_common <= bionic/libc/stdio/clrerr.c
init/Kconfig:900: can't open file "usr/Kconfig"
make[3]: *** [crespo_defconfig] Error 1
make[2]: *** [crespo_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/denis/Development/android/cm-10.2/kernel/samsung/crespo'
make: *** [/home/denis/Development/android/cm-10.2/out/target/product/crespo/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
I've set everything up and the build for "Maguro" runs without any problems, but with "Crespo", there is something missing... Anyone has an hint for me, please?
Many thanks,
Denis
I have same problem , what's your toolchain ?
gcc --version
Click to expand...
Click to collapse

Compiling Issue

Hi guys,
I am getting an error when compiling from CM sources for i9500.
Code:
. build/envsetup.sh && brunch i9500 -j8
build/envsetup.sh:2122: no matches found: vendor/*/*/vendorsetup.sh
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140211-UNOFFICIAL-i9500
TARGET_PRODUCT=cm_i9500
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.10.25-031025-generic-x86_64-with-LinuxMint-16-petra
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/clivew/cm11/out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=11-20140211-UNOFFICIAL-i9500
TARGET_PRODUCT=cm_i9500
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a15
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.10.25-031025-generic-x86_64-with-LinuxMint-16-petra
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=/home/clivew/cm11/out
============================================
/home/clivew/cm11/out/target/product/i9500/obj/APPS/SignatureTest_intermediates
find: `src': No such file or directory
build/core/Makefile:44: warning: overriding commands for target `/home/clivew/cm11/out/target/product/i9500/system/vendor/lib/hw/gralloc.exynos5.so'
build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/clivew/cm11/out/target/product/i9500/system/vendor/lib/hw/gralloc.exynos5.so'
No private recovery resources for TARGET_DEVICE i9500
make -C kernel/samsung/exynos5410 O=/home/clivew/cm11/out/target/product/i9500/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/clivew/cm11/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_i9500_defconfig
make[1]: Entering directory `/home/clivew/cm11/kernel/samsung/exynos5410'
Install: /home/clivew/cm11/out/target/product/i9500/root/fstab.universal5410
host Executable: clang (/home/clivew/cm11/out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
Install: /home/clivew/cm11/out/target/product/i9500/root/init.recovery.universal5410.rc
target StaticLib: libm (/home/clivew/cm11/out/target/product/i9500/obj/STATIC_LIBRARIES/libm_intermediates/libm.a)
Install: /home/clivew/cm11/out/target/product/i9500/root/init.universal5410.rc
Install: /home/clivew/cm11/out/target/product/i9500/root/init.universal5410.usb.rc
Install: /home/clivew/cm11/out/target/product/i9500/root/init.universal5410.wifi.rc
Install: /home/clivew/cm11/out/target/product/i9500/root/lpm.rc
target thumb C++: libbinder <= frameworks/native/libs/binder/IMemory.cpp
target thumb C++: libbinder <= frameworks/native/libs/binder/PermissionCache.cpp
target thumb C++: libbinder <= frameworks/native/libs/binder/ProcessState.cpp
target thumb C++: libbinder <= frameworks/native/libs/binder/Static.cpp
frameworks/native/libs/binder/IMemory.cpp:36:17: fatal error: ion.h: No such file or directory
compilation terminated.
target thumb C++: libbinder <= frameworks/native/libs/binder/TextOutput.cpp
make: *** [/home/clivew/cm11/out/target/product/i9500/obj/STATIC_LIBRARIES/libbinder_intermediates/IMemory.o] Error 1
make: *** Waiting for unfinished jobs....
GEN /home/clivew/cm11/out/target/product/i9500/obj/KERNEL_OBJ/Makefile
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
make[1]: Leaving directory `/home/clivew/cm11/kernel/samsung/exynos5410'
Any Idea whats going on?
Cloned kernel to kernel/samsing/i9500
Clone device tree to device/samsing/i9500
Extracted props which ended up in vendor/samsug/i9500
BoardConfigVendor.mk is empty.
I do not know where or what library has ion.h.
Any help is appreciated.
Regards
It's most likely that ion.h is a kernel header, to fix this you need to compile the kernel first, try "make bootimage" and afterwards "make otapackage"
broodplank1337 said:
It's most likely that ion.h is a kernel header, to fix this you need to compile the kernel first, try "make bootimage" and afterwards "make otapackage"
Click to expand...
Click to collapse
Hey, thanks for the reply.
Turns out my Laptop had a Janky kernel and dev libraries. I tried building on my home server and things are looking a lot better.
Thanks again for the reply
concerning compiler version
broodplank,
hi, in cm11 build environment, how do i specify a specific clang/llvm version? i am attempting to build for an x86 device
on debian 64bit and having a miserable failure of a time so i figure experimenting isn't going to make things any worse.
thanks for reading
m

Categories

Resources