[Xiaomi Redmi 1S] Rahul Dhobi:
Hello guys,

I have downloaded kernel source code from https://github.com/MiCode/H1S_kernel and compiled it I got following error.

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make

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

HOSTLD scripts/kconfig/conf

scripts/kconfig/conf --silentoldconfig Kconfig

***

*** Configuration file ".config" not found!

***

*** Please run some configurator (e.g. "make oldconfig" or

*** "make menuconfig" or "make xconfig").

***

make[2]: *** [silentoldconfig] Error 1

make[1]: *** [silentoldconfig] Error 2

SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32.h

SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64.h

SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_x32.h

SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h

HOSTCC arch/x86/tools/relocs

make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make defconfig

*** Default configuration is based on 'i386_defconfig'

#

# configuration written to .config

#

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$

rahul.dhobi@home:/DATA/Android_Developement/Redmi1s/H1S_kernel-master$ make

scripts/kconfig/conf --silentoldconfig Kconfig

make[1]: Nothing to be done for `all'.

make[1]: Nothing to be done for `relocs'.

CHK include/linux/version.h

UPD include/linux/version.h

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

CC kernel/bounds.s

GEN include/generated/bounds.h

CC arch/x86/kernel/asm-offsets.s

GEN include/generated/asm-offsets.h

CALL scripts/checksyscalls.sh

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/mod/sumversion.o

HOSTLD scripts/mod/modpost

HOSTCC scripts/selinux/genheaders/genheaders

HOSTCC scripts/selinux/mdp/mdp

HOSTCC scripts/kallsyms

HOSTCC scripts/pnmtologo

HOSTCC scripts/conmakehash

CC init/main.o

CHK include/generated/compile.h

UPD include/generated/compile.h

CC init/version.o

CC init/do_mounts.o

CC init/do_mounts_rd.o

CC init/do_mounts_initrd.o

CC init/do_mounts_md.o

LD init/mounts.o

CC init/initramfs.o

CC init/calibrate.o

LD init/built-in.o

HOSTCC usr/gen_init_cpio

GEN usr/initramfs_data.cpio

AS usr/initramfs_data.o

LD usr/built-in.o

AS arch/x86/crypto/aes-i586-asm_32.o

CC arch/x86/crypto/aes_glue.o

LD arch/x86/crypto/aes-i586.o

LD arch/x86/crypto/built-in.o

CC arch/x86/kernel/process_32.o

CC arch/x86/kernel/signal.o

AS arch/x86/kernel/entry_32.o

CC arch/x86/kernel/traps.o

CC arch/x86/kernel/irq.o

CC arch/x86/kernel/irq_32.o

CC arch/x86/kernel/dumpstack_32.o

CC arch/x86/kernel/time.o

CC arch/x86/kernel/ioport.o

CC arch/x86/kernel/ldt.o

CC arch/x86/kernel/dumpstack.o

CC arch/x86/kernel/nmi.o

CC arch/x86/kernel/setup.o

CC arch/x86/kernel/x86_init.o

CC arch/x86/kernel/i8259.o

CC arch/x86/kernel/irqinit.o

CC arch/x86/kernel/jump_label.o

CC arch/x86/kernel/irq_work.o

CC arch/x86/kernel/probe_roms.o

CC arch/x86/kernel/sys_i386_32.o

CC arch/x86/kernel/i386_ksyms_32.o

CC arch/x86/kernel/syscall_32.o

CC arch/x86/kernel/bootflag.o

CC arch/x86/kernel/e820.o

CC arch/x86/kernel/pci-dma.o

CC arch/x86/kernel/quirks.o

CC arch/x86/kernel/topology.o

CC arch/x86/kernel/kdebugfs.o

CC arch/x86/kernel/alternative.o

CC arch/x86/kernel/i8253.o

CC arch/x86/kernel/pci-nommu.o

CC arch/x86/kernel/hw_breakpoint.o

CC arch/x86/kernel/tsc.o

CC arch/x86/kernel/io_delay.o

CC arch/x86/kernel/rtc.o

CC arch/x86/kernel/pci-iommu_table.o

CC arch/x86/kernel/resource.o

CC arch/x86/kernel/trampoline.o

AS arch/x86/kernel/trampoline_32.o

CC arch/x86/kernel/process.o

CC arch/x86/kernel/i387.o

CC arch/x86/kernel/xsave.o

CC arch/x86/kernel/ptrace.o

CC arch/x86/kernel/tls.o

CC arch/x86/kernel/step.o

CC arch/x86/kernel/i8237.o

CC arch/x86/kernel/stacktrace.o

CC arch/x86/kernel/acpi/boot.o

CC arch/x86/kernel/acpi/sleep.o

LDS arch/x86/kernel/acpi/realmode/wakeup.lds

AS arch/x86/kernel/acpi/realmode/wakeup.o

CC arch/x86/kernel/acpi/realmode/wakemain.o

CC arch/x86/kernel/acpi/realmode/video-mode.o

AS arch/x86/kernel/acpi/realmode/copy.o

AS arch/x86/kernel/acpi/realmode/bioscall.o

CC arch/x86/kernel/acpi/realmode/regs.o

CC arch/x86/kernel/acpi/realmode/video-vga.o

CC arch/x86/kernel/acpi/realmode/video-vesa.o

CC arch/x86/kernel/acpi/realmode/video-bios.o

LD arch/x86/kernel/acpi/realmode/wakeup.elf

OBJCOPY arch/x86/kernel/acpi/realmode/wakeup.bin

AS arch/x86/kernel/acpi/wakeup_rm.o

AS arch/x86/kernel/acpi/wakeup_32.o

CC arch/x86/kernel/acpi/cstate.o

LD arch/x86/kernel/acpi/built-in.o

CC arch/x86/kernel/apic/apic.o

CC arch/x86/kernel/apic/apic_noop.o

CC arch/x86/kernel/apic/ipi.o

CC arch/x86/kernel/apic/hw_nmi.o

CC arch/x86/kernel/apic/io_apic.o

CC arch/x86/kernel/apic/probe_32.o

LD arch/x86/kernel/apic/built-in.o

CC arch/x86/kernel/cpu/intel_cacheinfo.o

CC arch/x86/kernel/cpu/scattered.o

CC arch/x86/kernel/cpu/topology.o

CC arch/x86/kernel/cpu/proc.o

MKCAP arch/x86/kernel/cpu/capflags.c

CC arch/x86/kernel/cpu/capflags.o

CC arch/x86/kernel/cpu/powerflags.o

CC arch/x86/kernel/cpu/common.o

CC arch/x86/kernel/cpu/vmware.o

CC arch/x86/kernel/cpu/hypervisor.o

CC arch/x86/kernel/cpu/sched.o

CC arch/x86/kernel/cpu/mshyperv.o

CC arch/x86/kernel/cpu/rdrand.o

CC arch/x86/kernel/cpu/match.o

CC arch/x86/kernel/cpu/bugs.o

CC arch/x86/kernel/cpu/intel.o

CC arch/x86/kernel/cpu/amd.o

CC arch/x86/kernel/cpu/centaur.o

CC arch/x86/kernel/cpu/transmeta.o

CC arch/x86/kernel/cpu/perf_event.o

CC arch/x86/kernel/cpu/perf_event_amd.o

CC arch/x86/kernel/cpu/perf_event_p6.o

CC arch/x86/kernel/cpu/perf_event_p4.o

CC arch/x86/kernel/cpu/perf_event_intel_lbr.o

CC arch/x86/kernel/cpu/perf_event_intel_ds.o

CC arch/x86/kernel/cpu/perf_event_intel.o

CC arch/x86/kernel/cpu/mcheck/mce.o

CC arch/x86/kernel/cpu/mcheck/mce-severity.o

CC arch/x86/kernel/cpu/mcheck/mce_intel.o

CC arch/x86/kernel/cpu/mcheck/mce_amd.o

CC arch/x86/kernel/cpu/mcheck/threshold.o

CC arch/x86/kernel/cpu/mcheck/therm_throt.o

LD arch/x86/kernel/cpu/mcheck/built-in.o

CC arch/x86/kernel/cpu/mtrr/main.o

CC arch/x86/kernel/cpu/mtrr/if.o

CC arch/x86/kernel/cpu/mtrr/generic.o

CC arch/x86/kernel/cpu/mtrr/cleanup.o

CC arch/x86/kernel/cpu/mtrr/amd.o

CC arch/x86/kernel/cpu/mtrr/cyrix.o

CC arch/x86/kernel/cpu/mtrr/centaur.o

LD arch/x86/kernel/cpu/mtrr/built-in.o

CC arch/x86/kernel/cpu/perfctr-watchdog.o

CC arch/x86/kernel/cpu/perf_event_amd_ibs.o

LD arch/x86/kernel/cpu/built-in.o

CC arch/x86/kernel/reboot.o

AS arch/x86/kernel/reboot_32.o

CC arch/x86/kernel/msr.o

CC arch/x86/kernel/cpuid.o

CC arch/x86/kernel/early-quirks.o

CC arch/x86/kernel/smp.o

CC arch/x86/kernel/smpboot.o

CC arch/x86/kernel/tsc_sync.o

CC arch/x86/kernel/setup_percpu.o

CC arch/x86/kernel/mpparse.o

CC arch/x86/kernel/reboot_fixups_32.o

CC arch/x86/kernel/machine_kexec_32.o

AS arch/x86/kernel/relocate_kernel_32.o

CC arch/x86/kernel/crash.o

CC arch/x86/kernel/crash_dump_32.o

CC arch/x86/kernel/kprobes.o

CC arch/x86/kernel/kprobes-opt.o

CC arch/x86/kernel/module.o

CC arch/x86/kernel/doublefault_32.o

CC arch/x86/kernel/vm86_32.o

CC arch/x86/kernel/early_printk.o

CC arch/x86/kernel/hpet.o

CC arch/x86/kernel/amd_nb.o

CC arch/x86/kernel/pcspeaker.o

CC arch/x86/kernel/microcode_core.o

CC arch/x86/kernel/microcode_intel.o

CC arch/x86/kernel/microcode_amd.o

LD arch/x86/kernel/microcode.o

CC arch/x86/kernel/check.o

LD arch/x86/kernel/built-in.o

AS arch/x86/kernel/head_32.o

CC arch/x86/kernel/head32.o

CC arch/x86/kernel/head.o

CC arch/x86/kernel/init_task.o

LDS arch/x86/kernel/vmlinux.lds

CC [M] arch/x86/kernel/test_nx.o

CC arch/x86/mm/init.o

CC arch/x86/mm/init_32.o

CC arch/x86/mm/fault.o

CC arch/x86/mm/ioremap.o

CC arch/x86/mm/extable.o

CC arch/x86/mm/pageattr.o

CC arch/x86/mm/mmap.o

CC arch/x86/mm/pat.o

CC arch/x86/mm/pgtable.o

CC arch/x86/mm/physaddr.o

CC arch/x86/mm/gup.o

CC arch/x86/mm/setup_nx.o

CC arch/x86/mm/pat_rbtree.o

CC arch/x86/mm/tlb.o

CC arch/x86/mm/pgtable_32.o

CC arch/x86/mm/iomap_32.o

CC arch/x86/mm/hugetlbpage.o

CC arch/x86/mm/highmem_32.o

LD arch/x86/mm/built-in.o

LD arch/x86/net/built-in.o

LD arch/x86/platform/ce4100/built-in.o

CC arch/x86/platform/efi/efi.o

CC arch/x86/platform/efi/efi_32.o

AS arch/x86/platform/efi/efi_stub_32.o

LD arch/x86/platform/efi/built-in.o

LD arch/x86/platform/geode/built-in.o

LD arch/x86/platform/iris/built-in.o

LD arch/x86/platform/mrst/built-in.o

LD arch/x86/platform/olpc/built-in.o

LD arch/x86/platform/scx200/built-in.o

LD arch/x86/platform/sfi/built-in.o

LD arch/x86/platform/uv/built-in.o

LD arch/x86/platform/visws/built-in.o

LD arch/x86/platform/built-in.o

LDS arch/x86/vdso/vdso32/vdso32.lds

AS arch/x86/vdso/vdso32/note.o

AS arch/x86/vdso/vdso32/int80.o

VDSO arch/x86/vdso/vdso32-int80.so.dbg

OBJCOPY arch/x86/vdso/vdso32-int80.so

AS arch/x86/vdso/vdso32/sysenter.o

VDSO arch/x86/vdso/vdso32-sysenter.so.dbg

OBJCOPY arch/x86/vdso/vdso32-sysenter.so

AS arch/x86/vdso/vdso32.o

CC arch/x86/vdso/vdso32-setup.o

VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds

VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds

VDSOSYM arch/x86/vdso/vdso32-syms.lds

LD arch/x86/vdso/built-in.o

LD arch/x86/built-in.o

CC kernel/fork.o

CC kernel/exec_domain.o

CC kernel/panic.o

CC kernel/printk.o

kernel/printk.c:47:26: fatal error: mach/msm_rtb.h: No such file or directory

compilation terminated.

make[1]: *** [kernel/printk.o] Error 1

make: *** [kernel] Error 2

Can any one help me ? or guide me what I'm doing wrong :o