[Android Q&A, Help & Troubleshooting] Black Manta:
Hey guys,

I try to port cwm to a new device with this tutorial but at the command

make -j4 otatools

I become some errors

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.3.1
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.19.0-25-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=JLS36I
OUT_DIR=/home/noel/bin/out
============================================
grep: /build/target/board/generic/recovery.fstab: Datei oder Verzeichnis nicht gefunden
No private recovery resources for TARGET_DEVICE generic
build/core/tasks/kernel.mk:87: **********************************************************
build/core/tasks/kernel.mk:88: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:89: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:90: * BoardConfig.mk file *
build/core/tasks/kernel.mk:91: **********************************************************
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
Can't open build/target/board/generic/arch/arm/configs/: Datei oder Verzeichnis nicht gefunden at -e line 1.
host C: minigzip <= external/zlib/src/test/minigzip.c
host C: libz <= external/zlib/src/adler32.c
host C: libz <= external/zlib/src/compress.c
host C: libz <= external/zlib/src/crc32.c
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/compress.o] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/adler32.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/src/test/minigzip.o] Fehler 1
/home/noel/bin/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/../lib/gcc/i686-linux/4.6.x-google/../../../../i686-linux/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
make: *** [/home/noel/bin/out/host/linux-x86/obj/STATIC_LIBRARIES/libz_intermediates/src/crc32.o] Fehler 1

and I haven't any idea what I have to do.

Wheather I type

build/tools/device/mkvendor.sh lge h525n ~/boot.img

it says

unpackbootimg not found. Is your android build environment set up and have the host tools been built?

Can you help me?

LG Noel