Compiling Issue

Search This thread

CliveWRSA

Member
Aug 6, 2013
39
15
Cape Town
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
 
M

moonbutt74

Guest
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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"