[Q] Need help porting cyanogenmod to Zenfone 2 - Android Q&A, Help & Troubleshooting

Hi All. Not sure if custom ROM questions are allowed but anyway I’m trying to port cyanogen to my device and have run into a snag . I'm still pretty new to android development so any help will be greatly appreciated. When trying to build the Recovery .img I get the error at the bottom, porting CM11 I'm pretty sure the recovery.fstab is set up fine not sure about the BoardConfig.mk still messing around with that. Thanks in advance log when running "make recoveryimage" below
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20150704-UNOFFICIAL-Z00A
TARGET_PRODUCT=cm_Z00A
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
HOST_ARCH=x86
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=KTU84Q
OUT_DIR=/home/callum/cm11/out
============================================
/home/callum/cm11/out/target/product/Z00A/obj/APPS/SignatureTest_intermediates
"ebtables is disabled on this build"
find: `src': No such file or directory
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
find: `bootable/recovery/res-720': No such file or directory
No private recovery resources for TARGET_DEVICE Z00A
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file *
build/core/tasks/kernel.mk:95: **********************************************************
build/core/tasks/kernel.mk:212: warning: overriding commands for target `/home/callum/cm11/out/target/product/Z00A/kernel'
build/core/Makefile:44: warning: ignoring old commands for target `/home/callum/cm11/out/target/product/Z00A/kernel'
target thumb C: mount.exfat_static <= external/exfat/main.c
target StaticExecutable: mount.exfat_static (/home/callum/cm11/out/target/product/Z00A/obj/RECOVERY_EXECUTABLES/mount.exfat_static_intermediates/LINKED/mount.exfat)
target Symbolic: mount.exfat_static (/home/callum/cm11/out/target/product/Z00A/symbols/recovery/root/sbin/mount.exfat)
target Strip: mount.exfat_static (/home/callum/cm11/out/target/product/Z00A/obj/RECOVERY_EXECUTABLES/mount.exfat_static_intermediates/mount.exfat)
Install: /home/callum/cm11/out/target/product/Z00A/recovery/root/sbin/mount.exfat
target thumb C: recovery <= bootable/recovery/recovery.c
target thumb C: recovery <= bootable/recovery/bootloader.c
target thumb C: recovery <= bootable/recovery/install.c
target thumb C: recovery <= bootable/recovery/roots.c
target thumb C: recovery <= bootable/recovery/ui.c
target thumb C: recovery <= bootable/recovery/mounts.c
target thumb C: recovery <= bootable/recovery/extendedcommands.c
bootable/recovery/extendedcommands.c: In function 'show_partition_menu':
bootable/recovery/extendedcommands.c:963:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
bootable/recovery/extendedcommands.c:968:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
target thumb C: recovery <= bootable/recovery/nandroid.c
target thumb C: recovery <= bootable/recovery/nandroid_md5.c
target thumb C: recovery <= bootable/recovery/reboot.c
target thumb C: recovery <= bootable/recovery/../../system/core/toolbox/dynarray.c
target thumb C: recovery <= bootable/recovery/../../system/core/toolbox/newfs_msdos.c
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:238:0: warning: "powerof2" redefined [enabled by default]
In file included from bootable/recovery/../../system/core/toolbox/newfs_msdos.c:33:0:
bionic/libc/include/sys/param.h:40:0: note: this is the location of the previous definition
bootable/recovery/../../system/core/toolbox/newfs_msdos.c: In function 'newfs_msdos_main':
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:370:6: warning: null argument where non-null required (argument 2) [-Wnonnull]
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:503:3: warning: null argument where non-null required (argument 2) [-Wnonnull]
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:621:6: warning: null argument where non-null required (argument 2) [-Wnonnull]
target thumb C: recovery <= bootable/recovery/firmware.c
target thumb C: recovery <= bootable/recovery/edifyscripting.c
target thumb C: recovery <= bootable/recovery/prop.c
target thumb C: recovery <= bootable/recovery/adb_install.c
target thumb C: recovery <= bootable/recovery/verifier.c
target thumb C: recovery <= bootable/recovery/../../system/vold/vdc.c
target thumb C: recovery <= bootable/recovery/propsrvc/legacy_property_service.c
target thumb C: recovery <= bootable/recovery/default_recovery_keys.c
target thumb C: recovery <= bootable/recovery/default_recovery_ui.c
target StaticExecutable: recovery (/home/callum/cm11/out/target/product/Z00A/obj/EXECUTABLES/recovery_intermediates/LINKED/recovery)
target Symbolic: recovery (/home/callum/cm11/out/target/product/Z00A/symbols/system/bin/recovery)
target Strip: recovery (/home/callum/cm11/out/target/product/Z00A/obj/EXECUTABLES/recovery_intermediates/recovery)
----- Making recovery filesystem ------
Copying baseline ramdisk...
Modifying ramdisk contents...
cp: cannot stat ‘/home/callum/cm11/out/target/product/Z00A/root/init.recovery.*.rc’: No such file or directory
make: [/home/callum/cm11/out/target/product/Z00A/recovery/root.ts] Error 1 (ignored)
mkdir -p /home/callum/cm11/out/target/product/Z00A/recovery/root/system/bin
if test -d bootable/recovery/res-720; then cp -rf bootable/recovery/res-720/* /home/callum/cm11/out/target/product/Z00A/recovery/root/res; fi
Modifying default.prop
sed -i 's/ro.build.date.utc=.*/ro.build.date.utc=0/g' /home/callum/cm11/out/target/product/Z00A/recovery/root/default.prop
sed -i 's/ro.adb.secure=1//g' /home/callum/cm11/out/target/product/Z00A/recovery/root/default.prop
----- Made recovery filesystem --------/home/callum/cm11/out/target/product/Z00A/recovery/root
----- Making uncompressed recovery ramdisk ------
/home/callum/cm11/out/host/linux-x86/bin/mkbootfs /home/callum/cm11/out/target/product/Z00A/recovery/root > /home/callum/cm11/out/target/product/Z00A/ramdisk-recovery.cpio
----- Making recovery ramdisk ------
/home/callum/cm11/out/host/linux-x86/bin/minigzip < /home/callum/cm11/out/target/product/Z00A/ramdisk-recovery.cpio > /home/callum/cm11/out/target/product/Z00A/ramdisk-recovery.img
----- Making recovery image ------
usage: mkbootimg
--kernel <filename>
--ramdisk <filename>
[ --second <2ndbootloader-filename> ]
[ --cmdline <kernel-commandline> ]
[ --board <boardname> ]
[ --base <address> ]
[ --pagesize <pagesize> ]
[ --ramdisk_offset <address> ]
[ --dt <filename> ]
-o|--output <filename>
make: *** [/home/callum/cm11/out/target/product/Z00A/recovery.img] Error
Click to expand...
Click to collapse

Related

Build Issue

Hey guys...
i'm compilin cyanmobile and gettin the following error.. does anybody know how to solve it ..
Code:
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/XMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLElementFactory.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/V8HTMLElementWrapperFactory.cpp
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/html/HTMLEntityNames.c
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/platform/ColorData.c
target StaticLib: libwebcore (/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a)
[COLOR="Red"][B]make: execvp: /bin/bash: Argument list too long[/B]
[B]make: *** [/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 127
[/B][/COLOR]
wilfredcool007 said:
Hey guys...
i'm compilin cyanmobile and gettin the following error.. does anybody know how to solve it ..
Code:
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/XMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLElementFactory.cpp
target thumb C++: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/V8HTMLElementWrapperFactory.cpp
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/html/HTMLEntityNames.c
target thumb C: libwebcore <= /media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/platform/ColorData.c
target StaticLib: libwebcore (/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a)
[COLOR="Red"][B]make: execvp: /bin/bash: Argument list too long[/B]
[B]make: *** [/media/Backup/Android/Sources/Cyanmobile/android/system/out/target/product/beni/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 127
[/B][/COLOR]
Click to expand...
Click to collapse
just in case someone else faces this error
the path to source is too long..

Building Android 4.3 PAC-Man ROM for Unsupported Device

Hello there guys, i've recently installed ubuntu, and followed this guide along with some debugging and help from others to reach a certain point in getting a successful build. I am however stuck with the following:
Code:
host C++: libLLVMCore <= external/llvm/lib/IR/TypeFinder.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Use.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/User.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Value.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueSymbolTable.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/ValueTypes.cpp
host C++: libLLVMCore <= external/llvm/lib/IR/Verifier.cpp
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/zoneinfo/tzdata
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/property_contexts
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/root/seapp_contexts
target thumb C: libmake_ext4fs <= bootable/recovery/utilities/../../../system/extras/ext4_utils/make_ext4fs_main.c
Target buildinfo: /home/zohaib/rom/android/system/out/target/product/pyramid/system/build.prop
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/monkey)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFspeed_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/usr/share/bmd/RFFstd_501.bmd)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/bmgr)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/ime)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/input)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/pm)
target Prebuilt: (/home/zohaib/rom/android/system/out/target/product/pyramid/system/bin/svc)
target Prebuilt: system_etcdir (/home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/hosts)
target Export Resources: framework-res (/home/zohaib/rom/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
Install: /home/zohaib/rom/android/system/out/host/linux-x86/framework/doclava.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jar
target Static Jar: android-support-v4-eclair (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/javalib.jar)
target Java: guava (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/classes)
nothing matches overlay file default_wallpaper.jpg, for flavor ,,,,sw720dp,,,,,,,,,nodpi,,,,,,,
target StaticLib: libLLVMLinker (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMLinker_intermediates/libLLVMLinker.a)
target StaticLib: libLLVMipo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipo_intermediates/libLLVMipo.a)
target StaticLib: libLLVMBitWriter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitWriter_intermediates/libLLVMBitWriter.a)
target StaticLib: libLLVMBitReader (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_intermediates/libLLVMBitReader.a)
target StaticLib: libLLVMARMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMCodeGen_intermediates/libLLVMARMCodeGen.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMARMAsmParser (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmParser_intermediates/libLLVMARMAsmParser.a)
target StaticLib: libLLVMARMAsmPrinter (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMAsmPrinter_intermediates/libLLVMARMAsmPrinter.a)
target StaticLib: libLLVMARMInfo (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMInfo_intermediates/libLLVMARMInfo.a)
target StaticLib: libLLVMARMDesc (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDesc_intermediates/libLLVMARMDesc.a)
target StaticLib: libLLVMARMDisassembler (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMARMDisassembler_intermediates/libLLVMARMDisassembler.a)
target StaticLib: libLLVMSelectionDAG (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMSelectionDAG_intermediates/libLLVMSelectionDAG.a)
target StaticLib: libLLVMCodeGen (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCodeGen_intermediates/libLLVMCodeGen.a)
target StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
target StaticLib: libLLVMScalarOpts (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMScalarOpts_intermediates/libLLVMScalarOpts.a)
target StaticLib: libLLVMInstCombine (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstCombine_intermediates/libLLVMInstCombine.a)
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
target StaticLib: libLLVMInstrumentation (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMInstrumentation_intermediates/libLLVMInstrumentation.a)
target StaticLib: libLLVMTransformObjCARC (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformObjCARC_intermediates/libLLVMTransformObjCARC.a)
target StaticLib: libLLVMTransformUtils (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMTransformUtils_intermediates/libLLVMTransformUtils.a)
target StaticLib: libLLVMipa (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMipa_intermediates/libLLVMipa.a)
target StaticLib: libLLVMAnalysis (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMAnalysis_intermediates/libLLVMAnalysis.a)
target StaticLib: libLLVMCore (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMCore_intermediates/libLLVMCore.a)
target StaticLib: libLLVMVectorize (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMVectorize_intermediates/libLLVMVectorize.a)
target StaticLib: libLLVMWrap (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMWrap_intermediates/libLLVMWrap.a)
target StaticLib: libLLVMBitReader_2_7 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_2_7_intermediates/libLLVMBitReader_2_7.a)
target StaticLib: libLLVMBitReader_3_0 (/home/zohaib/rom/android/system/out/target/product/pyramid/obj/STATIC_LIBRARIES/libLLVMBitReader_3_0_intermediates/libLLVMBitReader_3_0.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/egl/egl.cfg
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libz.so
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/lib/libexpat.so
host StaticLib: libLLVMObject (/home/zohaib/rom/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMObject_intermediates/libLLVMObject.a)
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_stack.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/bt_did.conf
Install: /home/zohaib/rom/android/system/out/target/product/pyramid/system/etc/bluetooth/auto_pair_devlist.conf
target Java: android-support-v13-ics-mr1 (/home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v13-ics-mr1_intermediates/classes)
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-common-chips_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/colorpicker_intermediates/classes-jarjar.jar
Copying: /home/zohaib/rom/android/system/out/target/common/obj/JAVA_LIBRARIES/android-opt-timezonepicker_intermediates/classes-jarjar.jar
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ExtendedCodec.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/ThrottledSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimeSource.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/TimedEventQueue.cpp
target thumb C++: libstagefright <= frameworks/av/media/libstagefright/Utils.cpp
frameworks/av/media/libstagefright/ExtendedCodec.cpp: In static member function 'static void android::ExtendedCodec::enableSmoothStreaming(const android::sp<android::IOMX>&, android::IOMX::node_id, bool*, const char*)':
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
make: *** [/home/zohaib/rom/android/system/out/target/product/pyramid/obj/SHARED_LIBRARIES/libstagefright_intermediates/ExtendedCodec.o] Error 1
make: *** Waiting for unfinished jobs....
/home/zohaib/rom/android/system/out/target/product/pyramid/pac_pyramid-ota-eng.root.zip doesn't exist!
Total time elapsed: 29 minutes 33 seconds
[email protected]:~/rom/android/system#
I can see the error:
frameworks/av/media/libstagefright/ExtendedCodec.cpp:368:27: error: expected primary-expression before ')' token
But i dont know how to fix it, any help is appreciated
FYI im a total noob in terms of building and ubuntu, first time doing it
I am pretty sure the source was just broken, just update your sources and recompile

[Q] Compiling the PacMan ROM

Hey folks, I have a little problem over here,
Well ok so I tried to go ahead and compile the rom first I downloaded the source from git using the repo
That went fine but then I tried to compile it and I think at the very end of the compilation it showed a error
I've tried to compile before which took a hour so and cache is enabled so don't look weird why it took now only 7 minutes
Log:
Code:
DevDistro PACMAN # ./build-pac.sh jfltexx
Building P A C v4.3.Build-1
Looking for PAC product dependencies
Check for CyanogenMod/android_device_samsung_jfltexx in local_manifest
CyanogenMod/android_device_samsung_jfltexx already in local_manifest
Check for CyanogenMod/android_device_samsung_qcom-common in local_manifest
CyanogenMod/android_device_samsung_qcom-common already in local_manifest
Check for CyanogenMod/android_device_samsung_msm8960-common in local_manifest
CyanogenMod/android_device_samsung_msm8960-common already in local_manifest
Check for CyanogenMod/android_device_samsung_jf-common in local_manifest
CyanogenMod/android_device_samsung_jf-common already in local_manifest
Check for CyanogenMod/android_hardware_samsung in local_manifest
CyanogenMod/android_hardware_samsung already in local_manifest
Check for CyanogenMod/android_kernel_samsung_jf in local_manifest
CyanogenMod/android_kernel_samsung_jf already in local_manifest
Check for TheMuppets/proprietary_vendor_samsung in local_manifest
TheMuppets/proprietary_vendor_samsung already in local_manifest
Setting up environment
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including device/samsung/jfltexx/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including vendor/pac/vendorsetup.sh
including vendor/pa/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
Lunching device
Looking for dependencies
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20131008-UNOFFICIAL-jfltexx
TARGET_PRODUCT=pac_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=/root/PACMAN/out
============================================
Starting compilation
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3
CM_VERSION=10.2-20131008-UNOFFICIAL-jfltexx
TARGET_PRODUCT=pac_jfltexx
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya
HOST_BUILD_TYPE=release
BUILD_ID=JLS36G
OUT_DIR=/root/PACMAN/out
============================================
build/core/copy_headers.mk:15: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libril.so'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/bin/rild'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/lib/libsecril-client.so'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_045e_Product_028e.kl:system/usr/keylayout/Vendor_045e_Product_028e.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c216.kl:system/usr/keylayout/Vendor_046d_Product_c216.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c294.kl:system/usr/keylayout/Vendor_046d_Product_c294.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c299.kl:system/usr/keylayout/Vendor_046d_Product_c299.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_046d_Product_c532.kl:system/usr/keylayout/Vendor_046d_Product_c532.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_054c_Product_0268.kl:system/usr/keylayout/Vendor_054c_Product_0268.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_05ac_Product_0239.kl:system/usr/keylayout/Vendor_05ac_Product_0239.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keylayout/Vendor_22b8_Product_093d.kl:system/usr/keylayout/Vendor_22b8_Product_093d.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Generic.kcm:system/usr/keychars/Generic.kcm ignored.
PRODUCT_COPY_FILES device/samsung/msm8960-common/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm ignored.
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/bin/backuptool.sh:system/bin/backuptool.sh ignored.
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/bin/backuptool.functions:system/bin/backuptool.functions ignored.
build/core/Makefile:44: warning: overriding commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/root/PACMAN/out/target/product/jfltexx/system/etc/mkshrc'
PRODUCT_COPY_FILES vendor/cm/config/permissions/com.tmobile.software.themes.xml:system/etc/permissions/com.tmobile.software.themes.xml ignored.
PRODUCT_COPY_FILES vendor/cm/prebuilt/common/bootanimation/1080.zip:system/media/bootanimation.zip ignored.
No private recovery resources for TARGET_DEVICE jfltexx
make -C kernel/samsung/jf O=/root/PACMAN/out/target/product/jfltexx/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/root/PACMAN/prebuilts/misc/linux-x86/ccache/ccache /root/PACMAN/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG=cyanogen_jf_defconfig SELINUX_DEFCONFIG=jfselinux_defconfig jf_eur_defconfig
make[1]: Entering directory `/root/PACMAN/kernel/samsung/jf'
host Executable: mkbootimg (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
host Executable: acp (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host Executable: clang-tblgen (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/clang-tblgen)
host Executable: tblgen (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
preparing StaticLib: libc_common [including /root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libc_bionic_intermediates/libc_bionic.a]
preparing StaticLib: libc_common [including /root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libc_freebsd_intermediates/libc_freebsd.a]
GEN /root/PACMAN/out/target/product/jfltexx/obj/KERNEL_OBJ/Makefile
preparing StaticLib: libc_common [including /root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
host Executable: checkpolicy (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/checkpolicy)
host Executable: checkfc (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/checkfc_intermediates/checkfc)
target StaticLib: libfs_mgr (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libfs_mgr_intermediates/libfs_mgr.a)
target StaticLib: liblogwrap (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/liblogwrap_intermediates/liblogwrap.a)
host Executable: minigzip (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip)
target StaticLib: libext2fs (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a)
target StaticLib: libext2_blkid (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/libext2_blkid.a)
target StaticLib: libext2_profile (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libext2_profile_intermediates/libext2_profile.a)
target StaticLib: libfuse (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libfuse_intermediates/libfuse.a)
target thumb C: libmake_ext4fs <= bootable/recovery/utilities/../../../system/extras/ext4_utils/make_ext4fs_main.c
target StaticLib: libedify (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libedify_intermediates/libedify.a)
Target buildinfo: /root/PACMAN/out/target/product/jfltexx/system/build.prop
KCONFIG_SELINUX(arch/arm/configs/jfselinux_defconfig)
arch/arm/configs/jfselinux_defconfig:9:warning: symbol value 'y' invalid for SECURITY_SELINUX_CHECKREQPROT_VALUE
KCONFIG_LOG_SELINUX((null))
KCONFIG_VARIANT(arch/arm/configs/cyanogen_jf_defconfig)
arch/arm/configs/cyanogen_jf_defconfig:647:warning: override: reassigning to symbol RFKILL
arch/arm/configs/cyanogen_jf_defconfig:655:warning: override: reassigning to symbol GENLOCK
arch/arm/configs/cyanogen_jf_defconfig:656:warning: override: reassigning to symbol GENLOCK_MISCDEVICE
arch/arm/configs/cyanogen_jf_defconfig:657:warning: override: reassigning to symbol BLK_DEV_LOOP
arch/arm/configs/cyanogen_jf_defconfig:722:warning: override: reassigning to symbol SCHED_MC
KCONFIG_DEBUG((null))
warning: (ARCH_MSM7X27 && ARCH_MSM8960 && ARCH_MSM8930 && ARCH_MSM8974) selects DONT_MAP_HOLE_AFTER_MEMBANK0 which has unmet direct dependencies (SPARSEMEM)
#
# configuration written to .config
#
make[1]: Leaving directory `/root/PACMAN/kernel/samsung/jf'
host Executable: aapt (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
host Executable: zipalign (/root/PACMAN/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/zipalign)
target Generated: libRS <= frameworks/rs/rsgApiStructs.h.rsg
target Generated: libRS <= frameworks/rs/rsgApiFuncDecl.h.rsg
target Generated: libRS <= frameworks/rs/rsgApi.cpp.rsg
target Generated: libRS <= frameworks/rs/rsgApiReplay.cpp.rsg
target thumb C++: libRScpp <= frameworks/rs/cpp/RenderScript.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/BaseObj.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/Element.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/Type.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/Allocation.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/Script.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/ScriptC.cpp
target thumb C++: libRScpp <= frameworks/rs/cpp/ScriptIntrinsics.cpp
target StaticLib: libvpx (/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libvpx_intermediates/libvpx.a)
target arm C++: libhugin <= /root/PACMAN/external/Focal/hugin/panodata/Panorama.cpp
target arm C++: libhugin <= /root/PACMAN/external/Focal/hugin/nona/Stitcher.cpp
target arm C++: libhugin <= /root/PACMAN/external/Focal/hugin/nona/Stitcher1.cpp
target arm C++: libhugin <= /root/PACMAN/external/Focal/hugin/nona/Stitcher2.cpp
make: *** [/root/PACMAN/out/target/product/jfltexx/obj/STATIC_LIBRARIES/libhugin_intermediates/panodata/Panorama.o] Killed
./build-pac.sh: line 121: 14297 Killed make -j"$opt_jobs" bacon
/root/PACMAN/out/target/product/jfltexx/pac_jfltexx-ota-eng.root.zip doesn't exist!
Total time elapsed: 7 minutes 35 seconds
DevDistro PACMAN #
Seems build-pac.sh error. Try to redownload all your repos..
The build process is getting killed so you could be running out of RAM. Are you building in a VM? I recommend having, at the very minimum, 4GB of RAM.
chenxiaolong said:
The build process is getting killed so you could be running out of RAM. Are you building in a VM? I recommend having, at the very minimum, 4GB of RAM.
Click to expand...
Click to collapse
Thanks for the help, appearently it needed alot more then just 2gb ram and 1gb swap
When I putted it at 5GB ram and 1GB swap at some points in the compilation it went to 4Gb usage
Thanks :victory:

Error compiling Android 4.4

Hello,
I try to compile Android 4.4 on Ubuntu 13.04. But i get a some "unexpected EOF" errors.
Code:
including ./system/security/softkeymaster/Android.mk ...
including ./system/vold/Android.mk ...
including ./tools/external/fat32lib/Android.mk ...
target SharedLib: libandroid (out/target/product/generic/obj/SHARED_LIBRARIES/libandroid_intermediates/LINKED/libandroid.so)
target SharedLib: libwilhelm (out/target/product/generic/obj/SHARED_LIBRARIES/libwilhelm_intermediates/LINKED/libwilhelm.so)
Install: out/target/product/generic/system/lib/libstagefright.so
target SharedLib: libjnigraphics (out/target/product/generic/obj/SHARED_LIBRARIES/libjnigraphics_intermediates/LINKED/libjnigraphics.so)
target Strip: libbcc.sha1 (out/target/product/generic/obj/lib/libbcc.sha1.so)
target SharedLib: libwebviewchromium_plat_support (out/target/product/generic/obj/SHARED_LIBRARIES/libwebviewchromium_plat_support_intermediates/LINKED/libwebviewchromium_plat_support.so)
target SharedLib: libbluetooth_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so)
Copying: out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean-mr1_intermediates/classes.jar
Proguard: out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar
target Symbolic: libjni_pacprocessor (out/target/product/generic/symbols/system/lib/libjni_pacprocessor.so)
Proguard: out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar
target Symbolic: libttscompat (out/target/product/generic/symbols/system/lib/libttscompat.so)
Proguard: out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar
target Symbolic: app_process (out/target/product/generic/symbols/system/bin/app_process)
target Symbolic: app_process__asan (out/target/product/generic/symbols/system/bin/asan/app_process)
target Executable: dex2oat (out/target/product/generic/obj/EXECUTABLES/dex2oat_intermediates/LINKED/dex2oat)
target Symbolic: libstagefright_httplive (out/target/product/generic/symbols/system/lib/libstagefright_httplive.so)
target Symbolic: libstagefright_wfd (out/target/product/generic/symbols/system/lib/libstagefright_wfd.so)
target Symbolic: screenrecord (out/target/product/generic/symbols/system/bin/screenrecord)
target Symbolic: camera.goldfish.jpeg (out/target/product/generic/symbols/system/lib/hw/camera.goldfish.jpeg.so)
target Symbolic: libFFTEm (out/target/product/generic/symbols/system/lib/libFFTEm.so)
ProGuard, version 4.10
ProGuard, version 4.10
ProGuard, version 4.10
target Strip: libRSDriver (out/target/product/generic/obj/lib/libRSDriver.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/Music_intermediates/classes.jar]
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/QuickSearchBox_intermediates/classes.jar]
target Symbolic: libandroid_servers (out/target/product/generic/symbols/system/lib/libandroid_servers.so)
Reading program jar [/home/manner/Documents/android/out/target/common/obj/APPS/PhotoTable_intermediates/classes.jar]
target Symbolic: libaudioeffect_jni (out/target/product/generic/symbols/system/lib/libaudioeffect_jni.so)
target Symbolic: libdrmframework_jni (out/target/product/generic/symbols/system/lib/libdrmframework_jni.so)
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
target SharedLib: libmedia_jni (out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/LINKED/libmedia_jni.so)
target SharedLib: librs_jni (out/target/product/generic/obj/SHARED_LIBRARIES/librs_jni_intermediates/LINKED/librs_jni.so)
target SharedLib: libsoundpool (out/target/product/generic/obj/SHARED_LIBRARIES/libsoundpool_intermediates/LINKED/libsoundpool.so)
target SharedLib: libstagefright_chromium_http (out/target/product/generic/obj/SHARED_LIBRARIES/libstagefright_chromium_http_intermediates/LINKED/libstagefright_chromium_http.so)
Install: out/target/product/generic/system/lib/libstagefright_soft_aacdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_aacenc.so
Reading library jar [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar]
Install: out/target/product/generic/system/lib/libstagefright_soft_amrdec.so
Install: out/target/product/generic/system/lib/libstagefright_soft_amrnbenc.so
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/Music_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/PhotoTable_intermediates/proguard.classes.jar] Error 1
Error: Can't read [/home/manner/Documents/android/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] (unexpected EOF)
make: *** [out/target/common/obj/APPS/QuickSearchBox_intermediates/proguard.classes.jar] Error 1
Do you know any solutions?
Thanks
try "rm -Rf out/target/common/obj/APPS" and then rebuild
Hey guys, I have a problem with android app. while I wanna compile it, an error occurs!
its like :
--------------------------------------...
[2011-04-20 21:52:27 - KDV] Android Launch!
[2011-04-20 21:52:27 - KDV] adb is running normally.
[2011-04-20 21:52:27 - KDV] Could not find KDV.apk!
--------------------------------------...
Can you help me?
where is the error, and what does it mean?
also in directory "bin/" there is no .apk file, why?
I'm using :
- Ubuntu 10.10 - Maverick Meerkat
- Eclips Version: 3.5.2
- Android 1.6 (API Level-4)
rebuild android 4.4 error
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'void android::adapter_state_change_callback(bt_state_t)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:95:8: warning: too many arguments for format [-Wformat-extra-args]
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp: In function 'jboolean android::getRemoteMasInstancesNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_AdapterService.cpp:1036:54: warning: passing NULL to non-pointer argument 3 of 'void _JNIEnv::ReleaseByteArrayElements(jbyteArray, jbyte*, jint)' [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_btservice_QAdapterService.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hfpclient.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_a2dp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_avrcp.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp: In function 'jboolean android::getProtocolModeNative(JNIEnv*, jobject, jbyteArray)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hid.cpp:323:5: warning: 'protocolMode' may be used uninitialized in this function [-Wuninitialized]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hidd.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp: In function 'jint android::registerHealthAppNative(JNIEnv*, jobject, jint, jint, jstring, jint)':
packages/apps/Bluetooth/jni/com_android_bluetooth_hdp.cpp:198:41: warning: converting to non-pointer type 'int' from NULL [-Wconversion-null]
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_pan.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/com_android_bluetooth_gatt.cpp
target thumb C++: libbluetooth_jni <= packages/apps/Bluetooth/jni/android_hardware_wipower.cpp
packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:48:0: warning: "ALOGV" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/base/include/android_runtime/AndroidRuntime.h:23,
from packages/apps/Bluetooth/jni/android_hardware_wipower.cpp:33:
system/core/include/log/log.h:78:0: note: this is the location of the previous definition
make: *** No rule to make target `/root/cm/out/target/product/mione_plus/obj/lib/libandroid_runtime.so', needed by `/root/cm/out/target/product/mione_plus/obj/SHARED_LIBRARIES/libbluetooth_jni_intermediates/LINKED/libbluetooth_jni.so'. Stop.
hei somebody help me fix this bugs...
i have rebuild again again....

[Help] Problems with "make -j4 otatools"

Hello, I've been trying to make a CWM for my unsupported device however after repo sync, when I use "make -j4 otatools" I think something went wrong because then I try "build/tools/device/mkvendor.sh Samsung ivoryss ~boot.img" a message says: "unpackbootimg not found. Is your android build environment set up and have the host tools been built?" What I'm doing wrong. Also previously something like I was using an incorrect SDK version appeared however it only happened once.
Here is a copy & paste of what usually appears when i try "make -j4 otatools":
Code:
[email protected]:~/android/system$ make -j4 otatools============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/luis/android/system/out
============================================
/home/luis/android/system/out/target/product/generic/obj/APPS/SignatureTest_intermediates
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
find: `graphics/java': No such file or directory
find: `location/java': No such file or directory
find: `media/java': No such file or directory
find: `media/mca/effect/java': No such file or directory
find: `media/mca/filterfw/java': No such file or directory
find: `media/mca/filterpacks/java': No such file or directory
find: `drm/java': No such file or directory
find: `opengl/java': No such file or directory
find: `sax/java': No such file or directory
find: `telephony/java': No such file or directory
find: `wifi/java': No such file or directory
find: `keystore/java': No such file or directory
find: `graphics/java': No such file or directory
find: `location/java': No such file or directory
find: `media/java': No such file or directory
find: `media/mca/effect/java': No such file or directory
find: `media/mca/filterfw/java': No such file or directory
find: `media/mca/filterpacks/java': No such file or directory
find: `drm/java': No such file or directory
find: `opengl/java': No such file or directory
find: `sax/java': No such file or directory
find: `telephony/java': No such file or directory
find: `wifi/java': No such file or directory
find: `keystore/java': No such file or directory
find: `test-runner/src': No such file or directory
find: `test-runner/src': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
grep: /build/target/board/generic/recovery.fstab: No such file or directory
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file *
build/core/tasks/kernel.mk:95: **********************************************************
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libz (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
host StaticLib: libhost (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host C: adb <= system/core/adb/adb.c
host C: adb <= system/core/adb/console.c
host C: adb <= system/core/adb/transport.c
host C: adb <= system/core/adb/transport_local.c
host C: adb <= system/core/adb/transport_usb.c
host C: adb <= system/core/adb/commandline.c
host C: adb <= system/core/adb/adb_client.c
host C: adb <= system/core/adb/adb_auth_host.c
host C: adb <= system/core/adb/sockets.c
host C: adb <= system/core/adb/services.c
host C: adb <= system/core/adb/file_sync_client.c
host C: adb <= system/core/adb/get_my_path_linux.c
host C: adb <= system/core/adb/usb_linux.c
host C: adb <= system/core/adb/usb_vendors.c
host C: adb <= system/core/adb/fdevent.c
host C: libzipfile <= system/core/libzipfile/centraldir.c
host C: libzipfile <= system/core/libzipfile/zipfile.c
host StaticLib: libunz (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
host StaticLib: libcrypto_static (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/libcrypto_static.a)
host C: libcutils <= system/core/libcutils/atomic.c
host C: libcutils <= system/core/libcutils/hashmap.c
host C: libcutils <= system/core/libcutils/native_handle.c
host C: libcutils <= system/core/libcutils/socket_inaddr_any_server.c
host C: libcutils <= system/core/libcutils/socket_local_client.c
host C: libcutils <= system/core/libcutils/socket_local_server.c
host C: libcutils <= system/core/libcutils/socket_loopback_client.c
host C: libcutils <= system/core/libcutils/socket_loopback_server.c
host C: libcutils <= system/core/libcutils/socket_network_client.c
host C: libcutils <= system/core/libcutils/sockets.c
host C: libcutils <= system/core/libcutils/config_utils.c
host C: libcutils <= system/core/libcutils/cpu_info.c
host C: libcutils <= system/core/libcutils/load_file.c
host C: libcutils <= system/core/libcutils/list.c
host C: libcutils <= system/core/libcutils/open_memstream.c
host C: libcutils <= system/core/libcutils/strdup16to8.c
host C: libcutils <= system/core/libcutils/strdup8to16.c
host C: libcutils <= system/core/libcutils/record_stream.c
host C: libcutils <= system/core/libcutils/process_name.c
host C: libcutils <= system/core/libcutils/threads.c
host C: libcutils <= system/core/libcutils/sched_policy.c
host C: libcutils <= system/core/libcutils/iosched_policy.c
host C: libcutils <= system/core/libcutils/str_parms.c
host C: libcutils <= system/core/libcutils/fs.c
host C: libcutils <= system/core/libcutils/multiuser.c
host C: libcutils <= system/core/libcutils/ashmem-host.c
host C: libcutils <= system/core/libcutils/dlmalloc_stubs.c
host Executable: mkbootfs (/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
system/core/mkbootimg/mkbootimg.c: In function 'write_padding':
system/core/mkbootimg/mkbootimg.c:90:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c: In function 'main':
system/core/mkbootimg/mkbootimg.c:196:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/string.h:84:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
system/core/mkbootimg/mkbootimg.c:253:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
system/core/mkbootimg/mkbootimg.c:266:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:269:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:273:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:278:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host StaticLib: libmincrypt (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
host Executable: unpackbootimg (/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/unpackbootimg_intermediates/unpackbootimg)
host C: fs_config <= build/tools/fs_config/fs_config.c
build/tools/fs_config/fs_config.c: In function 'main':
build/tools/fs_config/fs_config.c:122:7: warning: implicit declaration of function 'strnlen' [-Wimplicit-function-declaration]
host StaticLib: libselinux (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a)
host C: mkyaffs2image <= external/yaffs2/yaffs2/utils/mkyaffs2image.c
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_packedtags2.c
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_ecc.c
In file included from external/yaffs2/yaffs2/yaffs_packedtags2.c:18:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
In file included from external/yaffs2/yaffs2/yaffs_guts.h:23:0,
from external/yaffs2/yaffs2/utils/mkyaffs2image.c:46:
external/yaffs2/yaffs2/devextras.h:210:0: warning: "DT_UNKNOWN" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:101:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:211:0: warning: "DT_FIFO" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:103:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:212:0: warning: "DT_CHR" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:105:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:213:0: warning: "DT_DIR" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:107:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:214:0: warning: "DT_BLK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:109:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:215:0: warning: "DT_REG" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:111:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:216:0: warning: "DT_LNK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:113:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:217:0: warning: "DT_SOCK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:115:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:218:0: warning: "DT_WHT" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:117:0: note: this is the location of the previous definition
In file included from external/yaffs2/yaffs2/utils/mkyaffs2image.c:48:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function 'process_directory':
external/yaffs2/yaffs2/utils/mkyaffs2image.c:381:6: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:381:6: warning: nested extern declaration of 'asprintf' [-Wnested-externs]
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function 'write_object_header':
external/yaffs2/yaffs2/utils/mkyaffs2image.c:203:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:203:19: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:204:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:204:19: warning: array subscript is above array bounds [-Warray-bounds]
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_tagsvalidity.c
make: *** No rule to make target `/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_intermediates/export_includes', needed by `/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
In file included from external/yaffs2/yaffs2/yaffs_tagsvalidity.c:17:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
Also in a part says "grep: /build/target/board/generic/recovery.fstab: No such file or directory" but THERE IS a recovery.fstab specific for my device.
Alonso1398 said:
Hello, I've been trying to make a CWM for my unsupported device however after repo sync, when I use "make -j4 otatools" I think something went wrong because then I try "build/tools/device/mkvendor.sh Samsung ivoryss ~boot.img" a message says: "unpackbootimg not found. Is your android build environment set up and have the host tools been built?" What I'm doing wrong. Also previously something like I was using an incorrect SDK version appeared however it only happened once.
Here is a copy & paste of what usually appears when i try "make -j4 otatools":
Code:
[email protected]:~/android/system$ make -j4 otatools============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.8.0-19-generic-x86_64-with-Ubuntu-13.04-raring
HOST_BUILD_TYPE=release
BUILD_ID=KVT49L
OUT_DIR=/home/luis/android/system/out
============================================
/home/luis/android/system/out/target/product/generic/obj/APPS/SignatureTest_intermediates
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
Makefile:279: /home/luis/android/system/external/busybox/scripts/Kbuild.include: No such file or directory
make: *** No rule to make target `/home/luis/android/system/external/busybox/scripts/Kbuild.include'. Stop.
find: `graphics/java': No such file or directory
find: `location/java': No such file or directory
find: `media/java': No such file or directory
find: `media/mca/effect/java': No such file or directory
find: `media/mca/filterfw/java': No such file or directory
find: `media/mca/filterpacks/java': No such file or directory
find: `drm/java': No such file or directory
find: `opengl/java': No such file or directory
find: `sax/java': No such file or directory
find: `telephony/java': No such file or directory
find: `wifi/java': No such file or directory
find: `keystore/java': No such file or directory
find: `graphics/java': No such file or directory
find: `location/java': No such file or directory
find: `media/java': No such file or directory
find: `media/mca/effect/java': No such file or directory
find: `media/mca/filterfw/java': No such file or directory
find: `media/mca/filterpacks/java': No such file or directory
find: `drm/java': No such file or directory
find: `opengl/java': No such file or directory
find: `sax/java': No such file or directory
find: `telephony/java': No such file or directory
find: `wifi/java': No such file or directory
find: `keystore/java': No such file or directory
find: `test-runner/src': No such file or directory
find: `test-runner/src': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
find: `frameworks/base/docs/html': No such file or directory
grep: /build/target/board/generic/recovery.fstab: No such file or directory
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:91: **********************************************************
build/core/tasks/kernel.mk:92: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:93: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:94: * BoardConfig.mk file *
build/core/tasks/kernel.mk:95: **********************************************************
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libz (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/libz.a)
host StaticLib: libhost (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host C: adb <= system/core/adb/adb.c
host C: adb <= system/core/adb/console.c
host C: adb <= system/core/adb/transport.c
host C: adb <= system/core/adb/transport_local.c
host C: adb <= system/core/adb/transport_usb.c
host C: adb <= system/core/adb/commandline.c
host C: adb <= system/core/adb/adb_client.c
host C: adb <= system/core/adb/adb_auth_host.c
host C: adb <= system/core/adb/sockets.c
host C: adb <= system/core/adb/services.c
host C: adb <= system/core/adb/file_sync_client.c
host C: adb <= system/core/adb/get_my_path_linux.c
host C: adb <= system/core/adb/usb_linux.c
host C: adb <= system/core/adb/usb_vendors.c
host C: adb <= system/core/adb/fdevent.c
host C: libzipfile <= system/core/libzipfile/centraldir.c
host C: libzipfile <= system/core/libzipfile/zipfile.c
host StaticLib: libunz (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libunz_intermediates/libunz.a)
host StaticLib: libcrypto_static (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcrypto_static_intermediates/libcrypto_static.a)
host C: libcutils <= system/core/libcutils/atomic.c
host C: libcutils <= system/core/libcutils/hashmap.c
host C: libcutils <= system/core/libcutils/native_handle.c
host C: libcutils <= system/core/libcutils/socket_inaddr_any_server.c
host C: libcutils <= system/core/libcutils/socket_local_client.c
host C: libcutils <= system/core/libcutils/socket_local_server.c
host C: libcutils <= system/core/libcutils/socket_loopback_client.c
host C: libcutils <= system/core/libcutils/socket_loopback_server.c
host C: libcutils <= system/core/libcutils/socket_network_client.c
host C: libcutils <= system/core/libcutils/sockets.c
host C: libcutils <= system/core/libcutils/config_utils.c
host C: libcutils <= system/core/libcutils/cpu_info.c
host C: libcutils <= system/core/libcutils/load_file.c
host C: libcutils <= system/core/libcutils/list.c
host C: libcutils <= system/core/libcutils/open_memstream.c
host C: libcutils <= system/core/libcutils/strdup16to8.c
host C: libcutils <= system/core/libcutils/strdup8to16.c
host C: libcutils <= system/core/libcutils/record_stream.c
host C: libcutils <= system/core/libcutils/process_name.c
host C: libcutils <= system/core/libcutils/threads.c
host C: libcutils <= system/core/libcutils/sched_policy.c
host C: libcutils <= system/core/libcutils/iosched_policy.c
host C: libcutils <= system/core/libcutils/str_parms.c
host C: libcutils <= system/core/libcutils/fs.c
host C: libcutils <= system/core/libcutils/multiuser.c
host C: libcutils <= system/core/libcutils/ashmem-host.c
host C: libcutils <= system/core/libcutils/dlmalloc_stubs.c
host Executable: mkbootfs (/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
system/core/mkbootimg/mkbootimg.c: In function 'write_padding':
system/core/mkbootimg/mkbootimg.c:90:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c: In function 'main':
system/core/mkbootimg/mkbootimg.c:196:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/string.h:84:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
system/core/mkbootimg/mkbootimg.c:253:9: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
system/core/mkbootimg/mkbootimg.c:266:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:269:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:273:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
system/core/mkbootimg/mkbootimg.c:278:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host StaticLib: libmincrypt (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
host Executable: unpackbootimg (/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/unpackbootimg_intermediates/unpackbootimg)
host C: fs_config <= build/tools/fs_config/fs_config.c
build/tools/fs_config/fs_config.c: In function 'main':
build/tools/fs_config/fs_config.c:122:7: warning: implicit declaration of function 'strnlen' [-Wimplicit-function-declaration]
host StaticLib: libselinux (/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a)
host C: mkyaffs2image <= external/yaffs2/yaffs2/utils/mkyaffs2image.c
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_packedtags2.c
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_ecc.c
In file included from external/yaffs2/yaffs2/yaffs_packedtags2.c:18:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
In file included from external/yaffs2/yaffs2/yaffs_guts.h:23:0,
from external/yaffs2/yaffs2/utils/mkyaffs2image.c:46:
external/yaffs2/yaffs2/devextras.h:210:0: warning: "DT_UNKNOWN" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:101:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:211:0: warning: "DT_FIFO" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:103:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:212:0: warning: "DT_CHR" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:105:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:213:0: warning: "DT_DIR" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:107:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:214:0: warning: "DT_BLK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:109:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:215:0: warning: "DT_REG" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:111:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:216:0: warning: "DT_LNK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:113:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:217:0: warning: "DT_SOCK" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:115:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/devextras.h:218:0: warning: "DT_WHT" redefined [enabled by default]
/home/luis/android/system/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../sysroot/usr/include/dirent.h:117:0: note: this is the location of the previous definition
In file included from external/yaffs2/yaffs2/utils/mkyaffs2image.c:48:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function 'process_directory':
external/yaffs2/yaffs2/utils/mkyaffs2image.c:381:6: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:381:6: warning: nested extern declaration of 'asprintf' [-Wnested-externs]
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function 'write_object_header':
external/yaffs2/yaffs2/utils/mkyaffs2image.c:203:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:203:19: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:204:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:204:19: warning: array subscript is above array bounds [-Warray-bounds]
host C: mkyaffs2image <= external/yaffs2/yaffs2/yaffs_tagsvalidity.c
make: *** No rule to make target `/home/luis/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_intermediates/export_includes', needed by `/home/luis/android/system/out/host/linux-x86/obj/EXECUTABLES/zipalign_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
In file included from external/yaffs2/yaffs2/yaffs_tagsvalidity.c:17:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of 'yaffs_InitialiseTags' [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of 'yaffs_InitialiseTags' was here
Also in a part says "grep: /build/target/board/generic/recovery.fstab: No such file or directory" but THERE IS a recovery.fstab specific for my device.
Click to expand...
Click to collapse
Managed to advance from that part but I'm with another problem editing BoardConfig.mk . How do I know what ais the size from the partitions, it says I should check /proc/mtd but mtd doesn't exists on my device.
Alonso1398 said:
Managed to advance from that part but I'm with another problem editing BoardConfig.mk . How do I know what ais the size from the partitions, it says I should check /proc/mtd but mtd doesn't exists on my device.
Click to expand...
Click to collapse
Try /proc/emmc or /proc/partitions
andynoob said:
Try /proc/emmc or /proc/partitions
Click to expand...
Click to collapse
already solved that but thanks for the help
Hello. How did you pass that first problem?
Edit: OK, it's all about setting the PATH for the tools compiled. They reside (on CM compiling) in system/bin/<PLATFORM>
sir how to solve this error
grep: build/target/board/generic/recovery.fstab: No such file or directory
Quick question, Which JDK did you use?
OpenJDK/Oracle/SUN
I have OpenJDK-8 and it says i need SUN/Oracle to work!?
and if that is so, can you tell me how to install either one?

Categories

Resources