[Xiaomi Mi 4C] Urik26:
Who can help me with a kernel compiling? I have Ubunu 12.04 (also tried 15.04), toolchain (aarch64 both 4.8, 4.9, 5.2 and so on) and ketut.kumajaya's sources (Thank you for your work). There are steps I follow in Terminal:

1. cd /home/my_name/android/kernel/

2. export ARCH=arm64 CROSS_COMPILE=/home/my_name/android/toolchain/aarch64-linux-android-4.9-master/bin/aarch64-linux-android-

3. make libra_user_defconfig

4. make menuconfig (save it and exit)

5. make -j8

So, after it appears this:

urik26@urik26:~/android/kernel$make -j8

scripts/kconfig/conf --silentoldconfig Kconfig

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (SND_SOC_APQ8074 && SND_SOC_MSM8992 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (SND_SOC_APQ8074 && SND_SOC_MSM8992 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

WRAP arch/arm64/include/generated/asm/bugs.h

WRAP arch/arm64/include/generated/asm/checksum.h

WRAP arch/arm64/include/generated/asm/clkdev.h

WRAP arch/arm64/include/generated/asm/cputime.h

WRAP arch/arm64/include/generated/asm/current.h

WRAP arch/arm64/include/generated/asm/delay.h

WRAP arch/arm64/include/generated/asm/div64.h

WRAP arch/arm64/include/generated/asm/dma.h

WRAP arch/arm64/include/generated/asm/emergency-restart.h

WRAP arch/arm64/include/generated/asm/early_ioremap.h

WRAP arch/arm64/include/generated/asm/errno.h

WRAP arch/arm64/include/generated/asm/ftrace.h

WRAP arch/arm64/include/generated/asm/hw_irq.h

WRAP arch/arm64/include/generated/asm/ioctl.h

WRAP arch/arm64/include/generated/asm/ioctls.h

WRAP arch/arm64/include/generated/asm/ipcbuf.h

WRAP arch/arm64/include/generated/asm/irq_regs.h

WRAP arch/arm64/include/generated/asm/kdebug.h

WRAP arch/arm64/include/generated/asm/kmap_types.h

WRAP arch/arm64/include/generated/asm/kvm_para.h

WRAP arch/arm64/include/generated/asm/local.h

WRAP arch/arm64/include/generated/asm/local64.h

WRAP arch/arm64/include/generated/asm/mcs_spinlock.h

WRAP arch/arm64/include/generated/asm/mman.h

WRAP arch/arm64/include/generated/asm/msgbuf.h

WRAP arch/arm64/include/generated/asm/mutex.h

WRAP arch/arm64/include/generated/asm/pci.h

WRAP arch/arm64/include/generated/asm/poll.h

WRAP arch/arm64/include/generated/asm/resource.h

WRAP arch/arm64/include/generated/asm/scatterlist.h

WRAP arch/arm64/include/generated/asm/rwsem.h

WRAP arch/arm64/include/generated/asm/sections.h

WRAP arch/arm64/include/generated/asm/segment.h

WRAP arch/arm64/include/generated/asm/sembuf.h

WRAP arch/arm64/include/generated/asm/serial.h

WRAP arch/arm64/include/generated/asm/shmbuf.h

WRAP arch/arm64/include/generated/asm/simd.h

WRAP arch/arm64/include/generated/asm/sizes.h

WRAP arch/arm64/include/generated/asm/socket.h

WRAP arch/arm64/include/generated/asm/sockios.h

WRAP arch/arm64/include/generated/asm/swab.h

WRAP arch/arm64/include/generated/asm/switch_to.h

WRAP arch/arm64/include/generated/asm/termbits.h

WRAP arch/arm64/include/generated/asm/termios.h

WRAP arch/arm64/include/generated/asm/topology.h

WRAP arch/arm64/include/generated/asm/trace_clock.h

WRAP arch/arm64/include/generated/asm/types.h

WRAP arch/arm64/include/generated/asm/unaligned.h

WRAP arch/arm64/include/generated/asm/user.h

WRAP arch/arm64/include/generated/asm/vga.h

WRAP arch/arm64/include/generated/asm/xor.h

WRAP arch/arm64/include/generated/uapi/asm/kvm_para.h

CHK include/generated/uapi/linux/version.h

UPD include/generated/uapi/linux/version.h

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

HOSTCC scripts/dtc/checks.o

HOSTCC scripts/genksyms/genksyms.o

CC scripts/mod/empty.o

scripts/mod/empty.c:1:0: warning: -fstack-protector not supported for this target [enabled by default]

error, forbidden warning: empty.c:1

make[2]: *** [scripts/mod/empty.o] Ошибка 1

make[1]: *** [scripts/mod] Ошибка 2

make[1]: *** Ожидание завершения заданий...

SHIPPED scripts/genksyms/lex.lex.c

SHIPPED scripts/genksyms/keywords.hash.c

SHIPPED scripts/genksyms/parse.tab.h

SHIPPED scripts/genksyms/parse.tab.c

HOSTCC scripts/genksyms/lex.lex.o

HOSTCC scripts/dtc/data.o

HOSTCC scripts/genksyms/parse.tab.o

SHIPPED scripts/dtc/dtc-lexer.lex.c

SHIPPED scripts/dtc/dtc-parser.tab.h

SHIPPED scripts/dtc/dtc-parser.tab.c

HOSTCC scripts/dtc/dtc.o

HOSTCC scripts/dtc/flattree.o

HOSTCC scripts/dtc/fstree.o

HOSTCC scripts/dtc/livetree.o

HOSTLD scripts/genksyms/genksyms

HOSTCC scripts/dtc/srcpos.o

HOSTCC scripts/dtc/treesource.o

HOSTCC scripts/dtc/util.o

HOSTCC scripts/dtc/dtc-lexer.lex.o

HOSTCC scripts/dtc/dtc-parser.tab.o

CC kernel/bounds.s

kernel/bounds.c:1:0: warning: -fstack-protector not supported for this target [enabled by default]

error, forbidden warning: bounds.c:1

make[1]: *** [kernel/bounds.s] Ошибка 1

make: *** [prepare0] Ошибка 2

make: *** Ожидание завершения заданий...

HOSTLD scripts/dtc/dtc

make: *** [scripts] Ошибка 2

urik26@urik26:~/android/kernel$

And the same is with all def_configs and kernel sources.

Just for understanding - "Ошибка" means "Error".

I hope you'll help me in kernel compiling. Thank you in advance! :)