[Galaxy Note II, Galaxy S III Developer Discussion ] flatherskevin:
So I'm new at kernel developing and I'm running into an error. I am trying to compile a d2att kernel from cm10.1 so that I can tweak it. This is my log and the error i run into is at the end. Please help is you can.

kevinflathers@ubuntu:~$ cd cm

kevinflathers@ubuntu:~/cm$ export CROSS_COMPILE=/home/kevinflathers/android-ndk-r9/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86_64/bin/arm-linux-androideabi-

kevinflathers@ubuntu:~/cm$ export ARCH=arm

kevinflathers@ubuntu:~/cm$ make defconfig VARIANT_DEFCONFIG=cyanogen_d2att_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

HOSTLD scripts/kconfig/conf

*** Default configuration is based on 'versatile_defconfig'

drivers/media/video/msm/Kconfig:123:warning: choice value used outside its choice group

drivers/media/video/msm/Kconfig:128:warning: choice value used outside its choice group

KCONFIG_SELINUX((null))

KCONFIG_LOG_SELINUX((null))

KCONFIG_VARIANT(arch/arm/configs/cyanogen_d2att_defconfig)

KCONFIG_DEBUG((null))

#

# configuration written to .config

#

kevinflathers@ubuntu:~/cm$ make -j3 ARCH=arm

scripts/kconfig/conf --silentoldconfig Kconfig

drivers/media/video/msm/Kconfig:123:warning: choice value used outside its choice group

drivers/media/video/msm/Kconfig:128:warning: choice value used outside its choice group

WRAP arch/arm/include/generated/asm/auxvec.h

WRAP arch/arm/include/generated/asm/bitsperlong.h

CHK include/linux/version.h

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

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

UPD include/linux/version.h

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

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

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

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

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

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

WRAP arch/arm/include/generated/asm/percpu.h

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

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

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

WRAP arch/arm/include/generated/asm/siginfo.h

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

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

HOSTCC scripts/kallsyms

CC scripts/mod/empty.o

HOSTCC scripts/mod/mk_elfconfig

MKELF scripts/mod/elfconfig.h

HOSTCC scripts/mod/file2alias.o

HOSTCC scripts/conmakehash

HOSTCC scripts/mod/modpost.o

HOSTCC scripts/mod/sumversion.o

Generating include/generated/mach-types.h

CC kernel/bounds.s

GEN include/generated/bounds.h

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

In file included from include/linux/scatterlist.h:10,

from include/linux/dma-mapping.h:9,

from arch/arm/kernel/asm-offsets.c:15:

/home/kevinflathers/cm/arch/arm/include/asm/io.h:30:26: error: mach/msm_rtb.h: No such file or directory

make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1

make: *** [prepare0] Error 2

make: *** Waiting for unfinished jobs....

HOSTLD scripts/mod/modpost

kevinflathers@ubuntu:~/cm$