[Help] Problems with "make -j4 otatools" - Android Q&A, Help & Troubleshooting

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?

Related

Compile CM10.1 have been reported errors

Compile CM10.1 have been reported errors
This is the error message
、
HTML:
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_uimirror.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_uevents.cpp
hardware/qcom/display-legacy/libhwcomposer/hwc_uevents.cpp:30:0: warning: "PAGE_SIZE" redefined [enabled by default]
bionic/libc/kernel/arch-arm/asm/page.h:22:0: note: this is the location of the previous definition
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_vsync.cpp
hardware/qcom/display-legacy/libhwcomposer/hwc_vsync.cpp:36:0: warning: "PAGE_SIZE" redefined [enabled by default]
bionic/libc/kernel/arch-arm/asm/page.h:22:0: note: this is the location of the previous definition
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_copybit.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_mdpcomp.cpp
target thumb C++: hwcomposer.msm8660 <= hardware/qcom/display-legacy/libhwcomposer/hwc_extonly.cpp
target thumb C++: libhwcexternal <= hardware/qcom/display-legacy/libhwcomposer/hwc_external.cpp
target thumb C++: libhwcservice <= hardware/qcom/display-legacy/libhwcomposer/hwc_service.cpp
target thumb C++: libhwcservice <= hardware/qcom/display-legacy/libhwcomposer/ihwc.cpp
target thumb C++: keystore.default <= system/security/softkeymaster/keymaster_openssl.cpp
target thumb C++: libOmxAacEnc <= hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp
target thumb C: libOmxAacEnc <= hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c
In file included from hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/omx_aac_aenc.cpp:41:0:
hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/inc/omx_aac_aenc.h:52:34: fatal error: QOMX_AudioExtensions.h: No such file or directory
compilation terminated.
make: *** [/home/poppy/mokee/out/target/product/villec2/obj/SHARED_LIBRARIES/libOmxAacEnc_intermediates/src/omx_aac_aenc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/src/aenc_svr.c:35:0:
hardware/qcom/audio-caf/mm-audio/aenc-aac/qdsp6/inc/aenc_svr.h:39:0: warning: "LOG_TAG" redefined [enabled by default]
system/core/include/cutils/log.h:68:0: note: this is the location of the previous definition

Error while building CM - lzop: not found - SOLVED + how to fix

How to fix "lzop: not found" error:
open Ubuntu terminal and type:
Code:
sudo apt-get install lzop
and confirm installation.
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Install a correct java version, translate the error messages. Check if the files it requires are present
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Code:
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/base_rules.mk:502:warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/bin/rild'
build/core/Makefile:44: : warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libgps.utils.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/libril.so'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:44: warning: command covering the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
build/core/base_rules.mk:502: warning: ignoring old command for the object `/home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg'
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pfp.fw:system/etc/firmware/yamato_pfp.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/etc/firmware/yamato_pm4.fw:system/etc/firmware/yamato_pm4.fw ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/eglsubAndroid.so:system/lib/egl/eglsubAndroid.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libEGL_adreno200.so:system/lib/egl/libEGL_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv1_CM_adreno200.so:system/lib/egl/libGLESv1_CM_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2S3D_adreno200.so:system/lib/egl/libGLESv2S3D_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libGLESv2_adreno200.so:system/lib/egl/libGLESv2_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/egl/libq3dtools_adreno200.so:system/lib/egl/libq3dtools_adreno200.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libc2d2_z180.so:system/lib/libc2d2_z180.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libgsl.so:system/lib/libgsl.so ignored.
PRODUCT_COPY_FILES vendor/sony/qcom-common/proprietary/lib/libsc-a2xx.so:system/lib/libsc-a2xx.so ignored.
build/core/Makefile:44: warning: commands covering the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
build/core/base_rules.mk:502: warning: ignoring old commands for the object `/home/lozohcum/CM/out/target/product/jlo/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE jlo
build/core/Makefile:806: device/sony/tamsui-common-legacy/custombootimg.mk: No such file or directory
make: *** No rule to make target `device/sony/tamsui-common-legacy/custombootimg.mk'. Stop.
I have recovery files, how to check if there are all of them? I can't find right .mk file with those lines.
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Haze028 said:
Your error has nothing to do with recovery. That is a normal message to see when building cm as cyanogenmod does not include a recovery image.
Your error is device/sony/tamsui-common-legacy/custombootimg.mk can't be found.
It is looking for that makefile and cannot find it so it's stopping.
Click to expand...
Click to collapse
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
lozohcum said:
Finally fixed it, and also lots of other errors, but now I have something that dunno how to fix, can you take a look?
Code:
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGOpenCLRuntime.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRTTI.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGStmt.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTT.cpp
host C++: libclangCodeGen <= external/clang/lib/CodeGen/CGVTables.cpp
external/clang/lib/CodeGen/CGStmt.cpp:1673:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/lozohcum/CM/out/host/linux-x86/obj/STATIC_LIBRARIES/libclangCodeGen_intermediates/CGStmt.o] Błąd 1
make: *** Waiting for unfinished task....
[email protected]:~/CM$
It's compiler error, how fix it then?
Click to expand...
Click to collapse
What toolchain are you using? Also what rom are you building?
I'm building cm10.1 with it's toolchain I think
lozohcum said:
I'm building cm10.1 with it's toolchain I think
Click to expand...
Click to collapse
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Haze028 said:
Try a resync then build again...sometimes that can solve things. If not maybe try a different toolchain, I've not seen that error before but it looks like its tool chain related.
Click to expand...
Click to collapse
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
SMillerNL said:
Lzop not found? That might be a clue.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I know that Lzop but what next? should I download something from github?
Okay I found out how to fix it. Type:
Code:
sudo apt-get install lzop
lozohcum said:
Worked but now I have a different error, don't know how to fix (so far I have fixed many things by just reading log and finding what's wrong but sometimes I just don't know what to do)
Code:
Install: /home/lozohcum/CM/out/target/product/jlo/system/lib/libexpat.so
Copy: /home/lozohcum/CM/out/target/product/jlo/system/lib/egl/egl.cfg
host C++: libicuuc <= external/icu4c/common/bmpset.cpp
LD vmlinux
host C++: libicuuc <= external/icu4c/common/unisetspan.cpp
host C++: libicuuc <= external/icu4c/common/brkeng.cpp
host C++: libicuuc <= external/icu4c/common/brkiter.cpp
external/icu4c/common/brkiter.cpp: In static member function 'static icu_48::BreakIterator* icu_48::BreakIterator::buildInstance(const icu_48::Locale&, char const*, int32_t, UErrorCode&)':
external/icu4c/common/brkiter.cpp:96:38: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
external/icu4c/common/brkiter.cpp:96:72: warning: 'char const* ures_getLocale_48(const UResourceBundle*, UErrorCode*)' is deprecated (declared at external/icu4c/common/unicode/ures.h:300) [-Wdeprecated-declarations]
host C++: libicuuc <= external/icu4c/common/caniter.cpp
host C++: libicuuc <= external/icu4c/common/chariter.cpp
host C++: libicuuc <= external/icu4c/common/dictbe.cpp
host C++: libicuuc <= external/icu4c/common/locbased.cpp
host C++: libicuuc <= external/icu4c/common/locid.cpp
host C++: libicuuc <= external/icu4c/common/locutil.cpp
host C++: libicuuc <= external/icu4c/common/normlzr.cpp
host C++: libicuuc <= external/icu4c/common/parsepos.cpp
host C++: libicuuc <= external/icu4c/common/propname.cpp
SYSMAP System.map
host C++: libicuuc <= external/icu4c/common/rbbi.cpp
SYSMAP .tmp_System.map
host C++: libicuuc <= external/icu4c/common/rbbidata.cpp
OBJCOPY arch/arm/boot/Image
host C++: libicuuc <= external/icu4c/common/rbbinode.cpp
Kernel: arch/arm/boot/Image is ready
AS arch/arm/boot/compressed/head.o
LZO arch/arm/boot/compressed/piggy.lzo
/bin/sh: lzop: not found
make[4]: *** [arch/arm/boot/compressed/piggy.lzo] Error 1
make[3]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make[2]: *** [zImage] Błąd 2
make[1]: *** [sub-make] Błąd 2
make[1]: Leaving directory `/home/lozohcum/CM/kernel/sony/msm7x27a-legacy'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished tasks....
[email protected]:~/CM$
kernel source is taken from CyanogenMod github repo
Click to expand...
Click to collapse
it was too long times ago, i know but i need help How to take log? I couldn't find it.
fbli_41 said:
it was too long times ago, i know but i need help How to take log? I couldn't find it.
Click to expand...
Click to collapse
As far as I remember you need to install lzop on your ubuntu. It's compression method.
lozohcum said:
As far as I remember you need to install lzop on your ubuntu. It's compression method.
Click to expand...
Click to collapse
Ok. I will try. Thank you

[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:

[Q] Need help porting cyanogenmod to Zenfone 2

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

Failed to compile CM kernel: make: *** No rule to make target `[codename]'.

I am trying to compile Cyanogenmod from source for my ASUS TF700T. While the official guide works fine for CM11, it fails when compiling kernel for CM12. Here is the error message:
Code:
host C: checkseapp <= external/sepolicy/tools/check_seapp.c
Import includes file: /media/sam/WIN7/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/minigzip_intermediates/import_includes
host C: libz_32 <= external/zlib/src/adler32.c
host C: libz_32 <= external/zlib/src/compress.c
host C: libz_32 <= external/zlib/src/crc32.c
host C: libz_32 <= external/zlib/src/deflate.c
host C: libz_32 <= external/zlib/src/gzclose.c
host C: libz_32 <= external/zlib/src/gzlib.c
host C: libz_32 <= external/zlib/src/gzread.c
host C: libz_32 <= external/zlib/src/gzwrite.c
host C: libz_32 <= external/zlib/src/infback.c
host C: libz_32 <= external/zlib/src/inflate.c
host C: libz_32 <= external/zlib/src/inftrees.c
host C: libz_32 <= external/zlib/src/inffast.c
host C: libz_32 <= external/zlib/src/trees.c
host C: libz_32 <= external/zlib/src/uncompr.c
host C: libz_32 <= external/zlib/src/zutil.c
make: *** No rule to make target `tf700t'. Stop.
make: *** Waiting for unfinished jobs....
host C++: blobpack_tfp <= device/asus/tf700t/blobpack/blobpack.cpp
What's the solution?

Categories

Resources