Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Help] Problems with "make -j4 otatools"

OP Alonso1398

30th March 2014, 01:22 AM   |  #1  
Alonso1398's Avatar
OP Senior Member
Flag Heredia, Costa Rica
Thanks Meter: 129
 
131 posts
Join Date:Joined: Jun 2013
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:
luis@Jaime:~/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.
30th March 2014, 07:17 AM   |  #2  
Alonso1398's Avatar
OP Senior Member
Flag Heredia, Costa Rica
Thanks Meter: 129
 
131 posts
Join Date:Joined: Jun 2013
Quote:
Originally Posted by Alonso1398

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:
luis@Jaime:~/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.

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.
12th June 2014, 07:41 PM   |  #3  
Senior Member
Flag Mumbai
Thanks Meter: 32
 
158 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by Alonso1398

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.

Try /proc/emmc or /proc/partitions
13th June 2014, 12:39 AM   |  #4  
Alonso1398's Avatar
OP Senior Member
Flag Heredia, Costa Rica
Thanks Meter: 129
 
131 posts
Join Date:Joined: Jun 2013
Quote:
Originally Posted by andynoob

Try /proc/emmc or /proc/partitions

already solved that but thanks for the help
4th October 2014, 10:48 PM   |  #5  
LNRawz's Avatar
Junior Member
Thanks Meter: 4
 
28 posts
Join Date:Joined: Jan 2011
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>
Last edited by LNRawz; 6th October 2014 at 08:24 PM.
Post Reply Subscribe to Thread

Tags
building recovery, cwm, make otatools
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes