[Android Software Development] scottmu65:
Hi, awesome guide but I am having a really hard time getting my kernel to compile. I keep getting random errors, sometimes though I get no errors at all but there is no output files.

Here is the result of make meson8b_defconfig:

make meson8b_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2561:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:567:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = r->len - 1;
^
scripts/kconfig/menu.c:528:19: note: ‘jump’ was declared here
struct jump_key *jump;
^
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'meson8b_defconfig'
drivers/amlogic/Kconfig:39: warning: Skip ../hardware/amlogic/nand/amlnf/Kconfig
drivers/amlogic/Kconfig:40: warning: Skip ../hardware/amlogic/nand/nand/Kconfig
drivers/amlogic/Kconfig:48: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/broadcm_40181/Kconfig
drivers/amlogic/Kconfig:49: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd_1_141_xx/Kconfig
drivers/amlogic/Kconfig:50: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/broadcm_4354/Kconfig
drivers/amlogic/Kconfig:51: warning: Skip ../hardware/wifi/broadcom/drivers/usi/bcmdhd/Kconfig
drivers/amlogic/Kconfig:52: warning: Skip ../hardware/wifi/realtek/drivers/8188eu/rtl8xxx_EU/Kconfig
drivers/amlogic/Kconfig:53: warning: Skip ../hardware/wifi/realtek/drivers/8188eu/rtl8xxx_EU_MP/Kconfig
drivers/amlogic/Kconfig:54: warning: Skip ../hardware/wifi/realtek/drivers/8192cu/rtl8xxx_CU/Kconfig
drivers/amlogic/Kconfig:55: warning: Skip ../hardware/wifi/realtek/drivers/8192du/rtl8xxx_DU/Kconfig
drivers/amlogic/Kconfig:56: warning: Skip ../hardware/wifi/realtek/drivers/8192eu/rtl8192EU/Kconfig
drivers/amlogic/Kconfig:57: warning: Skip ../hardware/wifi/realtek/drivers/8189es/rtl8189ES/Kconfig
drivers/amlogic/Kconfig:58: warning: Skip ../hardware/wifi/realtek/drivers/8723bs/rtl8723BS/Kconfig
drivers/amlogic/Kconfig:59: warning: Skip ../hardware/wifi/realtek/drivers/8723au/rtl8723AU/Kconfig
drivers/amlogic/Kconfig:60: warning: Skip ../hardware/wifi/realtek/drivers/8723bu/rtl8723BU/Kconfig
drivers/amlogic/Kconfig:61: warning: Skip ../hardware/wifi/realtek/drivers/8811au/rtl8811AU/Kconfig
drivers/amlogic/Kconfig:62: warning: Skip ../hardware/wifi/realtek/drivers/8812au/rtl8812AU/Kconfig
drivers/amlogic/dvb_tv/Kconfig:215: warning: Skip ../hardware/dvb/altobeam/drivers/atbm887x/Kconfig
drivers/amlogic/Kconfig:113: warning: Skip ../hardware/amlogic/pmu/Kconfig
drivers/amlogic/Kconfig:114: warning: Skip ../hardware/amlogic/touch/Kconfig
drivers/gpu/host1x/drm/Kconfig:1:warning: type of 'DRM_TEGRA' redefined from 'tristate' to 'boolean'
drivers/gpu/host1x/drm/Kconfig:1:error: recursive dependency detected!
drivers/gpu/host1x/drm/Kconfig:1:	symbol DRM_TEGRA depends on TEGRA_HOST1X
drivers/gpu/host1x/Kconfig:1:	symbol TEGRA_HOST1X is selected by DRM_TEGRA
#
# configuration written to .config
#

And here's the output for 'Make -j4'

make -j4
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/amlogic/Kconfig:39: warning: Skip ../hardware/amlogic/nand/amlnf/Kconfig
drivers/amlogic/Kconfig:40: warning: Skip ../hardware/amlogic/nand/nand/Kconfig
drivers/amlogic/Kconfig:48: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/broadcm_40181/Kconfig
drivers/amlogic/Kconfig:49: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/bcmdhd_1_141_xx/Kconfig
drivers/amlogic/Kconfig:50: warning: Skip ../hardware/wifi/broadcom/drivers/ap6xxx/broadcm_4354/Kconfig
drivers/amlogic/Kconfig:51: warning: Skip ../hardware/wifi/broadcom/drivers/usi/bcmdhd/Kconfig
drivers/amlogic/Kconfig:52: warning: Skip ../hardware/wifi/realtek/drivers/8188eu/rtl8xxx_EU/Kconfig
drivers/amlogic/Kconfig:53: warning: Skip ../hardware/wifi/realtek/drivers/8188eu/rtl8xxx_EU_MP/Kconfig
drivers/amlogic/Kconfig:54: warning: Skip ../hardware/wifi/realtek/drivers/8192cu/rtl8xxx_CU/Kconfig
drivers/amlogic/Kconfig:55: warning: Skip ../hardware/wifi/realtek/drivers/8192du/rtl8xxx_DU/Kconfig
drivers/amlogic/Kconfig:56: warning: Skip ../hardware/wifi/realtek/drivers/8192eu/rtl8192EU/Kconfig
drivers/amlogic/Kconfig:57: warning: Skip ../hardware/wifi/realtek/drivers/8189es/rtl8189ES/Kconfig
drivers/amlogic/Kconfig:58: warning: Skip ../hardware/wifi/realtek/drivers/8723bs/rtl8723BS/Kconfig
drivers/amlogic/Kconfig:59: warning: Skip ../hardware/wifi/realtek/drivers/8723au/rtl8723AU/Kconfig
drivers/amlogic/Kconfig:60: warning: Skip ../hardware/wifi/realtek/drivers/8723bu/rtl8723BU/Kconfig
drivers/amlogic/Kconfig:61: warning: Skip ../hardware/wifi/realtek/drivers/8811au/rtl8811AU/Kconfig
drivers/amlogic/Kconfig:62: warning: Skip ../hardware/wifi/realtek/drivers/8812au/rtl8812AU/Kconfig
drivers/amlogic/dvb_tv/Kconfig:215: warning: Skip ../hardware/dvb/altobeam/drivers/atbm887x/Kconfig
drivers/amlogic/Kconfig:113: warning: Skip ../hardware/amlogic/pmu/Kconfig
drivers/amlogic/Kconfig:114: warning: Skip ../hardware/amlogic/touch/Kconfig
drivers/gpu/host1x/drm/Kconfig:1:warning: type of 'DRM_TEGRA' redefined from 'tristate' to 'boolean'
drivers/gpu/host1x/drm/Kconfig:1:error: recursive dependency detected!
drivers/gpu/host1x/drm/Kconfig:1:	symbol DRM_TEGRA depends on TEGRA_HOST1X
drivers/gpu/host1x/Kconfig:1:	symbol TEGRA_HOST1X is selected by DRM_TEGRA
CHK include/generated/uapi/linux/version.h
CHK include/generated/package.h
CHK include/generated/utsrelease.h
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/data.o
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
CC scripts/mod/empty.o
/home/scott/android/doomlord/toolchains/arm-eabi-4.4.3/bin/../lib/gcc/arm-eabi/4.4.3/../../../../arm-eabi/bin/as: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
scripts/Makefile.build:308: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 1
scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/dtc/util.o
HOSTLD scripts/dtc/dtc
Makefile:523: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....

I'm fairly new to this so any help would be greatly appreciated.