[Galaxy Note II Original Android Development] englinux:
Building Kernel and modules fails for 3.0.36 and 3.0.41 ..... HELP PLEASE..?

Please anybody tell me what's wrong , I've tried to build the kernel ( Linux 3.0.41 branch ) for the second time, always getting :

/root/android/kernel/toolchain/arm-eabi-linaro-4.7.3/bin/arm-eabi-ld: error: no machine record defined

arch/arm/mach-exynos4/built-in.o:pm.c:function exynos4_pm_drvinit: error: undefined reference to 'exynos4_sysclass'

arch/arm/plat-s5p/built-in.o:sysmmu.c:function s5p_sysmmu_probe: error: undefined reference to 'sysmmu_clk_init'

arch/arm/plat-s5p/built-in.o:sysmmu.c:function s5p_sysmmu_probe: error: undefined reference to 'sysmmu_clk_disable'

arch/arm/plat-s5p/built-in.o:sysmmu.c:function s5p_sysmmu_probe: error: undefined reference to 'sysmmu_ips_name'

arch/arm/plat-s5p/built-in.o:sysmmu.c:function s5p_sysmmu_irq: error: undefined reference to 'sysmmu_ips_name'

arch/arm/plat-s5p/built-in.o:irq-pm.c:function s5p_sysmmu_enable: error: undefined reference to 'sysmmu_clk_enable'

arch/arm/plat-s5p/built-in.o:irq-pm.c:function s5p_sysmmu_disable: error: undefined reference to 'sysmmu_clk_disable'

arch/arm/plat-samsung/built-in.o:pwm.c:function s3c_i2c0_set_platdata: error: undefined reference to 's3c_i2c0_cfg_gpio'

sound/built-in.o:dma.c:function dma_pointer: error: undefined reference to 's3c2410_dma_getposition'

sound/built-in.o:dma.c:function dma_trigger: error: undefined reference to 's3c2410_dma_ctrl'

sound/built-in.o:dma.c:function dma_trigger: error: undefined reference to 's3c2410_dma_ctrl'

sound/built-in.o:dma.c:function dma_prepare: error: undefined reference to 's3c2410_dma_devconfig'

sound/built-in.o:dma.c:function dma_prepare: error: undefined reference to 's3c2410_dma_config'

sound/built-in.o:dma.c:function dma_prepare: error: undefined reference to 's3c2410_dma_ctrl'

sound/built-in.o:dma.c:function dma_prepare: error: undefined reference to 's3c2410_dma_enqueue'

sound/built-in.o:dma.c:function dma_hw_free: error: undefined reference to 's3c2410_dma_free'

sound/built-in.o:dma.c:function dma_hw_params: error: undefined reference to 's3c2410_dma_set_buffdone_fn'

sound/built-in.o:dma.c:function dma_hw_params: error: undefined reference to 's3c2410_dma_request'

sound/built-in.o:dma.c:function dma_hw_params: error: undefined reference to 's3c2410_dma_setflags'

make: *** [.tmp_vmlinux1] Error 1

-I've used the config for linux 3.0.36 which is flashed on my device already, because i don't know which config is compatible with the N7100 from arch/arm/configs .

-And when tried to build the ath9k module from the master branch source ( 3.0.36 ) , it always fails as shown below :

make M=drivers/net/wireless/ath/ath9k/

CC drivers/net/wireless/ath/ath9k/beacon.o

drivers/net/wireless/ath/ath9k/beacon.c: In function 'ath_beacon_setup':

drivers/net/wireless/ath/ath9k/beacon.c:109:10: error: 'struct ath_common' has no member named 'tx_chainmask'

make[1]: *** [drivers/net/wireless/ath/ath9k/beacon.o] Error 1

make: *** [_module_drivers/net/wireless/ath/ath9k] Error 2

So i think ath9k is excluded from the 3.0.36 Kernel , so in case it is and I can't build the 3.0.41 Kernel as shown above, so what I can do ??

Correct me if I'm wrong, I think my request isn't this complex to get the Ath9k supported by the Perseus kernel, or even get any clarification on what's wrong .. PLEASE