Error while Compiling CM14.1 - General Questions and Answers

find: ‘/home/ubuntu/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates’: No such file or directory
./system/sepolicy/Android.mk:22: BOARD_SEPOLICY_UNION is no longer required - all files found in BOARD_SEPOLICY_DIRS are implicitly unioned; please remove from your BoardConfig.mk or other .mk file.
No recovery.fstab for TARGET_DEVICE kmini3g
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/camera.msm8226.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/bin/rild'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libreference-ril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libril.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/libsecril-client.so'
build/core/Makefile:34: warning: overriding commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/base_rules.mk:320: warning: ignoring old commands for target `/home/ubuntu/android/lineage/out/target/product/kmini3g/system/lib/hw/consumerir.default.so'
build/core/ninja.mk:166: recipe for target '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja' failed
make: *** [/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja] Killed
make: *** Deleting file '/home/ubuntu/android/lineage/out/build-full_kmini3g.ninja'
make: Leaving directory '/home/ubuntu/android/lineage'
#### make failed to build some targets (58 seconds) ####
I am getting this error while compiling cm 14.1
I am using openjdk 8, on Ubuntu 18.04
Please help
Thanks in advance

Related

Cm7 build on ubuntu help...

I started building cm7 a few days ago and my linux system crashed. I uninstalled it then reinstalled, everything is good now except now when I get to the pare to sync the repo it is saying bash: permission denied. Can someone please help me with this?
sent from my infuse on MIUI 1.4ghz KI3
dman3285 said:
I started building cm7 a few days ago and my linux system crashed. I uninstalled it then reinstalled, everything is good now except now when I get to the pare to sync the repo it is saying bash: permission denied. Can someone please help me with this?
sent from my infuse on MIUI 1.4ghz KI3
Click to expand...
Click to collapse
Code:
chmod +x ~/bin/repo
Assuming repo is in ~/bin/
That worked...thank you so much..I thought I already did that but I guess I didn't...lol
sent from my infuse on MIUI 1.4ghz KI3
ok well maybe you can tell me why im getting this error when i start my build...
===========================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.5
TARGET_PRODUCT=cyanogen_infuse4g
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
Checking build tools versions...
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
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/root/init.rc'
system/core/rootdir/Android.mk:38: warning: ignoring old commands for target `out/target/product/infuse4g/root/init.rc'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keylayout/AVRCP.kl'
sdk/emulator/keymaps/Android.mk:18: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keylayout/AVRCP.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keylayout/qwerty.kl'
sdk/emulator/keymaps/Android.mk:13: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keylayout/qwerty.kl'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty2.kcm.bin'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/usr/keychars/qwerty2.kcm.bin'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/hciattach'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/hciattach'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/brcm_patchram_plus'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/brcm_patchram_plus'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:21: warning: ignoring old commands for target `out/target/product/infuse4g/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/obj/lib/libril.so'
build/core/dynamic_binary.mk:141: warning: ignoring old commands for target `out/target/product/infuse4g/obj/lib/libril.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/egl/libGLES_android.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libril.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/bin/rild'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/bin/rild'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libsensorservice.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libsensorservice.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libcamera_client.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libcamera_client.so'
build/core/Makefile:21: warning: overriding commands for target `out/target/product/infuse4g/system/lib/libcameraservice.so'
build/core/base_rules.mk:479: warning: ignoring old commands for target `out/target/product/infuse4g/system/lib/libcameraservice.so'
No private recovery resources for TARGET_DEVICE infuse4g
Header: out/host/linux-x86/obj/include/libexpat/expat.h
Header: out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat.h
Header: out/target/product/infuse4g/obj/include/libexpat/expat_external.h
Header: out/host/linux-x86/obj/include/libpng/png.h
Header: out/host/linux-x86/obj/include/libpng/pngconf.h
Header: out/host/linux-x86/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libpng/png.h
Header: out/target/product/infuse4g/obj/include/libpng/pngconf.h
Header: out/target/product/infuse4g/obj/include/libpng/pngusr.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_types.h
Header: out/target/product/infuse4g/obj/include/libsonivox/eas_reverb.h
Header: out/target/product/infuse4g/obj/include/libsonivox/jet.h
Header: out/target/product/infuse4g/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: out/target/product/infuse4g/obj/include/libwpa_client/wpa_ctrl.h
Directory: out/target/product/infuse4g/root/sbin
Directory: out/target/product/infuse4g/root/dev
Directory: out/target/product/infuse4g/root/proc
Directory: out/target/product/infuse4g/root/sys
Directory: out/target/product/infuse4g/root/system
Directory: out/target/product/infuse4g/root/data
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_static.o -c bionic/libc/arch-arm/bionic/crtbegin_static.S
prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc -mthumb-interwork -Ibionic/libc/private -o out/target/product/infuse4g/obj/lib/crtbegin_so.o -c bionic/libc/arch-arm/bionic/crtbegin_so.S
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
make: *** [out/target/product/infuse4g/obj/lib/crtbegin_static.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
make: *** [out/target/product/infuse4g/obj/lib/crtbegin_so.o] Error 127
[email protected]:~/android/system#

{ HELP } CyanogenMod 9 Build Errors on Compiling it for LGE P350 ( HELP PLEASE )

Hello Devs ,
I'm Compiling Cyanogen Mod 9 for LG Optimus ME P350 aka Pecan But I'm Getting Error in Compiling it :/ Please Developers Help me I'm Having tough time with this Error I hope Some Kind person will get me fix to this problem :/ :'(
Here is Log of Terminal :
Code:
. build/envsetup.sh && brunch pecan
including device/lge/pecan/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_pecan
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.0.4
TARGET_PRODUCT=cm_pecan
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv6-vfp
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=IMM76L
============================================
system/core/toolbox/Android.mk:98: warning: overriding commands for target `out/target/product/pecan/system/bin/lsof'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/bin/lsof'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/app/Superuser.apk'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/app/Superuser.apk'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/etc/mkshrc'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/etc/mkshrc'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/obj/lib/libril.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `out/target/product/pecan/obj/lib/libril.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/libril.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/libril.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/egl/libGLES_android.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/egl/libGLES_android.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/hw/gralloc.default.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/hw/gralloc.default.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/hw/hwcomposer.default.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/hw/hwcomposer.default.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/hw/sensors.goldfish.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/hw/sensors.goldfish.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/obj/lib/libcamera_client.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `out/target/product/pecan/obj/lib/libcamera_client.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/libcamera_client.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/libcamera_client.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/obj/lib/libcameraservice.so'
build/core/dynamic_binary.mk:112: warning: ignoring old commands for target `out/target/product/pecan/obj/lib/libcameraservice.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/lib/libcameraservice.so'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/lib/libcameraservice.so'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/bin/dhcpcd'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/bin/dhcpcd'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:36: warning: overriding commands for target `out/target/product/pecan/system/etc/dhcpcd/dhcpcd.conf'
build/core/base_rules.mk:523: warning: ignoring old commands for target `out/target/product/pecan/system/etc/dhcpcd/dhcpcd.conf'
No private recovery resources for TARGET_DEVICE pecan
build/core/tasks/kernel.mk:157: warning: overriding commands for target `out/target/product/pecan/kernel'
device/lge/pecan/AndroidBoard.mk:23: warning: ignoring old commands for target `out/target/product/pecan/kernel'
make -C kernel/lge/msm7x27 O=/home/keyur/ics/out/target/product/pecan/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/keyur/ics/prebuilt/linux-x86/ccache/ccache /home/keyur/ics/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" cyanogenmod_pecan_defconfig
make[1]: Entering directory `/home/keyur/ics/kernel/lge/msm7x27'
GEN /home/keyur/ics/out/target/product/pecan/obj/KERNEL_OBJ/Makefile
target Strip: libc (out/target/product/pecan/obj/lib/libc.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.classes.dex
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-froyo_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-gingerbread_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb-mr2_intermediates/classes.jar
target Static Jar: jsr305 (out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/javalib.jar)
target Static Jar: com.android.vcard (out/target/common/obj/JAVA_LIBRARIES/com.android.vcard_intermediates/javalib.jar)
target Static Jar: android-common (out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar)
target Static Jar: android-support-v13-ics (out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics_intermediates/javalib.jar)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/classes.jar
target Static Jar: android-common-chips (out/target/common/obj/JAVA_LIBRARIES/android-common-chips_intermediates/javalib.jar)
Install: /home/keyur/ics/out/host/linux-x86/bin/llvm-rs-cc
target Static Jar: com.android.gallery3d.common2 (out/target/common/obj/JAVA_LIBRARIES/com.android.gallery3d.common2_intermediates/javalib.jar)
target SharedLib: libext2_com_err (out/target/product/pecan/obj/SHARED_LIBRARIES/libext2_com_err_intermediates/LINKED/libext2_com_err.so)
target SharedLib: libext2_uuid (out/target/product/pecan/obj/SHARED_LIBRARIES/libext2_uuid_intermediates/LINKED/libext2_uuid.so)
target Executable: fsck_msdos (out/target/product/pecan/obj/EXECUTABLES/fsck_msdos_intermediates/LINKED/fsck_msdos)
target SharedLib: libext2_e2p (out/target/product/pecan/obj/SHARED_LIBRARIES/libext2_e2p_intermediates/LINKED/libext2_e2p.so)
target SharedLib: libnetlink (out/target/product/pecan/obj/SHARED_LIBRARIES/libnetlink_intermediates/LINKED/libnetlink.so)
target SharedLib: libiprouteutil (out/target/product/pecan/obj/SHARED_LIBRARIES/libiprouteutil_intermediates/LINKED/libiprouteutil.so)
target Executable: mksh (out/target/product/pecan/obj/EXECUTABLES/mksh_intermediates/LINKED/mksh)
target SharedLib: libc_malloc_debug_leak (out/target/product/pecan/obj/SHARED_LIBRARIES/libc_malloc_debug_leak_intermediates/LINKED/libc_malloc_debug_leak.so)
target SharedLib: libc_malloc_debug_qemu (out/target/product/pecan/obj/SHARED_LIBRARIES/libc_malloc_debug_qemu_intermediates/LINKED/libc_malloc_debug_qemu.so)
host Executable: clang (out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang)
host SharedLib: libbcc (out/host/linux-x86/obj/lib/libbcc.so)
#
# configuration written to .config
#
make[1]: Leaving directory `/home/keyur/ics/kernel/lge/msm7x27'
target SharedLib: libthread_db (out/target/product/pecan/obj/SHARED_LIBRARIES/libthread_db_intermediates/LINKED/libthread_db.so)
Install: /home/keyur/ics/out/host/linux-x86/bin/apicheck
Install: /home/keyur/ics/out/host/linux-x86/bin/apkcheck
Install: /home/keyur/ics/out/host/linux-x86/bin/dexdeps
Install: /home/keyur/ics/out/host/linux-x86/bin/edify
Install: /home/keyur/ics/out/host/linux-x86/bin/elftree
host Executable: emulator (out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/emulator)
host Executable: emulator-arm (out/host/linux-x86/obj/EXECUTABLES/emulator-arm_intermediates/emulator-arm)
true
Install: /home/keyur/ics/out/host/linux-x86/bin/emulator-ui
host Executable: emulator-x86 (out/host/linux-x86/obj/EXECUTABLES/emulator-x86_intermediates/emulator-x86)
true
Install: /home/keyur/ics/out/host/linux-x86/bin/etc1tool
true
Install: /home/keyur/ics/out/host/linux-x86/bin/qemu-android-arm
Install: /home/keyur/ics/out/host/linux-x86/bin/qemu-android-x86
Install: /home/keyur/ics/out/host/linux-x86/framework/hosttestlib.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/ddmuilib.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/sdklib.jar
Copying: out/host/common/obj/JAVA_LIBRARIES/core-hostdex_intermediates/classes.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/sdkstats.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/swtmenubar.jar
host Java: draw9patch (out/host/common/obj/JAVA_LIBRARIES/draw9patch_intermediates/classes)
Install: /home/keyur/ics/out/host/linux-x86/framework/dumpeventlog.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/eventanalyzer.jar
host Java: hierarchyviewer (out/host/common/obj/JAVA_LIBRARIES/hierarchyviewer_intermediates/classes)
Note: sdk/draw9patch/src/com/android/draw9patch/ui/ImageTransferHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Install: /home/keyur/ics/out/host/linux-x86/framework/layoutlib_api.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/uix.jar
Install: /home/keyur/ics/out/host/linux-x86/framework/screenshot2.jar
host Java: sdkuilib (out/host/common/obj/JAVA_LIBRARIES/sdkuilib_intermediates/classes)
host Java: traceview (out/host/common/obj/JAVA_LIBRARIES/traceview_intermediates/classes)
host Executable: imgdiff (out/host/linux-x86/obj/EXECUTABLES/imgdiff_intermediates/imgdiff)
true
host Executable: bsdiff (out/host/linux-x86/obj/EXECUTABLES/bsdiff_intermediates/bsdiff)
true
Install: /home/keyur/ics/out/host/linux-x86/bin/fs_config
Install: /home/keyur/ics/out/host/linux-x86/bin/unpackbootimg
host SharedLib: libext2_blkid_host (out/host/linux-x86/obj/lib/libext2_blkid.so)
make -C kernel/lge/msm7x27 O=/home/keyur/ics/out/target/product/pecan/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/keyur/ics/prebuilt/linux-x86/ccache/ccache /home/keyur/ics/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-" headers_install
make[1]: Entering directory `/home/keyur/ics/kernel/lge/msm7x27'
CHK include/linux/version.h
make[3]: `scripts/unifdef' is up to date.
target SharedLib: libstdc++ (out/target/product/pecan/obj/SHARED_LIBRARIES/libstdc++_intermediates/LINKED/libstdc++.so)
target SharedLib: libm (out/target/product/pecan/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Install: /home/keyur/ics/out/target/product/pecan/system/lib/libc.so
target SharedLib: libgabi++ (out/target/product/pecan/obj/SHARED_LIBRARIES/libgabi++_intermediates/LINKED/libgabi++.so)
make[1]: Leaving directory `/home/keyur/ics/kernel/lge/msm7x27'
target Jar: core (out/target/common/obj/JAVA_LIBRARIES/core_intermediates/javalib.jar)
target Static Jar: android-support-v4-eclair (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/javalib.jar)
target Static Jar: android-support-v4-froyo (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-froyo_intermediates/javalib.jar)
target Static Jar: android-support-v4-gingerbread (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-gingerbread_intermediates/javalib.jar)
target Static Jar: android-support-v4-honeycomb (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb_intermediates/javalib.jar)
target Static Jar: android-support-v4-honeycomb-mr2 (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb-mr2_intermediates/javalib.jar)
target Static Jar: android-support-v4-ics (out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/javalib.jar)
target Java: guava (out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes)
'out/target/common/obj/JAVA_LIBRARIES/core_intermediates/classes.dex' as 'classes.dex'...
target Static Jar: android-support-v13-ics-mr1 (out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/javalib.jar)
RenderScript: Galaxy4 <= packages/wallpapers/Galaxy4/src/com/android/galaxy4/galaxy.rs
Generating ScriptC_galaxy.java ...
Generating ScriptField_VpConsts.java ...
Generating ScriptField_Particle.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/Galaxy4_intermediates/src/renderscript/res/raw/*.bc
RenderScript: HoloSpiralWallpaper <= packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/holo_spiral.rs
Generating ScriptC_holo_spiral.java ...
Generating ScriptField_VertexShaderConstants_s.java ...
Generating ScriptField_VertexColor_s.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/HoloSpiralWallpaper_intermediates/src/renderscript/res/raw/*.bc
RenderScript: LiveWallpapers <= packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/galaxy.rs packages/wallpapers/Basic/src/com/android/wallpaper/fall/fall.rs packages/wallpapers/Basic/src/com/android/wallpaper/nexus/nexus.rs packages/wallpapers/Basic/src/com/android/wallpaper/grass/grass.rs
Generating ScriptC_galaxy.java ...
Generating ScriptField_VpConsts.java ...
Generating ScriptField_Particle.java ...
Generating ScriptC_fall.java ...
Generating ScriptField_Constants.java ...
Generating ScriptC_nexus.java ...
Generating ScriptC_grass.java ...
Generating ScriptField_Blade.java ...
Generating ScriptField_Vertex.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/LiveWallpapers_intermediates/src/renderscript/res/raw/*.bc
RenderScript: MagicSmokeWallpapers <= packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/clouds.rs
Generating ScriptC_clouds.java ...
Generating ScriptField_VertexShaderConstants_s.java ...
Generating ScriptField_VertexInputs_s.java ...
Generating ScriptField_FragmentShaderConstants_s.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/MagicSmokeWallpapers_intermediates/src/renderscript/res/raw/*.bc
RenderScript: NoiseField <= packages/wallpapers/NoiseField/src/com/android/noisefield/noisefield.rs
Generating ScriptC_noisefield.java ...
Generating ScriptField_VpConsts.java ...
Generating ScriptField_VertexColor_s.java ...
Generating ScriptField_Particle.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/NoiseField_intermediates/src/renderscript/res/raw/*.bc
RenderScript: PhaseBeam <= packages/wallpapers/PhaseBeam/src/com/android/phasebeam/phasebeam.rs
Generating ScriptC_phasebeam.java ...
Generating ScriptField_VpConsts.java ...
Generating ScriptField_VertexColor_s.java ...
Generating ScriptField_Particle.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/PhaseBeam_intermediates/src/renderscript/res/raw/*.bc
RenderScript: SystemUI <= frameworks/base/packages/SystemUI/../../../ex/carousel/java/com/android/ex/carousel/carousel.rs
Generating ScriptC_carousel.java ...
Generating ScriptField_ProgramStore_s.java ...
Generating ScriptField_Card.java ...
Generating ScriptField_FragmentShaderConstants_s.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/SystemUI_intermediates/src/renderscript/res/raw/*.bc
RenderScript: android-common-carousel <= frameworks/ex/carousel/java/com/android/ex/carousel/carousel.rs
RenderScript: VisualizationWallpapers <= packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/many.rs packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/vu.rs packages/wallpapers/MusicVisualization/src/com/android/musicvis/waveform.rs
Generating ScriptC_many.java ...
Generating ScriptField_Vertex.java ...
Generating ScriptC_vu.java ...
Generating ScriptC_waveform.java ...
Generating ScriptField_Vertex.java ...
Generating ScriptC_carousel.java ...
Generating ScriptField_ProgramStore_s.java ...
Generating ScriptField_Card.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/APPS/VisualizationWallpapers_intermediates/src/renderscript/res/raw/*.bc
Generating ScriptField_FragmentShaderConstants_s.java ...
#@ out/host/linux-x86/bin/llvm-rs-link # out/target/common/obj/JAVA_LIBRARIES/android-common-carousel_intermediates/src/renderscript/res/raw/*.bc
target Symbolic: libext2_com_err (out/target/product/pecan/symbols/system/lib/libext2_com_err.so)
target Symbolic: libext2_uuid (out/target/product/pecan/symbols/system/lib/libext2_uuid.so)
target Symbolic: libext2_e2p (out/target/product/pecan/symbols/system/lib/libext2_e2p.so)
target Symbolic: fsck_msdos (out/target/product/pecan/symbols/system/bin/fsck_msdos)
target Symbolic: libiprouteutil (out/target/product/pecan/symbols/system/lib/libiprouteutil.so)
target Symbolic: libnetlink (out/target/product/pecan/symbols/system/lib/libnetlink.so)
target Symbolic: mksh (out/target/product/pecan/symbols/system/bin/mksh)
target Java: apache-xml (out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/classes)
target Symbolic: libc_malloc_debug_leak (out/target/product/pecan/symbols/system/lib/libc_malloc_debug_leak.so)
target Symbolic: libc_malloc_debug_qemu (out/target/product/pecan/symbols/system/lib/libc_malloc_debug_qemu.so)
target Symbolic: libthread_db (out/target/product/pecan/symbols/system/lib/libthread_db.so)
Install: /home/keyur/ics/out/host/linux-x86/bin/emulator
Install: /home/keyur/ics/out/host/linux-x86/bin/emulator-arm
Install: /home/keyur/ics/out/host/linux-x86/bin/emulator-x86
host Java: FrameworkCoreHostTests (out/host/common/obj/JAVA_LIBRARIES/FrameworkCoreHostTests_intermediates/classes)
host Java: hierarchyviewerlib (out/host/common/obj/JAVA_LIBRARIES/hierarchyviewerlib_intermediates/classes)
host Java: anttasks (out/host/common/obj/JAVA_LIBRARIES/anttasks_intermediates/classes)
target Dex: core-hostdex
Note: sdk/anttasks/src/com/android/ant/NewSetupTask.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
host Java: ddms (out/host/common/obj/JAVA_LIBRARIES/ddms_intermediates/classes)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
out/host/linux-x86/obj/STATIC_LIBRARIES/libclangStaticAnalyzerCheckers_intermediates/libclangStaticAnalyzerCheckers.a(ClangCheckers.o): In function `clang::ento::registerBuiltinCheckers(clang::ento::CheckerRegistry&)':
/home/keyur/ics/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangStaticAnalyzerCheckers_intermediates/Checkers.inc:52: undefined reference to `clang::ento::registerIdempotentOperationChecker(clang::ento::CheckerManager&)'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/EXECUTABLES/clang_intermediates/clang] Error 1
make: *** Waiting for unfinished jobs....
^Cmake: *** [out/host/common/obj/JAVA_LIBRARIES/ddms_intermediates/javalib.jar] Error 41
make: *** [out/host/common/obj/JAVA_LIBRARIES/core-hostdex_intermediates/classes.dex] Error 130
[email protected]:~/ics$
Please Please Please Help me :'( :'( :'( :'( :'( :'(
Please hELP ME :'(
Doesn't Matter I Had Fixed it But Anyway Thanks ! Moderator You can Close or Delete the Thread
how did u fix it im running into the same error

[Q] [5.1.1][LOLLIPOP][p720/p725]Builing CM 12.1 for the good old LG 3D OPTIMUS MAX

I've been trying for two month now to build cm-12.1 for this device. I made this post in order to get help to build it. This is a very good smartphone and I think that it deserves it. For this I need your help.
Here is my latest build error after 3 hour build. I make it again it took 2 minutes, same error
Code:
[email protected]:~/l$ make -j 8
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150624-UNOFFICIAL-p725
TARGET_PRODUCT=cm_p725
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE p725
build/core/tasks/kernel.mk:102: ***************************************************************
build/core/tasks/kernel.mk:103: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:104: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:105: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:106: * source repository to kernel/lge/p725
build/core/tasks/kernel.mk:107: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:108: * for more information *
build/core/tasks/kernel.mk:109: ***************************************************************
build/core/tasks/kernel.mk:278: warning: overriding commands for target `/home/a/l/out/target/product/p725/kernel'
build/core/Makefile:46: warning: ignoring old commands for target `/home/a/l/out/target/product/p725/kernel'
Copying: /home/a/l/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/classes.jar
target SharedLib: libandroid_runtime (/home/a/l/out/target/product/p725/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so)
target Static Jar: android-support-v7-cardview-jellybean-mr1 (/home/a/l/out/target/common/obj/JAVA_LIBRARIES/android-support-v7-cardview-jellybean-mr1_intermediates/javalib.jar)
target Java: TextSecureLibrary (/home/a/l/out/target/common/obj/JAVA_LIBRARIES/TextSecureLibrary_intermediates/classes)
target thumb C++: libwebviewchromium <= external/chromium_org/android_webview/lib/main/webview_entry_point.cc
Install: /home/a/l/out/target/product/p725/system/bin/bootanimation
Install: /home/a/l/out/target/product/p725/system/bin/drmserver
frameworks/base/core/jni/android_view_Surface.cpp:404: error: undefined reference to 'android::uirenderer::AnimationContext::AnimationContext(android::uirenderer::renderthread::TimeLord&)'
frameworks/base/core/jni/android_view_Surface.cpp:431: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::syncAndDrawFrame(long long, long long, float)'
frameworks/base/core/jni/android_view_Surface.cpp:425: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::updateSurface(android::sp<ANativeWindow> const&)'
frameworks/base/core/jni/android_view_Surface.cpp:412: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::RenderProxy(bool, android::uirenderer::RenderNode*, android::uirenderer::IContextFactory*)'
frameworks/base/core/jni/android_view_Surface.cpp:413: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::loadSystemProperties()'
frameworks/base/core/jni/android_view_Surface.cpp:414: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::setSwapBehavior(android::uirenderer::renderthread::SwapBehavior)'
frameworks/base/core/jni/android_view_Surface.cpp:415: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::initialize(android::sp<ANativeWindow> const&)'
frameworks/base/core/jni/android_view_Surface.cpp:418: error: undefined reference to 'android::uirenderer::renderthread::RenderProxy::setup(int, int, android::uirenderer::Vector3 const&, float, unsigned char, unsigned char)'
frameworks/base/core/jni/android/graphics/Paint.cpp:809: error: undefined reference to 'android::uirenderer::Blur::convertRadiusToSigma(float)'
collect2: error: ld returned 1 exit status
make: *** [/home/a/l/out/target/product/p725/obj/SHARED_LIBRARIES/libandroid_runtime_intermediates/LINKED/libandroid_runtime.so] Error 1
make: *** Waiting for unfinished jobs....
Note: external/whispersystems/TextSecure/library/src/org/whispersystems/textsecure/push/PushServiceSocket.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
#### make failed to build some targets (02:00 (mm:ss)) ####
This is my new error
Code:
Export includes file: system/core/libion/Android.mk -- /home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libion_intermediates/export_includes
Target wpa_supplicant.conf: /home/a/l/out/target/product/p720/obj/ETC/wpa_supplicant.conf_intermediates/wpa_supplicant.conf
make: *** No rule to make target `system/bluetooth/data/main.conf', needed by `/home/a/l/out/target/product/p720/system/etc/bluetooth/main.conf'. Stop.
make: *** Waiting for unfinished jobs....
GEN include/usage.h
GEN loginutils/Kbuild
GEN loginutils/Config.in
GEN shell/Kbuild
GEN shell/Config.in
GEN selinux/Kbuild
GEN selinux/Config.in
GEN util-linux/Kbuild
GEN util-linux/Config.in
GEN util-linux/volume_id/Kbuild
GEN util-linux/volume_id/Config.in
GEN archival/Kbuild
GEN archival/Config.in
GEN archival/libarchive/Kbuild
GEN mailutils/Kbuild
GEN mailutils/Config.in
GEN networking/Kbuild
GEN networking/Config.in
GEN networking/udhcp/Kbuild
GEN networking/udhcp/Config.in
GEN networking/libiproute/Kbuild
GEN debianutils/Kbuild
GEN debianutils/Config.in
GEN sysklogd/Kbuild
GEN sysklogd/Config.in
GEN applets/Kbuild
GEN runit/Kbuild
GEN runit/Config.in
GEN console-tools/Kbuild
GEN console-tools/Config.in
GEN findutils/Kbuild
GEN findutils/Config.in
GEN procps/Kbuild
GEN procps/Config.in
GEN init/Kbuild
GEN init/Config.in
GEN miscutils/Kbuild
GEN miscutils/Config.in
GEN coreutils/Kbuild
GEN coreutils/Config.in
GEN coreutils/libcoreutils/Kbuild
GEN modutils/Kbuild
GEN modutils/Config.in
GEN scripts/Kbuild
GEN editors/Kbuild
GEN editors/Config.in
GEN e2fsprogs/Kbuild
GEN e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/Kbuild
GEN e2fsprogs/old_e2fsprogs/Config.in
GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild
GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild
GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild
GEN printutils/Kbuild
GEN printutils/Config.in
GEN libpwdgrp/Kbuild
GEN libbb/Kbuild
GEN libbb/Config.in
Using /home/a/l/external/busybox as source for busybox
GEN /home/a/l/out/target/product/p720/obj/busybox/full/Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
/home/a/l/external/busybox/scripts/basic/split-include.c: In function ‘main’:
/home/a/l/external/busybox/scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(old_line, buffer_size, fp_target);
^
HOSTCC scripts/kconfig/conf.o
/home/a/l/external/busybox/scripts/kconfig/conf.c: In function ‘conf_askvalue’:
/home/a/l/external/busybox/scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
/home/a/l/external/busybox/scripts/kconfig/conf.c: In function ‘conf_choice’:
/home/a/l/external/busybox/scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line, 128, stdin);
^
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/home/a/l/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/a/l/external/busybox/scripts/kconfig/mconf.c:847:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(fd, text, strlen(text));
^
/home/a/l/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/a/l/external/busybox/scripts/kconfig/mconf.c:481:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
pipe(pipefd);
^
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s Config.in
#
# using defaults found in .config
#
SPLIT include/autoconf.h -> include/config/*
HOSTCC applets/usage
HOSTCC applets/applet_tables
/home/a/l/external/busybox/applets/usage.c: In function ‘main’:
/home/a/l/external/busybox/applets/usage.c:52:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(STDOUT_FILENO, usage_array[i].usage, strlen(usage_array[i].usage) + 1);
^
GEN include/bbconfigopts.h
/home/a/l/external/busybox/applets/applet_tables.c: In function ‘main’:
/home/a/l/external/busybox/applets/applet_tables.c:144:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(line_old, sizeof(line_old), fp);
^
GEN include/applet_tables.h
HOSTCC applets/usage_pod
GEN include/usage_compressed.h
CC applets/applets.o
LD applets/built-in.o
make[1]: Leaving directory `/home/a/l/external/busybox'
#### make failed to build some targets (02:48 (mm:ss)) ####
Where are your sources, devtree and kernel. If i am not mistaken the p720 has 1g mem, so it would be easier to get the ddk1.9 gpu binaries working for your device. Take the l9 kernel for jellybean, add cosmo and cx support from cm10 kernel and your good to go kernel wise. Device tree needs upgrading of hwcomposer and domx, or use l9 device tree aswell with your device specific changes. Post your sources and i will try to help, i feel im so close with our p920 device, i think its vram specs i need to get right to bring up display.
Sent from my LG-D620 using XDA Free mobile app
---------- Post added at 19:01 ---------- Previous post was at 18:49 ----------
L9 kernel, https://github.com/dhiru1602/lge-kernel-omap4.l9 common dev tree, https://github.com/dhiru1602/android_device_lge_u2-common. Add support from https://github.com/CyanogenMod/lge-kernel-omap4, to the l9 kernel for cosmo and cx.
Sent from my LG-D620 using XDA Free mobile app
I don't think you realize how glad I am for you help. I try you suggestions and I will get back to you as soon as I get something.
Thanks again.
hi, im working on cm12.0 for LG prada, its so similar device to optimus 3d i guess. i following your work , so let me know about your progresses, ty {and sry for my eng}
Hi I just modified the l9 common tree with configuration for the p725 and I could buil the recovery image.
Here is the tree https://github.com/lung1/device_lge_p720
Still after I flashed the recovery image on the p725 it run into a bootloop but just when I tried to get into recovery. When I rebooted the devices it started Android so I didn't bricked it
Suggestions?
I forget to mention that I used the https://github.com/CyanogenMod/lge-kernel-omap4 kernel because it works. If I build cm-10 it works perfectly. I just used this kernel and https://github.com/CyanogenMod/android_device_lge_p720 .
Yes its will build, no problem but you are going to get bootloop or blank screen. The kernel still needs to be updated, because the common dev tree you are using has the 1.9 pvr and the cm10 tree has 1.8 pvr. Just check the pvr version in the dev trees of both, sgx-module/services4. Add the cosmo and cx support to the l9 kernel. Then the kernel will be inline with the common dev tree you are using. The pvr needs the ion,remoteproc rpmsg,dss and dsscomp updates thats in the l9 kernel.
Sent from my LG-D620 using XDA Free mobile app
I added the binaries for cosmo and cx2, here is the source https://github.com/lung1/kernel_lge_p720 . But now I can't build the recovery image. Here is the error.
Code:
[email protected]:~/l$ make recoveryimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/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/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/omap_hsi.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c: In function 'hsi_get_hsi_platform_device':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c:139:11: error: 'hsi_temp_ptr' undeclared (first use in this function)
dev = hsi_temp_ptr;
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/omap_hsi.c:139:11: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [arch/arm/mach-omap2/omap_hsi.o] Error 1
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:29 (mm:ss)) ####
Error is in arch/arm/mach_omap2/omap_hsi.c, use meld to diff your changes with that of the l9 kernel. Also first test if kernel compiles before building complete rom. Do a (. build/envsetup.sh) then lunch, choose your device and then mm bootimage. Just to build bootimage. It saves time then to build a complete rom to check if you get kernel errors.
Sent from my LG-D620 using XDA Free mobile app
---------- Post added at 12:30 ---------- Previous post was at 12:24 ----------
As an alternative, you could use my updated kernel, its also cm10.2 with all updates for optimus 3d, i haven't changed carveouts for 1g devices, so it should work.
https://github.com/shaqfu786/lge-kernel-omap4. Here you go.
Sent from my LG-D620 using XDA Free mobile app
I found the error in the omap_hsi.c and fixed it. Here is the result:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/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/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
LD arch/arm/mach-omap2/mailbox_mach.o
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/board-lge-nfc.h:1:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:49:
/home/a/l/kernel/lge/omap4-common/include/linux/nfc/pn544_lge.h:44:28: fatal error: mach/board_lge.h: No such file or directory
#include <mach/board_lge.h>
^
compilation terminated.
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:26 (mm:ss)) ####
I tried your alternative solution, and I had to delete the -Werror flag from drivers/net/wireless/bcmdhd/Makefile because of this error:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/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/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c: In function 'wl_cfgp2p_ifidx':
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.c:458:31: error: argument to 'sizeof' in 'memcpy' call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
memcpy(index, getbuf, sizeof(index));
^
cc1: all warnings being treated as errors
make[6]: *** [drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o] Error 1
make[5]: *** [drivers/net/wireless/bcmdhd] Error 2
make[4]: *** [drivers/net/wireless] Error 2
make[3]: *** [drivers/net] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:29 (mm:ss)) ####
After I deleted I got this massage:
Code:
[email protected]:~/l$ mm bootimage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/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/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC drivers/video/omap2/dsscomp/gralloc.o
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c: In function 'dsscomp_gralloc_cb':
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:132:14: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
if ( gsync->adapt_info!=NULL )
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:134:29: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
dsscomp_adapt_free(gsync->adapt_info);
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:135:10: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
gsync->adapt_info = NULL;
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c: In function 'dsscomp_gralloc_queue':
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:628:8: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
gsync->adapt_info = adapt_info;
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:646:12: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
if ( gsync->adapt_info!=NULL )
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:649:39: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
r= dsscomp_adapt_wait_complete(gsync->adapt_info, 100, &ret);
^
../../../../../../kernel/lge/omap4-common/drivers/video/omap2/dsscomp/gralloc.c:653:34: error: 'struct dsscomp_gralloc_t' has no member named 'adapt_info'
dsscomp_adapt_force_stop(gsync->adapt_info);
^
make[6]: *** [drivers/video/omap2/dsscomp/gralloc.o] Error 1
make[5]: *** [drivers/video/omap2/dsscomp] Error 2
make[4]: *** [drivers/video/omap2] Error 2
make[3]: *** [drivers/video] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:31 (mm:ss)) ####
Thanks again for your help!
Use meld again to diff your gralloc.c file. Strange i dont get gralloc errors my side when i compile the updated cm10.2 kernel.
Sent from my LG-D620 using XDA Free mobile app
Here is the error
Code:
CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
CHK include/linux/version.h
Using /home/a/l/kernel/lge/omap4-common as source for kernel
CHK include/generated/utsrelease.h
make[3]: `include/generated/mach-types.h' is up to date.
CALL /home/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/plat-omap/omap_dsscomp.o
make[3]: *** No rule to make target `arch/arm/plat-omap/lge_err_handler.o', needed by `arch/arm/plat-omap/built-in.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
CC arch/arm/plat-omap/android-display.o
CC mm/page_io.o
CC arch/arm/mach-omap2/hsmmc.o
CC arch/arm/mach-omap2/omap_fiq_debugger.o
CC arch/arm/mach-omap2/omap4-reboot-reason.o
CC arch/arm/mach-omap2/twl_i2c.o
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/android-display.c:27:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/android-display.h:19:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/android-display.c:27:
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_set_ovl(dsscomp_t comp, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:17:52: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_get_ovl(dsscomp_t comp, u32 ix, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:18:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_set_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:19:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_get_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'struct dss2_rect_t' declared inside parameter list [enabled by default]
struct dss2_rect_t win);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'enum dsscomp_setup_mode' declared inside parameter list [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:29:4: warning: 'struct dsscomp_setup_dispc_data' declared inside parameter list [enabled by default]
void (*cb_fn)(void *, int), void *cb_arg);
^
make[3]: *** [arch/arm/plat-omap/android-display.o] Error 1
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:29:0:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:5:0,
from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:30:
/home/a/l/kernel/lge/omap4-common/include/video/dsscomp.h:1:0: error: unterminated #ifndef
#ifndef _LINUX_DSSCOMP_H
^
In file included from /home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/omap_dsscomp.c:30:0:
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_set_ovl(dsscomp_t comp, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:16:44: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:17:52: warning: 'struct dss2_ovl_info' declared inside parameter list [enabled by default]
int dsscomp_get_ovl(dsscomp_t comp, u32 ix, struct dss2_ovl_info *ovl);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:18:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_set_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:19:44: warning: 'struct dss2_mgr_info' declared inside parameter list [enabled by default]
int dsscomp_get_mgr(dsscomp_t comp, struct dss2_mgr_info *mgr);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'struct dss2_rect_t' declared inside parameter list [enabled by default]
struct dss2_rect_t win);
^
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:21:11: warning: 'enum dsscomp_setup_mode' declared inside parameter list [enabled by default]
/home/a/l/kernel/lge/omap4-common/arch/arm/plat-omap/include/plat/dsscomp.h:29:4: warning: 'struct dsscomp_setup_dispc_data' declared inside parameter list [enabled by default]
void (*cb_fn)(void *, int), void *cb_arg);
^
make[3]: *** [arch/arm/plat-omap/omap_dsscomp.o] Error 1
make[2]: *** [arch/arm/plat-omap] Error 2
make[2]: *** Waiting for unfinished jobs....
../../../../../../kernel/lge/omap4-common/mm/page_io.c: In function 'end_swap_bio_read':
../../../../../../kernel/lge/omap4-common/mm/page_io.c:96:3: error: implicit declaration of function 'page_swap_info' [-Werror=implicit-function-declaration]
sis = page_swap_info(page);
^
../../../../../../kernel/lge/omap4-common/mm/page_io.c:96:7: warning: assignment makes pointer from integer without a cast [enabled by default]
sis = page_swap_info(page);
^
cc1: some warnings being treated as errors
make[3]: *** [mm/page_io.o] Error 1
make[2]: *** [mm] Error 2
CC arch/arm/mach-omap2/omap_ram_console.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:337:35: error: 'SDIO_VENDOR_ID_TI' undeclared here (not in a function)
.vendor = SDIO_VENDOR_ID_TI,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:338:35: error: 'SDIO_DEVICE_ID_TI_WL12xx' undeclared here (not in a function)
.device = SDIO_DEVICE_ID_TI_WL12xx,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c: In function 'omap_hsmmc_pdata_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/hsmmc.c:519:25: error: implicit declaration of function 'machine_is_omap_4430sdp' [-Werror=implicit-function-declaration]
if (machine_is_omap_4430sdp())
^
cc1: some warnings being treated as errors
make[3]: *** [arch/arm/mach-omap2/hsmmc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
CC drivers/mfd/twl-core.o
CC drivers/mfd/twl4030-irq.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: error: unknown field 'gpio_mhl' specified in initializer
.gpio_mhl = GPIO_MHL_SEL,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: error: unknown field 'gpio_ifx_vbus' specified in initializer
.gpio_ifx_vbus = GPIO_IFX_USB_VBUS_EN,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c: In function 'lge_i2c_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:906:6: warning: unused variable 'fixed_rev' [-Wunused-variable]
int fixed_rev = 0;
^
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
CC drivers/mfd/twl6030-irq.o
CC drivers/muic/muic_class.o
CC drivers/input/touchscreen/touch_synaptics_s3000.o
CC drivers/mfd/twl4030-power.o
CC drivers/mfd/twl6030-pwm.o
CC drivers/muic/muic_client_class.o
CC drivers/mtd/mtdcore.o
CC drivers/muic/dp3t.o
CC drivers/mtd/mtdsuper.o
CC drivers/net/mii.o
CC drivers/net/ks8851.o
CC drivers/net/Space.o
CC drivers/muic/usif.o
CC drivers/mtd/mtdconcat.o
LD drivers/nfc/built-in.o
CC drivers/muic/fota.o
../../../../../../kernel/lge/omap4-common/drivers/muic/usif.c: In function 'usif_switch_ctrl':
../../../../../../kernel/lge/omap4-common/drivers/muic/usif.c:175:3: warning: 'return' with a value, in function returning void [enabled by default]
return 1;
^
CC drivers/net/loopback.o
CC drivers/muic/muic_tsu5611.o
LD drivers/platform/built-in.o
CC drivers/net/ppp_generic.o
CC drivers/muic/muic_tsu5611_cx2.o
CC drivers/power/power_supply_core.o
CC drivers/mtd/mtdpart.o
CC drivers/net/ppp_async.o
CC drivers/regulator/core.o
CC drivers/net/ppp_synctty.o
CC drivers/mtd/mtdchar.o
CC drivers/net/ppp_deflate.o
CC drivers/omap_hsi/xmd-tty.o
CC drivers/net/bsd_comp.o
CC drivers/net/ppp_mppe.o
CC drivers/mtd/mtd_blkdevs.o
CC drivers/net/pppox.o
CC drivers/mtd/mtdblock.o
CC drivers/omap_hsi/xmd-rmnet.o
CC drivers/regulator/dummy.o
CC drivers/regulator/fixed.o
CC drivers/omap_hsi/xmd-hsi-mcm.o
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c: In function 'add_children':
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:708:13: error: 'struct twl4030_bci_platform_data' has no member named 'errata'
pdata->bci->errata = errata;
^
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c: In function 'twl_probe':
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:1423:15: error: 'TWL6032_ERRATA_DB00119490' undeclared (first use in this function)
errata |= TWL6032_ERRATA_DB00119490;
^
../../../../../../kernel/lge/omap4-common/drivers/mfd/twl-core.c:1423:15: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [drivers/mfd/twl-core.o] Error 1
make[4]: *** Waiting for unfinished jobs....
CC drivers/omap_hsi/xmd_hsi_mem.o
CC drivers/net/pppoe.o
CC drivers/mtd/chips/chipreg.o
CC drivers/net/pppolac.o
CC drivers/omap_hsi/xmd-hsi-ll.o
CC drivers/regulator/twl-regulator.o
CC drivers/omap_hsi/hsi_driver.o
LD drivers/mtd/chips/built-in.o
CC drivers/net/pppopns.o
LD drivers/mtd/devices/built-in.o
CC drivers/omap_hsi/hsi_driver_dma.o
CC drivers/net/slhc.o
CC drivers/omap_hsi/hsi_driver_int.o
CC drivers/remoteproc/remoteproc.o
LD drivers/mtd/lpddr/built-in.o
LD drivers/mtd/maps/built-in.o
CC drivers/net/tun.o
CC drivers/remoteproc/omap_remoteproc.o
CC drivers/omap_hsi/hsi_driver_if.o
CC drivers/mtd/nand/nand_ids.o
CC drivers/omap_hsi/hsi_driver_bus.o
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'synaptics_ts_get_data':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:33: error: 'struct t_data' has no member named 'status'
data->curr_data[finger_index].status = FINGER_PRESSED;
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:43: error: 'FINGER_PRESSED' undeclared (first use in this function)
data->curr_data[finger_index].status = FINGER_PRESSED;
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:254:43: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'get_ic_info':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:414:18: error: 'struct touch_fw_info' has no member named 'ic_fw_identifier'
snprintf(fw_info->ic_fw_identifier, sizeof(fw_info->ic_fw_identifier),
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:414:52: error: 'struct touch_fw_info' has no member named 'ic_fw_identifier'
snprintf(fw_info->ic_fw_identifier, sizeof(fw_info->ic_fw_identifier),
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:416:18: error: 'struct touch_fw_info' has no member named 'ic_fw_version'
snprintf(fw_info->ic_fw_version, sizeof(fw_info->ic_fw_version), "%d", ts->fw_info.fw_rev);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:416:49: error: 'struct touch_fw_info' has no member named 'ic_fw_version'
snprintf(fw_info->ic_fw_version, sizeof(fw_info->ic_fw_version), "%d", ts->fw_info.fw_rev);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: In function 'synaptics_ts_fw_upgrade':
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:678:35: error: 'struct touch_fw_info' has no member named 'fw_upgrade'
ret = FirmwareUpgrade(ts, fw_info->fw_upgrade.fw_path);
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c: At top level:
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:761:2: warning: initialization from incompatible pointer type [enabled by default]
.data = synaptics_ts_get_data,
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:761:2: warning: (near initialization for 'synaptics_ts_driver.data') [enabled by default]
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:763:2: warning: initialization from incompatible pointer type [enabled by default]
.fw_upgrade = synaptics_ts_fw_upgrade,
^
../../../../../../kernel/lge/omap4-common/drivers/input/touchscreen/touch_synaptics_s3000.c:763:2: warning: (near initialization for 'synaptics_ts_driver.fw_upgrade') [enabled by default]
make[5]: *** [drivers/input/touchscreen/touch_synaptics_s3000.o] Error 1
make[4]: *** [drivers/input/touchscreen] Error 2
make[3]: *** [drivers/input] Error 2
make[3]: *** Waiting for unfinished jobs....
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_is_retain_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:366:58: error: 'RETAIN_MAX' undeclared (first use in this function)
if((muic_retain_mode < NO_RETAIN)||(muic_retain_mode >= RETAIN_MAX)) {
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:366:58: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_process_retain_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:376:58: error: 'RETAIN_MAX' undeclared (first use in this function)
if((muic_retain_mode < NO_RETAIN)||(muic_retain_mode >= RETAIN_MAX)) {
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:386:8: error: 'BOOT_MHL' undeclared (first use in this function)
case BOOT_MHL : muic_set_mode(MUIC_MHL); break;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c: In function 'muic_tsu5611_probe':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:794:23: error: 'struct muic_platform_data' has no member named 'gpio_mhl'
dev->gpio_mhl = pdata->gpio_mhl;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611.c:795:28: error: 'struct muic_platform_data' has no member named 'gpio_ifx_vbus'
dev->gpio_ifx_vbus = pdata->gpio_ifx_vbus;
^
make[4]: *** [drivers/muic/muic_tsu5611.o] Error 1
make[4]: *** Waiting for unfinished jobs....
LD drivers/net/arm/built-in.o
CC drivers/power/power_supply_sysfs.o
CC drivers/omap_hsi/hsi_driver_gpio.o
CC drivers/omap_hsi/hsi_driver_fifo.o
CC drivers/remoteproc/rpres.o
LD drivers/mtd/nand/built-in.o
CC drivers/omap_hsi/hsi_driver_debugfs.o
CC drivers/power/twl6030_bci_battery.o
make[3]: *** [drivers/mfd] Error 2
CC drivers/power/rt9524_charger.o
LD drivers/mtd/tests/built-in.o
LD drivers/omap_hsi/omap_hsi.o
LD drivers/mtd/mtd.o
CC drivers/mtd/onenand/onenand_base.o
LD drivers/omap_hsi/ifx.o
LD drivers/omap_hsi/built-in.o
CC drivers/mtd/onenand/onenand_bbt.o
CC drivers/remoteproc/rpres_dev.o
LD drivers/mtd/onenand/onenand.o
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:82:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
extern void android_USB_disconnect();// for usb disconnect event
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_set_ap_usb_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:225:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'struct i2c_client *' [-Wformat=]
printk("muic %s, client : %d", __func__, client);
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_process_retention_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:312:12: error: 'BOOT_MHL' undeclared (first use in this function)
}else if (BOOT_MHL == muic_retain_mode){
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:312:12: note: each undeclared identifier is reported only once for each function it appears in
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_tsu5611_detect_accessory':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:429:6: warning: unused variable 'loop' [-Wunused-variable]
s32 loop = 0;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_int_stat':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:672:43: warning: backslash and newline separated by space [enabled by default]
(id_register_value == IDNO_1001) || \
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_int_stat_read':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:718:2: warning: passing argument 3 of 'muic_i2c_read_byte' from incompatible pointer type [enabled by default]
ret = muic_i2c_read_byte(client, INT_STATUS1, &value);
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:39:0:
../../../../../../kernel/lge/omap4-common/include/linux/muic/muic.h:136:5: note: expected 'u8 *' but argument is of type 'u32 *'
s32 muic_i2c_read_byte(struct i2c_client *client, u8 addr, u8 *value);
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: At top level:
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:732:2: warning: initialization from incompatible pointer type [enabled by default]
.read_int_state = muic_int_stat_read,
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:732:2: warning: (near initialization for 'muic_dev.read_int_state') [enabled by default]
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'tsu5611_probe':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:766:23: error: 'struct muic_platform_data' has no member named 'gpio_mhl'
dev->gpio_mhl = pdata->gpio_mhl;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:767:28: error: 'struct muic_platform_data' has no member named 'gpio_ifx_vbus'
dev->gpio_ifx_vbus = pdata->gpio_ifx_vbus;
^
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c: In function 'muic_set_mhl_mode':
../../../../../../kernel/lge/omap4-common/drivers/muic/muic_tsu5611_cx2.c:139:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[4]: *** [drivers/muic/muic_tsu5611_cx2.o] Error 1
make[3]: *** [drivers/muic] Error 2
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/built-in.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_linux.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc.o
CC drivers/net/wireless/bcmdhd/src/bcmsdio/sys/bcmsdh_sdmmc_linux.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_cdc.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_common.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_custom_gpio.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_linux_sched.o
LD drivers/power/power_supply.o
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_cfg80211.o
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c: In function 'twl6030_bci_battery_probe':
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2564:20: error: 'struct twl4030_bci_platform_data' has no member named 'errata'
di->errata = pdata->errata;
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2640:11: error: 'struct twl4030_bci_platform_data' has no member named 'sense_resistor_mohm'
if (pdata->sense_resistor_mohm) {
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2641:42: error: 'struct twl4030_bci_platform_data' has no member named 'sense_resistor_mohm'
di->current_max_scale = (62000) / pdata->sense_resistor_mohm;
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2652:19: error: 'TWL6032_ERRATA_DB00119490' undeclared (first use in this function)
if (di->errata & TWL6032_ERRATA_DB00119490) {
^
../../../../../../kernel/lge/omap4-common/drivers/power/twl6030_bci_battery.c:2652:19: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [drivers/power/twl6030_bci_battery.o] Error 1
make[3]: *** [drivers/power] Error 2
CC drivers/net/wireless/bcmdhd/src/dhd/sys/dhd_sdio.o
CC drivers/net/wireless/bcmdhd/src/shared/aiutils.o
CC drivers/net/wireless/bcmdhd/src/shared/bcmevent.o
../../../../../../kernel/lge/omap4-common/drivers/regulator/twl-regulator.c:923:29: warning: 'twl6030_external_control_pin_ops' defined but not used [-Wunused-variable]
static struct regulator_ops twl6030_external_control_pin_ops = {
^
CC drivers/net/wireless/bcmdhd/src/shared/bcmutils.o
CC drivers/net/wireless/bcmdhd/src/shared/bcmwifi/src/bcmwifi_channels.o
CC drivers/net/wireless/bcmdhd/src/shared/hndpmu.o
CC drivers/net/wireless/bcmdhd/src/shared/linux_osl.o
CC drivers/net/wireless/bcmdhd/src/shared/sbutils.o
CC drivers/net/wireless/bcmdhd/src/shared/siutils.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:68:0: warning: "LINUX_VERSION_CODE" redefined [enabled by default]
#define LINUX_VERSION_CODE KERNEL_VERSION(3, 4, 0)
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linuxver.h:31:0,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.c:28:
include/linux/version.h:1:0: note: this is the location of the previous definition
#define LINUX_VERSION_CODE 196639
^
CC drivers/net/wireless/bcmdhd/src/wl/sys/wldev_common.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.o
CC drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.o
../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.c:44:0: warning: "LINUX_VERSION_CODE" redefined [enabled by default]
#define LINUX_VERSION_CODE KERNEL_VERSION(3, 4, 0)
^
In file included from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linuxver.h:31:0,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/linux_osl.h:165,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/include/osl.h:44,
from ../../../../../../kernel/lge/omap4-common/drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.c:27:
include/linux/version.h:1:0: note: this is the location of the previous definition
#define LINUX_VERSION_CODE 196639
^
LD drivers/net/wireless/bcmdhd/bcmdhd.o
LD drivers/net/wireless/bcmdhd/built-in.o
LD drivers/net/wireless/built-in.o
LD drivers/remoteproc/built-in.o
LD drivers/net/built-in.o
LD drivers/regulator/built-in.o
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:34 (mm:ss)) ####
I tried to copy again cx2_i2c.c but still no result.
No, check your i2c files in drivers and include file. Best way now is to check my latest commits and see which files were changed in drivers/i2c, could be that i left out some code specific to cx2, cause mine p920. Also diff with l9 kernel those folders.
Sent from my LG-D620 using XDA Free mobile app
The only difference was in drivers/i2c/busses/i2c-omap.c file. Site have this error:
Code:
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
CHK include/linux/version.h
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make -C kernel/lge/omap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" zImage
make[1]: Entering directory `/home/a/l/kernel/lge/omap4-common'
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
Using /home/a/l/kernel/lge/omap4-common as source for kernel
GEN /home/a/l/out/target/product/p720/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/a/l/kernel/lge/omap4-common/scripts/checksyscalls.sh
CHK include/generated/compile.h
CC arch/arm/mach-omap2/lge/board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/../board-lg-wifi.o
CC arch/arm/mach-omap2/lge/cx2/cx2_i2c.o
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: error: unknown field 'gpio_mhl' specified in initializer
.gpio_mhl = GPIO_MHL_SEL,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:720:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: error: unknown field 'gpio_ifx_vbus' specified in initializer
.gpio_ifx_vbus = GPIO_IFX_USB_VBUS_EN,
^
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: excess elements in struct initializer [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:721:2: warning: (near initialization for 'muic_pdata') [enabled by default]
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c: In function 'lge_i2c_init':
../../../../../../kernel/lge/omap4-common/arch/arm/mach-omap2/lge/cx2/cx2_i2c.c:906:6: warning: unused variable 'fixed_rev' [-Wunused-variable]
int fixed_rev = 0;
^
make[5]: *** [arch/arm/mach-omap2/lge/cx2/cx2_i2c.o] Error 1
make[4]: *** [arch/arm/mach-omap2/lge/cx2] Error 2
make[3]: *** [arch/arm/mach-omap2/lge] Error 2
make[2]: *** [arch/arm/mach-omap2] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/a/l/kernel/lge/omap4-common'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:35 (mm:ss)) ####
This is my kernel now https://github.com/lung1/kernel_lge_p720
I didn't have much time togo through your kernel, but what did catch my eye was that your lge-common.c is wrong, the changes you made. Swap out your file with the one from l9. Also copy the error mesg into google and it might bring up some results, i alway do that.
Sent from my LG-D620 using XDA Free mobile app
Ok perfect. Thanks so much for your help
I just want to tell you how I added support for cx2 and cosmo. I searched in this kernel https://github.com/CyanogenMod/lge-kernel-omap4 for all cosmo occurrences and added each and every instance to https://github.com/dhiru1602/lge-kernel-omap4 . Is that ok?
Or I should just add and change files in the arch/arm/mach-omap2 folder?
With your help I build the bootimage and recoveryimage with you kernel. I added here https://github.com/lung1/kernel_lge_p720/tree/cm-10.2-shaqfu786 . So many thanks!
But still the recoveryimage stucks into bootloop.
Thanks again! Trying to build ROM.
Here is the ROM result
Code:
[email protected]:~/l$ make -j 32
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20150630-UNOFFICIAL-p720
TARGET_PRODUCT=cm_p720
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-41-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/a/l/out
============================================
"ebtables is disabled on this build"
find: `omapmmlib/java': No such file or directory
find: `omapmmlib/java': No such file or directory
find: `dummy': No such file or directory
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/wifi/wpa_supplicant.conf'
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
PRODUCT_COPY_FILES hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libril.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/lights.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/camera.omap4.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/hw/nfc.default.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtinyalsa.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/bin/rild'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libmm_osal.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX_Core.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libion.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libtiutils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libdomx.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so'
build/core/Makefile:46: warning: overriding commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/a/l/out/target/product/p720/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so'
No private recovery resources for TARGET_DEVICE p720
make -C kernel/lge/oomap4-common O=/home/a/l/out/target/product/p720/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/a/l/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_p720_defconfig
make[1]: Entering directory `/home/a/l/kernel/lge/oomap4-common'
target thumb C++: libcamera_client <= frameworks/av/camera/ICameraClient.cpp
target thumb C++: libcamera_client <= frameworks/av/camera/ICameraService.cpp
target SharedLib: libcamera_metadata (/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_metadata_intermediates/LINKED/libcamera_metadata.so)
target thumb C++: libgui <= frameworks/native/libs/gui/IGraphicBufferProducer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/IProducerListener.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISensorEventConnection.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISensorServer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISurfaceComposer.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/ISurfaceComposerClient.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/LayerState.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/Sensor.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SensorEventQueue.cpp
target thumb C++: libgui <= frameworks/native/libs/gui/SensorManager.cpp
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual void android::BpCameraClient::notifyCallback(int32_t, int32_t, int32_t)':
frameworks/av/camera/ICameraClient.cpp:49:63: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
frameworks/av/camera/ICameraClient.cpp: In member function 'virtual android::status_t android::BnCameraClient::onTransact(uint32_t, const android::Parcel&, android::Parcel*, uint32_t)':
frameworks/av/camera/ICameraClient.cpp:101:67: error: 'CAMERA_FRAME_DATA_FD' was not declared in this scope
if ((msgType == CAMERA_MSG_PREVIEW_FRAME) && (ext1 == CAMERA_FRAME_DATA_FD)) {
^
make: *** [/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/ICameraClient.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libgui <= frameworks/native/libs/gui/StreamSplitter.cpp
GEN /home/a/l/out/target/product/p720/obj/KERNEL_OBJ/Makefile
In file included from system/media/camera/include/system/camera_metadata.h:23:0,
from frameworks/av/include/camera/CameraMetadata.h:20,
from frameworks/av/include/camera/CaptureResult.h:21,
from frameworks/av/include/camera/camera2/ICameraDeviceCallbacks.h:27,
from frameworks/av/camera/ICameraService.cpp:37:
system/media/camera/include/system/camera_vendor_tags.h:36:8: error: redefinition of 'struct vendor_tag_ops'
struct vendor_tag_ops {
^
In file included from frameworks/av/include/camera/ICameraServiceListener.h:23:0,
from frameworks/av/camera/ICameraService.cpp:31:
device/lge/p720/include/hardware/camera_common.h:261:8: error: previous definition of 'struct vendor_tag_ops'
struct vendor_tag_ops {
^
make: *** [/home/a/l/out/target/product/p720/obj/SHARED_LIBRARIES/libcamera_client_intermediates/ICameraService.o] Error 1
frameworks/native/libs/gui/Sensor.cpp: In constructor 'android::Sensor::Sensor(const sensor_t*, int)':
frameworks/native/libs/gui/Sensor.cpp:236:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mFlags != hwSensor->flags) {
^
#
# configuration written to .config
#
make[1]: Leaving directory `/home/a/l/kernel/lge/oomap4-common'
#### make failed to build some targets (01:34 (mm:ss)) ####
Ok, now work on device tree. Fault is with camera service, so check your include, kernel-headers, and camera folder. Again diff with mine and l9. Also in kernel plat-omap/android_display.c compare it with l9. Understand that my kernel im trying to build for 512mb device, so vram and some other carvouts you would have to use l9 carveouts to bring up display, like android_display.c for example. For now, fix device tree to get complete rom to compile, then we can trace error from the dmesg. You doing good so far, good luck.:thumbup:
Sent from my LG-D620 using XDA Free mobile app

Oneplus 3 Android N build error

Hi,
Can anyone help me?
ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists
ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists
including ./vendor/qcom/opensource/Android.mk ...
build/core/Makefile:54: Duplicate header copy: out/target/product/oneplus3/obj/include/qcom/display/copybit.h
build/core/Makefile:54: Defined in: hardware/qcom/display/msm8996/libcopybit/../common.mk hardware/qcom/display/msm8996/libcopybit/../common.mk
build/core/Makefile:54: Duplicate header copy: out/target/product/oneplus3/obj/include/qcom/display/copybit_priv.h
build/core/Makefile:54: Defined in: hardware/qcom/display/msm8996/libcopybit/../common.mk hardware/qcom/display/msm8996/libcopybit/../common.mk
build/core/Makefile:54: Duplicate header copy: out/target/product/oneplus3/obj/include/qcom/display/c2d2.h
build/core/Makefile:54: Defined in: hardware/qcom/display/msm8996/libcopybit/../common.mk hardware/qcom/display/msm8996/libcopybit/../common.mk
No private recovery resources for TARGET_DEVICE oneplus3
build/core/binary.mk:665: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:665: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:669: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:669: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/oneplus3/system/lib/hw/camera.msm8996.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/oneplus3/system/lib/hw/camera.msm8996.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/oneplus3/system/lib/libmmcamera_interface.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/oneplus3/system/lib/libmmcamera_interface.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/oneplus3/system/lib/libmmjpeg_interface.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/oneplus3/system/lib/libmmjpeg_interface.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/oneplus3/system/lib/libmm-qcamera.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/oneplus3/system/lib/libmm-qcamera.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/oneplus3/system/lib/libqomx_core.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/oneplus3/system/lib/libqomx_core.so'
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'out/target/product/oneplus3/obj/STATIC_LIBRARIES/librecovery_ui_msm_intermediates/export_includes', needed by 'out/target/product/oneplus3/obj/EXECUTABLES/recovery_intermediates/import_includes', missing and no known rule to make it
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (32 seconds) ####
[email protected]:~/WORKING_DIRECTORY$
I also have this error.

Error while Compiling AOSP Android Rom for Nougat

PRODUCT_COPY_FILES vendor/InFocus/G42/usr/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/InFocus/G42/configs/mtk-kpd.kl:system/usr/keylayout/mtk-kpd.kl ignored.
PRODUCT_COPY_FILES device/InFocus/G42/configs/ACCDET.kl:system/usr/keylayout/ACCDET.kl ignored.
PRODUCT_COPY_FILES device/InFocus/G42/configs/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/InFocus/G42/configs/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/InFocus/G42/configs/agps_profiles_conf2.xml:system/etc/agps_profiles_conf2.xml ignored.
No private recovery resources for TARGET_DEVICE G42
build/core/binary.mk:664: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:664: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'
build/core/binary.mk:668: warning: overriding commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/binary.mk:668: warning: ignoring old commands for target `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libcurl.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libcurl.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libion.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libion.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libm.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libm.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libnetutils.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libnetutils.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib/libui.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib/libui.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libcurl.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libcurl.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libion.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libion.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libnetutils.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libnetutils.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/lib64/libui.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/lib64/libui.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/bin/vold'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/bin/vold'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libmockdrmcryptoplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib/mediadrm/libmockdrmcryptoplugin.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libdrmclearkeyplugin.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libmockdrmcryptoplugin.so'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/vendor/lib64/mediadrm/libmockdrmcryptoplugin.so'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/system/etc/bluetooth/bt_did.conf'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/system/etc/bluetooth/bt_did.conf'
build/core/Makefile:34: warning: overriding commands for target `out/target/product/G42/root/init.rc'
build/core/base_rules.mk:316: warning: ignoring old commands for target `out/target/product/G42/root/init.rc'
I am getting this error while compiling aosp 7.0 rom
I am using JDK 1.8.0, using Ubuntu 16.10
Please help
Thanks in advance
This is not errors, just warnings in the beginning of building. After these lines your compilation stops?
blinoff82 said:
This is not errors, just warnings in the beginning of building. After these lines your compilation stops?
Click to expand...
Click to collapse
Tell me how to remove this warning, because these warning are stopping files of my device to me copied.
Mohd.faraz.abc said:
Tell me how to remove this warning, because these warning are stopping files of my device to me copied.
Click to expand...
Click to collapse
I don't understand your answer. What do you mean "stopping files"?
Sent from my OnePlus One using XDA Labs
Mohd.faraz.abc said:
Tell me how to remove this warning, because these warning are stopping files of my device to me copied.
Click to expand...
Click to collapse
Can u tell me what these commands or errors meant

Categories

Resources