[LG Optimus 2x] thehero21:
kernel building failed ...

no chance - i reforked the source yesterday once again, seems to me the same.

my config is a WORKING config from NeoBlaze-Kernel-P990 with topogigi v. 2.0 cwm image.

since neoblaze kernel dont support cm7, i wont to build your kernel for that (with make oldconfig).

dont known whats the problem is, perhaps my gcc-4.6 - which build neoblaze and vorkkernel without any problems.

greetings

========= snap =============

..

make -f scripts/Makefile.build obj=net/sched

make -f scripts/Makefile.build obj=net/sunrpc

make -f scripts/Makefile.build obj=net/unix

make -f scripts/Makefile.build obj=net/wanrouter

make -f scripts/Makefile.build obj=net/wireless

make -f scripts/Makefile.build obj=net/xfrm

make -f scripts/Makefile.build obj=arch/arm/lib

make -f scripts/Makefile.build obj=lib

make -f scripts/Makefile.build obj=lib/zlib_deflate

make -f scripts/Makefile.build obj=lib/zlib_inflate

set -e; if [ ! -r .version ]; then rm -f .version; echo 1 >.version; else mv .version .old_version; expr 0$(cat .old_version) + 1 >.version; fi; make -f scripts/Makefile.build obj=init

/bin/sh /mass/usrsrc/x/HP-Krnl-2.6.32.9/scripts/mkcompile_h include/linux/compile.h \

"arm" "y" "y" "arm-none-eabi-gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack"

UPD include/linux/compile.h

arm-none-eabi-gcc -Wp,-MD,init/.version.o.d -nostdinc -isystem /usr/local/lib/gcc/arm-none-eabi/4.6.2/include -Iinclude -I/mass/usrsrc/x/HP-Krnl-2.6.32.9/arch/arm/include -include include/linux/autoconf.h -D__KERNEL__ -mlittle-endian -Iarch/arm/mach-tegra/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork -D__LINUX_ARM_ARCH__=7 -march=armv7-a -msoft-float -Uarm -Wframe-larger-than=1024 -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -O3 -pipe -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -ffast-math -funsafe-loop-optimizations -funsafe-math-optimizations -fbranch-target-load-optimize2 -DSTAR_COUNTRY_ -DSTAR_OPERATOR_ -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(version)" -D"KBUILD_MODNAME=KBUILD_STR(version)" -c -o init/.tmp_version.o init/version.c

arm-none-eabi-ld -EL -r -o init/built-in.o init/main.o init/version.o init/mounts.o init/initramfs.o init/calibrate.o

arm-none-eabi-ld -EL -p --no-undefined -X --build-id -o .tmp_vmlinux1 -T arch/arm/kernel/vmlinux.lds arch/arm/kernel/head.o arch/arm/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/arm/kernel/built-in.o arch/arm/mm/built-in.o arch/arm/common/built-in.o arch/arm/mach-tegra/built-in.o arch/arm/vfp/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o arch/arm/lib/lib.a lib/lib.a arch/arm/lib/built-in.o lib/built-in.o drivers/built-in.o sound/built-in.o firmware/built-in.o net/built-in.o --end-group

init/built-in.o: In function `start_kernel':

calibrate.c:(.init.text+0x630): undefined reference to `kmem_cache_init'

calibrate.c:(.init.text+0x6ac): undefined reference to `kmem_cache_init_late'

init/built-in.o: In function `mount_block_root':

calibrate.c:(.init.text+0xb44): undefined reference to `kmem_cache_alloc'

calibrate.c:(.init.text+0xd78): undefined reference to `kmem_cache_free'

init/built-in.o: In function `unpack_to_rootfs':

calibrate.c:(.init.text+0x12b4): undefined reference to `kmem_cache_alloc'

calibrate.c:(.init.text+0x12c4): undefined reference to `kmem_cache_alloc'

calibrate.c:(.init.text+0x12d4): undefined reference to `kmem_cache_alloc'

calibrate.c:(.init.text+0x14d4): undefined reference to `kfree'

calibrate.c:(.init.text+0x14e0): undefined reference to `kfree'

calibrate.c:(.init.text+0x14f8): undefined reference to `kfree'

calibrate.c:(.init.text+0x1500): undefined reference to `kfree'

calibrate.c:(.init.text+0x1508): undefined reference to `kfree'

calibrate.c:(.init.text+0x1518): undefined reference to `malloc_sizes'

init/built-in.o: In function `do_copy':

calibrate.c:(.init.text+0x17e4): undefined reference to `kfree'

init/built-in.o: In function `maybe_link.part.6':

calibrate.c:(.init.text+0x1920): undefined reference to `kmem_cache_alloc'

calibrate.c:(.init.text+0x196c): undefined reference to `malloc_sizes'

init/built-in.o: In function `do_name':

calibrate.c:(.init.text+0x19c0): undefined reference to `kfree'

calibrate.c:(.init.text+0x1acc): undefined reference to `kmem_cache_alloc'

..

========= snap =============

my modifications:

*** Makefile (removed some -floop-XXX flags - not supported by my gcc-4.6)

-MODFLAGS = -DMODULE -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -floop-block -floop-interchange floop-strip-mine -ffast-math -funsafe-looop-optimizations -funsafe-math-optimizations -fbranch-target-load-optimize2

+MODFLAGS = -DMODULE -O3 -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -ffast-math -funsafe-loop-optimizations -funsafe-math-optimizations -fbranch-target-load-optimize2

-CFLAGS_KERNEL = -O3 -pipe -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -floop-block -floop-interchange floop-strip-mine -ffast-math -funsafe-looop-optimizations -funsafe-math-optimizations -fbranch-target-load-optimize2

+CFLAGS_KERNEL = -O3 -pipe -march=armv7-a -mcpu=cortex-a9 -mtune=cortex-a9 -mfpu=vfpv3-d16 -mfloat-abi=soft -ffast-math -funsafe-loop-optimizations -funsafe-math-optimizations -fbranch-target-load-optimize2

*** drivers/net/wireless/bcm4329/Makefile (dont stop compiling by a warning)

- -Wall -Wstrict-prototypes -Werror \

+ -Wall -Wstrict-prototypes \