• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Boost Mobile] kernel source code won't build

I agree. I think everything that is needed kernel-wise should already come from the kernel source as released from Zte. (whether that is true or not, I don't know) I think having additional libs is more a requirement on the ROM buiding side of things. In any case, I've been trying to build the kernel using all the default options and still have these issues. Not sure if anyone else is seeing the same...?
 
Sorry ive been pretty busy today and ive been well.. too lazy 2day to pop the 2 screws off my case 2 switch out the sata ports for my linux HDD (no my motherboard won't let me dual boot for some reason and havn't been frustrated enough yet to ask about that)
 
i am still trying to compile the kernel and have still not had any luck. i think there might be something wrong with my build environment although I'm not entirely sure. i have been able to compile and test a GB rom with the built in emulator so I'm not sure why for the love of god i cant get this to build lol

Code:
michael@michael-MS-7375:~$ cd ~/kernel
michael@michael-MS-7375:~/kernel$ make clean
  CLEAN   /home/michael/kernel
  CLEAN   arch/x86/kernel/acpi/realmode
  CLEAN   arch/x86/kernel/cpu
  CLEAN   arch/x86/kernel
  CLEAN   arch/x86/vdso
  CLEAN   kernel
  CLEAN   usr
  CLEAN   .tmp_versions
michael@michael-MS-7375:~/kernel$ make
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  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/kallsyms
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
  CC      init/main.o
  CHK     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
  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
  LD      arch/x86/crypto/built-in.o
  CC      arch/x86/kernel/process_64.o
  CC      arch/x86/kernel/signal.o
  AS      arch/x86/kernel/entry_64.o
  CC      arch/x86/kernel/traps.o
  CC      arch/x86/kernel/irq.o
  CC      arch/x86/kernel/irq_64.o
  CC      arch/x86/kernel/dumpstack_64.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/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/sys_x86_64.o
  CC      arch/x86/kernel/x8664_ksyms_64.o
  CC      arch/x86/kernel/syscall_64.o
  CC      arch/x86/kernel/vsyscall_64.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/i8237.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/trampoline.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/step.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_64.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/probe_64.o
  CC      arch/x86/kernel/apic/ipi.o
  CC      arch/x86/kernel/apic/nmi.o
  CC      arch/x86/kernel/apic/io_apic.o
  CC      arch/x86/kernel/apic/apic_flat_64.o
  LD      arch/x86/kernel/apic/built-in.o
  CC      arch/x86/kernel/cpu/intel_cacheinfo.o
  CC      arch/x86/kernel/cpu/addon_cpuid_features.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/bugs_64.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/perf_event.o
  LD      arch/x86/kernel/cpu/cpufreq/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
  LD      arch/x86/kernel/cpu/mtrr/built-in.o
  CC      arch/x86/kernel/cpu/perfctr-watchdog.o
  LD      arch/x86/kernel/cpu/built-in.o
  CC      arch/x86/kernel/reboot.o
  CC      arch/x86/kernel/early-quirks.o
  AS      arch/x86/kernel/trampoline_64.o
  CC      arch/x86/kernel/mpparse.o
  CC      arch/x86/kernel/module.o
  CC      arch/x86/kernel/early_printk.o
  CC      arch/x86/kernel/hpet.o
  CC      arch/x86/kernel/k8.o
  CC      arch/x86/kernel/test_rodata.o
  CC      arch/x86/kernel/pcspeaker.o
  CC      arch/x86/kernel/pci-swiotlb.o
  CC      arch/x86/kernel/pmtimer_64.o
  CC      arch/x86/kernel/pci-gart_64.o
  CC      arch/x86/kernel/aperture_64.o
  CC      arch/x86/kernel/vsmp_64.o
  LD      arch/x86/kernel/built-in.o
  AS      arch/x86/kernel/head_64.o
  CC      arch/x86/kernel/head64.o
  CC      arch/x86/kernel/head.o
  CC      arch/x86/kernel/init_task.o
  LDS     arch/x86/kernel/vmlinux.lds
  CC      arch/x86/mm/init.o
  CC      arch/x86/mm/init_64.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
  LD      arch/x86/mm/built-in.o
  CC      arch/x86/vdso/vma.o
  LDS     arch/x86/vdso/vdso.lds
  AS      arch/x86/vdso/vdso-note.o
  CC      arch/x86/vdso/vclock_gettime.o
  CC      arch/x86/vdso/vgetcpu.o
  CC      arch/x86/vdso/vvar.o
  VDSO    arch/x86/vdso/vdso.so.dbg
  OBJCOPY arch/x86/vdso/vdso.so
  AS      arch/x86/vdso/vdso.o
  VDSOSYM arch/x86/vdso/vdso-syms.lds
  LD      arch/x86/vdso/built-in.o
  LD      arch/x86/built-in.o
  CC      kernel/sched.o
  CC      kernel/fork.o
  CC      kernel/exec_domain.o
  CC      kernel/panic.o
  CC      kernel/printk.o
  CC      kernel/cpu.o
  CC      kernel/exit.o
  CC      kernel/itimer.o
  TIMEC   kernel/timeconst.h
  CC      kernel/time.o
  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o
  CC      kernel/sysctl_binary.o
  CC      kernel/capability.o
  CC      kernel/ptrace.o
  CC      kernel/timer.o
  CC      kernel/user.o
  CC      kernel/signal.o
  CC      kernel/sys.o
  CC      kernel/kmod.o
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      kernel/extable.o
  CC      kernel/params.o
  CC      kernel/posix-timers.o
  CC      kernel/kthread.o
  CC      kernel/wait.o
  CC      kernel/kfifo.o
  CC      kernel/sys_ni.o
  CC      kernel/posix-cpu-timers.o
  CC      kernel/mutex.o
  CC      kernel/hrtimer.o
  CC      kernel/rwsem.o
  CC      kernel/nsproxy.o
  CC      kernel/srcu.o
  CC      kernel/semaphore.o
  CC      kernel/notifier.o
  CC      kernel/ksysfs.o
  CC      kernel/pm_qos_params.o
  CC      kernel/sched_clock.o
  CC      kernel/cred.o
  CC      kernel/async.o
  CC      kernel/range.o
  CC      kernel/early_res.o
  CC      kernel/groups.o
  CC      kernel/freezer.o
  CC      kernel/profile.o
  CC      kernel/stacktrace.o
  CC      kernel/irq/handle.o
  CC      kernel/irq/manage.o
  CC      kernel/irq/spurious.o
  CC      kernel/irq/resend.o
  CC      kernel/irq/chip.o
  CC      kernel/irq/devres.o
  CC      kernel/irq/autoprobe.o
  CC      kernel/irq/proc.o
  CC      kernel/irq/pm.o
  LD      kernel/irq/built-in.o
  CC      kernel/power/main.o
  CC      kernel/power/console.o
  CC      kernel/power/process.o
  CC      kernel/power/suspend.o
  CC      kernel/power/nvs.o
  CC      kernel/power/wakelock.o
  CC      kernel/power/userwakelock.o
  CC      kernel/power/earlysuspend.o
  CC      kernel/power/fbearlysuspend.o
  CC      kernel/power/poweroff.o
  CC      kernel/power/pm_monitor.o
  LD      kernel/power/built-in.o
  CC      kernel/time/timekeeping.o
  CC      kernel/time/ntp.o
  CC      kernel/time/clocksource.o
  CC      kernel/time/jiffies.o
  CC      kernel/time/timer_list.o
  CC      kernel/time/timecompare.o
  CC      kernel/time/timeconv.o
  CC      kernel/time/clockevents.o
  CC      kernel/time/tick-common.o
  CC      kernel/time/tick-broadcast.o
  CC      kernel/time/tick-oneshot.o
  CC      kernel/time/tick-sched.o
  CC      kernel/time/timer_stats.o
  LD      kernel/time/built-in.o
  CC      kernel/trace/trace_clock.o
  CC      kernel/trace/ring_buffer.o
  LD      kernel/trace/built-in.o
  CC      kernel/futex.o
  CC      kernel/rtmutex.o
  CC      kernel/dma.o
  CC      kernel/up.o
  CC      kernel/module.o
  CC      kernel/kallsyms.o
  CC      kernel/cgroup.o
  CC      kernel/cgroup_freezer.o
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  CC      kernel/res_counter.o
  CC      kernel/seccomp.o
  CC      kernel/rcutree.o
  CC      kernel/relay.o
  CC      kernel/utsname_sysctl.o
  CC      kernel/elfcore.o
  CC      kernel/slow-work.o
  CC      kernel/perf_event.o
  CC      kernel/hw_breakpoint.o
  LD      kernel/built-in.o
  CC      mm/bootmem.o
  CC      mm/filemap.o
  CC      mm/mempool.o
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
  CC      mm/maccess.o
  CC      mm/page_alloc.o
  CC      mm/page-writeback.o
  CC      mm/readahead.o
  CC      mm/swap.o
  CC      mm/truncate.o
  CC      mm/vmscan.o
  CC      mm/shmem.o
  CC      mm/prio_tree.o
  CC      mm/util.o
  CC      mm/mmzone.o
  CC      mm/vmstat.o
  CC      mm/backing-dev.o
  CC      mm/page_isolation.o
  CC      mm/mm_init.o
  CC      mm/mmu_context.o
  CC      mm/fremap.o
  CC      mm/highmem.o
  CC      mm/madvise.o
  CC      mm/memory.o
  CC      mm/mincore.o
  CC      mm/mlock.o
  CC      mm/mmap.o
  CC      mm/mprotect.o
  CC      mm/mremap.o
  CC      mm/msync.o
  CC      mm/rmap.o
  CC      mm/vmalloc.o
  CC      mm/pagewalk.o
  CC      mm/init-mm.o
  CC      mm/bounce.o
  CC      mm/dmapool.o
  CC      mm/sparse.o
  CC      mm/sparse-vmemmap.o
  CC      mm/ashmem.o
mm/ashmem.c: In function
 
Do you still have this line removed from your makefile? (KBUILD_CFLAGS section) If it is removed or commented out, I would not expect you to get that particular error.

-Werror-implicit-function-declaration \

Would be nice if we can figure out what the kernel build issue is. Being able to OC would be nice and set the stage for other mods...

FWIW, I tried the build process using 2 other distros in a VM. (Ubuntu 8.04 64-bit & Linux Mint 9 32-bit) Didn't work on either, but Mint 9 32-bit got the farthest using the 4.3.1 toolchain and openjdk6. Tried java jdk 5 on Ubuntu, but it only ran with toolchain 4.4.0. (4.4.3 wouldn't run due ot a library versioning problem) Given all the differnt configs I really don't know what's left to try. The fact that the make process seems to run differently depending on the keychain that is being used, sure doesn't help either.
 
Do you still have this line removed from your makefile? (KBUILD_CFLAGS section) If it is removed or commented out, I would not expect you to get that particular error.

-Werror-implicit-function-declaration \

lol deleted all the files and re-extracted them to make sure it wasnt the source code. forgot to delete those lines :p will try again in a bit when my son takes a nap

EDIT: Can you try Ubuntu 10.04 LTS wich is what google uses for all there builds, i dont have a disc drive and you need one to install that version

Edit2: Cant get past this error no matter what i do

Code:
CC [M]  drivers/crypto/msm/qcedev.o
drivers/crypto/msm/qcedev.c:37: fatal error: mach/board.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/crypto/msm/qcedev.o] Error 1
make[2]: *** [drivers/crypto/msm] Error 2
make[1]: *** [drivers/crypto] Error 2
make: *** [drivers] Error 2
 
Yeah sorry for lack of anything on this, ive been getting lazy about the warp recently lol. I had a snow day 2day so I'll get around to it eventually.. xD
 
lol deleted all the files and re-extracted them to make sure it wasnt the source code. forgot to delete those lines :p will try again in a bit when my son takes a nap

EDIT: Can you try Ubuntu 10.04 LTS wich is what google uses for all there builds, i dont have a disc drive and you need one to install that version

Edit2: Cant get past this error no matter what i do

Code:
CC [M]  drivers/crypto/msm/qcedev.o
drivers/crypto/msm/qcedev.c:37: fatal error: mach/board.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/crypto/msm/qcedev.o] Error 1
make[2]: *** [drivers/crypto/msm] Error 2
make[1]: *** [drivers/crypto] Error 2
make: *** [drivers] Error 2

I'm using Linux Mint 10 on my main machine (which is based off of Ubuntu) so it should be very similar to Ubuntu 10. So I'm not sure Ubuntu 10 will help. As a side note, if you have a decent amount of RAM and a good chunk of free disk space, you can set up a virtual machine on your computer and install whatever distro you want via an ISO file. No CD required. Not saying you should install Ubuntu 10, just thought I'd mention it since you don't have a CD drive.

Sorry, I can't help with your current error as I never ran into that one myself. You might try specifying different toolchains and see what results you get.
 
I can't believe it, but I actually got a kernel build to complete! Ran menuconfig again, made a small change and did the build again. It completed a 2nd time so I don't think it was a fluke.

Ended up using toolchain 4.4.3, but there was one big step that I missed. (and suspect others did too) When you download the source from Zte, it comes in multiple zip files. You have to combine them all into 1 zip, THEN extract. I was just using the folder from zip #1 previously as I didn't know what to do with the rest of the files. Once extracting the full zip, the make process ran MUCH smoother and it didn't come up with nearly as many errors and warnings. Additionally, you can disregard what I said previously as far as editing the Makefile. It is not necessary once the source files are installed correctly. I did have to disable netfilter to get the build to complete though. Not sure if it's needed for anything, but just the fact that it is building is a big step in the right direction!
 
I couldn't figure out how to combine .7z files in linux so I booted into Windows and used the actual 7zip app. However, I just did a little more searching and found a much easier way to do it with Linux. Once the .7z files are combined, it's easy to extract the kernel folder.

Note: you'll want to extract the zip portion of the archives to a seperate folder before combining.

cat kernel_roamer.7z.0* >> new_kernel.7z

Downthemachine - Not sure if this help you or not. If not, let me know.
 
I'll try it again, i'm gonna resetup everything, switching to 64bit. Some how I downloaded the wrong distro and I was just gonna live with it, but my other Pc with a 64bit distro of another version of Linux runs so much faster. So it will be a bit before i'm back up and running
 
@Jbrd400 do you have a zImage? Check arch/arm/boot and see if so i will send you the overclock file
 
Yep, I have the zImage and a bunch of modules here waiting to be tested. If you want to send the oc settings, I can add but I think I will test without first just to see if the phone boots. (I *really* hope it does) If it boots, then I'll try adding your OC settings and test again. Also do any specific kernel settings need to be set in menuconfig?

Edit: No luck so far. Will try to work on it some more later.
 
Well I seem to have gotten pretty far:

Code:
~/linux $ make -j8 ARCH=arm
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
make[1]: `include/generated/mach-types.h' is up to date.
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CC      init/main.o
  CHK     include/generated/compile.h
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  HOSTCC  usr/gen_init_cpio
  CC      init/initramfs.o
  CC      arch/arm/kernel/compat.o
  UPD     include/generated/compile.h
  CC      arch/arm/kernel/elf.o
  GEN     usr/initramfs_data.cpio
  AS      usr/initramfs_data.o
  CC      arch/arm/mm/dma-mapping.o
  AS      arch/arm/kernel/entry-armv.o
  LD      usr/built-in.o
  CC      arch/arm/mm/extable.o
  AS      arch/arm/kernel/entry-common.o
  CC      arch/arm/kernel/irq.o
  CC      arch/arm/mm/fault.o
  CC      arch/arm/kernel/process.o
  CC      arch/arm/kernel/ptrace.o
  CC      arch/arm/common/vic.o
  CC      arch/arm/mm/init.o
  CC      arch/arm/common/icst.o
  CC      arch/arm/kernel/return_address.o
  CC      init/calibrate.o
  CC      arch/arm/common/clkdev.o
  CC [M]  arch/arm/common/cpaccess.o
  CC      init/version.o
  CC      arch/arm/mm/iomap.o
  CC      arch/arm/kernel/setup.o
  CC      arch/arm/kernel/signal.o
  LD      arch/arm/common/built-in.o
  CC      arch/arm/mm/fault-armv.o
  CC      arch/arm/mach-versatile/core.o
  CC      arch/arm/mach-versatile/versatile_pb.o
  LD      init/mounts.o
  LD      init/built-in.o
  CC      arch/arm/mach-versatile/pci.o
  CC      arch/arm/mm/flush.o
  CC      arch/arm/kernel/sys_arm.o
  CC      arch/arm/mm/ioremap.o
  CC      arch/arm/mm/mmap.o
  CC      arch/arm/mm/pgd.o
  CC      arch/arm/mm/mmu.o
  CC      arch/arm/kernel/stacktrace.o
  CC      arch/arm/mm/vmregion.o
  CC      arch/arm/kernel/time.o
  CC      arch/arm/plat-versatile/clock.o
  CC      arch/arm/mm/proc-syms.o
  LD      arch/arm/mach-versatile/built-in.o
  CC      arch/arm/plat-versatile/timer-sp.o
  CC      arch/arm/kernel/traps.o
  CC      arch/arm/plat-versatile/sched-clock.o
  CC      arch/arm/kernel/armksyms.o
  CC      arch/arm/mm/alignment.o
  CC      arch/arm/perfmon/perf-function-hooks.o
  CC      arch/arm/kernel/module.o
  AS      arch/arm/mm/abort-ev5tj.o
  LD      arch/arm/plat-versatile/built-in.o
  AS      arch/arm/mm/pabort-legacy.o
  CC      arch/arm/kernel/bios32.o
  CC      arch/arm/mm/copypage-v4wb.o
  CC      kernel/sched.o
  LD      arch/arm/perfmon/built-in.o
  CC      mm/bootmem.o
  CC      arch/arm/kernel/isa.o
  AS      arch/arm/mm/tlb-v4wbi.o
  CC      kernel/fork.o
  AS      arch/arm/mm/proc-arm926.o
  CC      mm/filemap.o
  CC      arch/arm/kernel/io.o
  AS      arch/arm/kernel/head.o
  LD      arch/arm/mm/built-in.o
  CC      mm/mempool.o
  CC      fs/open.o
  CC      arch/arm/kernel/init_task.o
  CC      mm/oom_kill.o
  CC      fs/read_write.o
  LDS     arch/arm/kernel/vmlinux.lds
  CC      fs/file_table.o
  LD      arch/arm/kernel/built-in.o
  CC      ipc/util.o
  CC      ipc/msgutil.o
  CC      ipc/msg.o
  CC      ipc/sem.o
  CC      ipc/shm.o
  CC      fs/super.o
  CC      mm/fadvise.o
  CC      mm/maccess.o
  CC      fs/char_dev.o
  CC      kernel/exec_domain.o
  CC      mm/page_alloc.o
  CC      kernel/panic.o
  CC      kernel/printk.o
  CC      mm/page-writeback.o
  CC      kernel/cpu.o
  CC      fs/stat.o
  CC      kernel/exit.o
  CC      ipc/ipcns_notifier.o
  CC      security/commoncap.o
  CC      fs/exec.o
  CC      ipc/syscall.o
  CC      kernel/itimer.o
  CC      ipc/ipc_sysctl.o
  CC      mm/readahead.o
  LD      ipc/built-in.o
  CC      security/min_addr.o
  CC      crypto/api.o
  TIMEC   kernel/timeconst.h
  CC      fs/pipe.o
  LD      security/built-in.o
  CC      kernel/softirq.o
  CC      mm/swap.o
  CC      block/elevator.o
  CC      drivers/amba/bus.o
  CC      kernel/resource.o
  CC      crypto/cipher.o
  CC      fs/namei.o
  LD      drivers/amba/built-in.o
  LD      drivers/auxdisplay/built-in.o
  CC      kernel/sysctl.o
  CC      drivers/base/core.o
  CC      mm/truncate.o
  CC      crypto/compress.o
  CC      block/blk-core.o
  CC      drivers/base/sys.o
  CC      crypto/algapi.o
  CC      sound/sound_core.o
  CC      mm/vmscan.o
  LD      sound/arm/built-in.o
  LD      sound/atmel/built-in.o
  CC      mm/shmem.o
  CC      sound/core/memalloc.o
  CC      drivers/base/bus.o
  CC      crypto/scatterwalk.o
  CC      kernel/sysctl_binary.o
  CC      sound/core/pcm.o
  CC      fs/fcntl.o
  CC      crypto/proc.o
  CC      drivers/base/dd.o
  CC      block/blk-tag.o
  CC      crypto/ablkcipher.o
  CC      drivers/base/driver.o
  CC      kernel/capability.o
  CC      fs/ioctl.o
  CC      sound/core/pcm_native.o
  CC      block/blk-sysfs.o
  CC      sound/core/pcm_lib.o
  CC      drivers/base/class.o
  CC      kernel/ptrace.o
  CC      crypto/blkcipher.o
  CC      fs/readdir.o
  CC      block/blk-barrier.o
  CC      mm/prio_tree.o
  CC      drivers/base/platform.o
  CC      mm/util.o
  CC      kernel/timer.o
  CC      fs/select.o
  CC      block/blk-settings.o
  CC      mm/mmzone.o
  CC      crypto/ahash.o
  CC      mm/vmstat.o
  CC      drivers/base/cpu.o
  CC      mm/backing-dev.o
  CC      block/blk-ioc.o
  CC      fs/fifo.o
  CC      drivers/base/firmware.o
  CC      crypto/shash.o
  CC      fs/dcache.o
  CC      drivers/base/init.o
  CC      crypto/algboss.o
  CC      block/blk-map.o
  CC      sound/core/pcm_timer.o
  CC      kernel/user.o
  CC      mm/page_isolation.o
  CC      drivers/base/map.o
  CC      kernel/signal.o
  CC      mm/mm_init.o
  CC      drivers/base/devres.o
  CC      sound/core/pcm_misc.o
  CC      drivers/base/attribute_container.o
  CC      block/blk-exec.o
  CC      crypto/testmgr.o
  CC      mm/mmu_context.o
  CC      sound/core/pcm_memory.o
  CC      drivers/base/transport_class.o
  CC      block/blk-merge.o
  CC      drivers/block/brd.o
  CC      mm/fremap.o
  CC      drivers/base/power/sysfs.o
  CC      sound/core/timer.o
  CC      drivers/base/power/main.o
  CC      mm/highmem.o
  CC      drivers/block/loop.o
  CC      block/blk-softirq.o
  CC      fs/inode.o
  CC      mm/madvise.o
  CC      crypto/crypto_wq.o
  CC      block/blk-timeout.o
  LD      crypto/crypto_algapi.o
  CC      crypto/aead.o
  CC      kernel/sys.o
  CC      drivers/base/power/generic_ops.o
  CC      mm/memory.o
  CC      block/blk-iopoll.o
  CC      fs/attr.o
  LD      drivers/base/power/built-in.o
  CC      drivers/base/dma-mapping.o
  LD      crypto/crypto_blkcipher.o
  CC      crypto/chainiv.o
  LD      drivers/block/built-in.o
  CC      fs/bad_inode.o
  CC      block/blk-lib.o
  CC      drivers/base/dma-coherent.o
  CC      sound/core/sound.o
  CC      fs/file.o
  CC      crypto/eseqiv.o
  LD      firmware/built-in.o
  CC      fs/filesystems.o
  CC      drivers/base/firmware_class.o
  CC      block/ioctl.o
  CC      kernel/kmod.o
  CC      kernel/workqueue.o
  CC      sound/core/init.o
  LD      crypto/crypto_hash.o
  CC      crypto/pcompress.o
  CC      sound/core/memory.o
  CC      fs/namespace.o
  CC      block/genhd.o
  CC      drivers/base/module.o
  LD      crypto/cryptomgr.o
  CC      crypto/hmac.o
  LD      arch/arm/oprofile/built-in.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/oprof.o
  CC      kernel/pid.o
  CC      mm/mincore.o
  LD      drivers/base/built-in.o
  CC      sound/core/info.o
  CC      drivers/bluetooth/hci_ldisc.o
  CC      mm/mlock.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/cpu_buffer.o
  CC      crypto/md5.o
  CC      block/scsi_ioctl.o
  CC      kernel/rcupdate.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/buffer_sync.o
  CC      crypto/sha1_generic.o
  CC      sound/core/control.o
  CC      drivers/bluetooth/hci_h4.o
  CC      kernel/extable.o
  CC      mm/mmap.o
  CC      crypto/ecb.o
  CC      block/noop-iosched.o
  CC      kernel/params.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/event_buffer.o
  CC      fs/seq_file.o
  CC      drivers/bluetooth/hci_ibs.o
  CC      crypto/cbc.o
  CC      block/cfq-iosched.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/oprofile_files.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/oprofilefs.o
  CC      kernel/posix-timers.o
  CC      fs/xattr.o
  CC      crypto/des_generic.o
  CC      sound/core/misc.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/oprofile_stats.o
  CC [M]  arch/arm/oprofile/../../../drivers/oprofile/timer_int.o
  CC      sound/core/device.o
  CC [M]  arch/arm/oprofile/common.o
  CC      mm/mprotect.o
  LD      drivers/bluetooth/hci_uart.o
  LD      drivers/bluetooth/built-in.o
  LD      drivers/cdrom/built-in.o
  CC      fs/libfs.o
  CC      drivers/char/mem.o
  CC      sound/core/jack.o
  CC      kernel/kthread.o
  LD [M]  arch/arm/oprofile/oprofile.o
  CC      drivers/char/random.o
  CC      mm/mremap.o
  LD      sound/core/snd.o
  LD      sound/core/snd-timer.o
  CC      kernel/wait.o
  LD      sound/core/snd-pcm.o
  LD      sound/core/snd-page-alloc.o
  LD      sound/core/built-in.o
  LD      sound/drivers/mpu401/built-in.o
  LD      sound/drivers/opl3/built-in.o
  LD      sound/drivers/opl4/built-in.o
  LD      sound/drivers/pcsp/built-in.o
  LD      sound/drivers/vx/built-in.o
  LD      sound/drivers/built-in.o
  CC      crypto/twofish.o
  CC      kernel/kfifo.o
  LD      sound/i2c/other/built-in.o
  LD      sound/i2c/built-in.o
  LD      sound/isa/ad1816a/built-in.o
  LD      sound/isa/ad1848/built-in.o
  LD      drivers/clocksource/built-in.o
  LD      sound/isa/cs423x/built-in.o
  LD      sound/isa/es1688/built-in.o
  LD      sound/isa/gus/built-in.o
  LD      sound/isa/msnd/built-in.o
  LD      sound/isa/opti9xx/built-in.o
  CC      fs/fs-writeback.o
  LD      sound/isa/sb/built-in.o
  LD      sound/isa/wavefront/built-in.o
  CC      kernel/sys_ni.o
  CC      net/socket.o
  LD      sound/isa/wss/built-in.o
  LD      sound/isa/built-in.o
  LD      sound/mips/built-in.o
  CC      kernel/posix-cpu-timers.o
  LD      sound/parisc/built-in.o
  CC      mm/msync.o
  LD      sound/pci/ac97/built-in.o
  LD      sound/pci/ali5451/built-in.o
  LD      sound/pci/asihpi/built-in.o
  LD      sound/pci/au88x0/built-in.o
  LD      sound/pci/aw2/built-in.o
  LD      sound/pci/ca0106/built-in.o
  LD      sound/pci/cs46xx/built-in.o
  LD      sound/pci/cs5535audio/built-in.o
  LD      sound/pci/ctxfi/built-in.o
  CC      mm/rmap.o
  LD      sound/pci/echoaudio/built-in.o
  CC      drivers/char/tty_io.o
  LD      sound/pci/emu10k1/built-in.o
  LD      sound/pci/hda/built-in.o
  LD      block/built-in.o
  LD      sound/pci/ice1712/built-in.o
  LD      sound/pci/korg1212/built-in.o
  CC      crypto/twofish_common.o
  LD      sound/pci/lx6464es/built-in.o
  CC      drivers/char/n_tty.o
  LD      sound/pci/mixart/built-in.o
  LD      sound/pci/nm256/built-in.o
  LD      sound/pci/oxygen/built-in.o
  LD      sound/pci/pcxhr/built-in.o
  LD      sound/pci/riptide/built-in.o
  LD      sound/pci/rme9652/built-in.o
  LD      sound/pci/trident/built-in.o
  LD      sound/pci/vx222/built-in.o
  LD      sound/pci/ymfpci/built-in.o
  LD      sound/pci/built-in.o
  CC      kernel/mutex.o
  CC      fs/pnode.o
  LD      sound/pcmcia/pdaudiocf/built-in.o
  LD      sound/pcmcia/vx/built-in.o
  LD      sound/pcmcia/built-in.o
  LD      sound/ppc/built-in.o
  LD      sound/sh/built-in.o
  CC      sound/soc/soc-core.o
  CC      crypto/aes_generic.o
  CC      fs/drop_caches.o
  CC      kernel/hrtimer.o
  CC      mm/vmalloc.o
  CC      mm/pagewalk.o
  CC      fs/splice.o
  CC      fs/sync.o
  LD      net/802/built-in.o
  CC      net/bluetooth/af_bluetooth.o
  CC      crypto/arc4.o
  CC      crypto/deflate.o
  CC      kernel/rwsem.o
  CC      drivers/char/tty_ioctl.o
  CC      drivers/char/tty_ldisc.o
  CC      kernel/nsproxy.o
  CC      crypto/crc32c.o
  CC      kernel/srcu.o
  CC      net/bluetooth/hci_core.o
  CC      fs/utimes.o
  CC      kernel/semaphore.o
  CC      crypto/authenc.o
  CC      sound/soc/soc-dapm.o
  CC      sound/soc/soc-jack.o
  CC      mm/init-mm.o
  CC      drivers/char/tty_buffer.o
  CC      mm/dmapool.o
  CC      kernel/notifier.o
  CC      fs/stack.o
  CC      net/bluetooth/hci_conn.o
  CC      fs/fs_struct.o
  CC      crypto/rng.o
  CC      kernel/ksysfs.o
  CC      mm/ashmem.o
  CC      drivers/char/tty_port.o
  CC      crypto/krng.o
  CC      fs/statfs.o
  CC      kernel/pm_qos_params.o
  CC [M]  crypto/ansi_cprng.o
  CC      sound/soc/soc-cache.o
  CC      drivers/char/pty.o
  CC      kernel/sched_clock.o
  CC      mm/slab.o
  CC      fs/buffer.o
  CC      sound/soc/soc-utils.o
  CC      net/bluetooth/hci_event.o
  CC      kernel/cred.o
  LD      crypto/crypto.o
  LD      crypto/built-in.o
  CC      mm/percpu_up.o
  LD      drivers/crypto/built-in.o
  LD      drivers/crypto/msm/built-in.o
  CC      drivers/cpuidle/cpuidle.o
  CC [M]  drivers/crypto/msm/qcedev.o
  CC      drivers/char/misc.o
  LD      sound/soc/atmel/built-in.o
  LD      sound/soc/au1x/built-in.o
  LD      sound/soc/blackfin/built-in.o
  CC      kernel/async.o
  LD      sound/soc/codecs/built-in.o
drivers/crypto/msm/qcedev.c:37:24: error: mach/board.h: No such file or directory
drivers/crypto/msm/qcedev.c:38:22: error: mach/scm.h: No such file or directory
drivers/crypto/msm/qcedev.c:103: error: field 'ce_hw_support' has incomplete type
drivers/crypto/msm/qcedev.c: In function 'qcedev_probe':  LD      sound/soc/davinci/built-in.o

drivers/crypto/msm/qcedev.c:1551: error: dereferencing pointer to incomplete type
drivers/crypto/msm/qcedev.c:1553: error: dereferencing pointer to incomplete type
drivers/crypto/msm/qcedev.c:1555: error: dereferencing pointer to incomplete type
make[3]: *** [drivers/crypto/msm/qcedev.o] Error 1
make[2]: *** [drivers/crypto/msm] Error 2
make[1]: *** [drivers/crypto] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      drivers/char/vt_ioctl.o
  CC      drivers/cpuidle/driver.o
  LD      sound/soc/fsl/built-in.o
  LD      sound/soc/imx/built-in.o
  CC      kernel/range.o
  LD      sound/soc/msm/built-in.o
  LD      sound/soc/omap/built-in.o
  LD      sound/soc/pxa/built-in.o
  CC      drivers/cpuidle/governor.o
  LD      sound/soc/s3c24xx/built-in.o
  LD      sound/soc/s6000/built-in.o
  CC      drivers/char/vc_screen.o
  LD      sound/soc/sh/built-in.o
  CC      kernel/groups.o
  CC      drivers/cpuidle/sysfs.o
  LD      sound/soc/txx9/built-in.o
  LD      sound/soc/snd-soc-core.o
  LD      sound/soc/built-in.o
  LD      sound/sparc/built-in.o
  LD      sound/spi/built-in.o
  LD      sound/synth/built-in.o
  LD      sound/usb/caiaq/built-in.o
  LD      mm/built-in.o
  LD      sound/usb/misc/built-in.o
  LD      sound/usb/usx2y/built-in.o
  LD      sound/usb/built-in.o
  CC      sound/last.o
  CC      net/core/sock.o
  CC      kernel/freezer.o
  CC      net/ethernet/eth.o
  CC      drivers/cpuidle/governors/ladder.o
  LD      sound/soundcore.o
  LD      sound/built-in.o
  CC      drivers/char/selection.o
  CC      drivers/cpuidle/governors/menu.o
  CC      kernel/profile.o
  CC      kernel/stacktrace.o
  LD      net/ethernet/built-in.o
  LD      drivers/cpuidle/governors/built-in.o
  LD      drivers/cpuidle/built-in.o
  CC      drivers/char/keyboard.o
  CC      kernel/irq/handle.o
  CC      kernel/irq/manage.o
  CC      fs/bio.o
  LD      arch/arm/lib/built-in.o
  LD      net/ieee802154/built-in.o
  AS      arch/arm/lib/ashldi3.o
  AS      arch/arm/lib/ashrdi3.o
  AS      arch/arm/lib/backtrace.o
  CC      net/bluetooth/hci_sock.o
  AS      arch/arm/lib/changebit.o
  AS      arch/arm/lib/clear_user.o
  AS      arch/arm/lib/clearbit.o
  AS      arch/arm/lib/copy_from_user.o
  CC      kernel/power/main.o
  AS      arch/arm/lib/copy_page.o
  AS      arch/arm/lib/copy_to_user.o
  AS      arch/arm/lib/csumipv6.o
  AS      arch/arm/lib/csumpartial.o
  CC      kernel/time/timekeeping.o
  AS      arch/arm/lib/csumpartialcopy.o
  AS      arch/arm/lib/csumpartialcopyuser.o
  CC      arch/arm/lib/delay.o
  CC      kernel/irq/spurious.o
  CC      kernel/power/console.o
  AS      arch/arm/lib/div64.o
  CC      net/core/request_sock.o
  CC      net/bluetooth/hci_sysfs.o
  AS      arch/arm/lib/findbit.o
  AS      arch/arm/lib/getuser.o
  CC      drivers/char/consolemap.o
  AS      arch/arm/lib/io-readsb.o
  CC      fs/block_dev.o
  CC      kernel/power/process.o
  AS      arch/arm/lib/io-readsl.o
  AS      arch/arm/lib/io-readsw-armv4.o
  CC      kernel/irq/resend.o
  AS      arch/arm/lib/io-writesb.o
  CC      kernel/time/ntp.o
  AS      arch/arm/lib/io-writesl.o
  AS      arch/arm/lib/io-writesw-armv4.o
  AS      arch/arm/lib/lib1funcs.o
  CC      kernel/irq/chip.o
  CC      net/core/skbuff.o
  AS      arch/arm/lib/lshrdi3.o
  CC      kernel/power/suspend.o
  CC      kernel/time/clocksource.o
  AS      arch/arm/lib/memchr.o
  CONMK   drivers/char/consolemap_deftbl.c
  AS      arch/arm/lib/memcpy.o
  CC      drivers/char/vt.o
  AS      arch/arm/lib/memmove.o
  CC      net/bluetooth/lib.o
  AS      arch/arm/lib/memset.o
  AS      arch/arm/lib/memzero.o
  AS      arch/arm/lib/muldi3.o
  CC      kernel/time/jiffies.o
  AS      arch/arm/lib/putuser.o
  CC      kernel/power/nvs.o
  AS      arch/arm/lib/setbit.o
  CC      kernel/time/timer_list.o
  AS      arch/arm/lib/sha1.o
  AS      arch/arm/lib/strchr.o
  CC      kernel/irq/devres.o
  AS      arch/arm/lib/strncpy_from_user.o
  CC      net/bluetooth/l2cap.o
  CC      fs/direct-io.o
  AS      arch/arm/lib/strnlen_user.o
  CC      kernel/power/wakelock.o
  AS      arch/arm/lib/strrchr.o
  CC      kernel/irq/autoprobe.o
  AS      arch/arm/lib/testchangebit.o
  AS      arch/arm/lib/testclearbit.o
  AS      arch/arm/lib/testsetbit.o
  AS      arch/arm/lib/ucmpdi2.o
  AR      arch/arm/lib/lib.a
  CC      kernel/irq/proc.o
  CC      kernel/time/timecompare.o
  SHIPPED drivers/char/defkeymap.c
  CC      kernel/irq/pm.o
  CC      kernel/time/timeconv.o
  CC      net/core/iovec.o
  LD      kernel/irq/built-in.o
  CC      drivers/char/sysrq.o
  CC      fs/mpage.o
  CC      kernel/time/clockevents.o
  CC      kernel/power/userwakelock.o
  CC      kernel/time/tick-common.o
  CC      kernel/power/earlysuspend.o
  CC      kernel/trace/trace_clock.o
  CC      kernel/futex.o
  CC      net/core/datagram.o
  CC      fs/ioprio.o
  CC      drivers/char/consolemap_deftbl.o
  CC      kernel/time/tick-oneshot.o
  CC      drivers/char/defkeymap.o
  CC      kernel/trace/ring_buffer.o
  CC      kernel/time/tick-sched.o
  LD      drivers/char/built-in.o
  CC      kernel/power/fbearlysuspend.o
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....
  CC      kernel/rtmutex.o
  CC      fs/cifs/cifsfs.o
  CC      kernel/time/timer_stats.o
  CC      kernel/power/poweroff.o
  CC      net/core/stream.o
  LD      kernel/time/built-in.o
  CC      net/bluetooth/sco.o
  CC      kernel/power/pm_monitor.o
  CC      net/bluetooth/bnep/core.o
  CC      net/core/scm.o
  CC      fs/cifs/cifssmb.o
  LD      kernel/power/built-in.o
  CC      net/ipv4/route.o
  CC      net/ipv4/inetpeer.o
  LD      kernel/trace/built-in.o
  CC      kernel/up.o
  CC      net/core/gen_stats.o
  CC      kernel/uid16.o
  CC      net/bluetooth/bnep/sock.o
  CC      net/bluetooth/bnep/netdev.o
  CC      net/ipv6/af_inet6.o
  CC      net/core/gen_estimator.o
  CC      net/ipv6/anycast.o
  CC      kernel/module.o
  LD      net/bluetooth/bnep/bnep.o
  LD      net/bluetooth/bnep/built-in.o
  CC      net/ipv4/protocol.o
  CC      net/core/net_namespace.o
  CC      fs/cifs/cifs_debug.o
  CC      net/ipv6/ip6_output.o
  CC      net/ipv4/ip_input.o
  CC      net/core/sysctl_net_core.o
  CC      fs/debugfs/inode.o
  CC      net/core/dev.o
  CC      net/ipv4/ip_fragment.o
  CC      net/ipv4/ip_forward.o
  CC      net/bluetooth/hidp/core.o
  CC      fs/debugfs/file.o
  CC      kernel/kallsyms.o
  CC      kernel/cgroup.o
  CC      net/ipv4/ip_options.o
  CC      fs/cifs/connect.o
  LD      fs/debugfs/debugfs.o
  LD      fs/debugfs/built-in.o
  CC      fs/devpts/inode.o
  CC      net/ipv6/ip6_input.o
  CC      net/bluetooth/hidp/sock.o
  LD      fs/devpts/devpts.o
  LD      fs/devpts/built-in.o
  CC      fs/cifs/dir.o
  CC      net/core/ethtool.o
  CC      net/ipv4/ip_output.o
  LD      net/bluetooth/hidp/hidp.o
  LD      net/bluetooth/hidp/built-in.o
  CC      net/ipv6/addrconf.o
  CC      net/bluetooth/rfcomm/core.o
  CC      net/ipv6/addrlabel.o
  CC      net/ipv6/route.o
  CC      net/core/dev_addr_lists.o
  CC      net/ipv4/ip_sockglue.o
  CC      kernel/cgroup_freezer.o
  CC      fs/cifs/file.o
  CC      net/core/dst.o
  GZIP    kernel/config_data.gz
  CC      net/core/netevent.o
  CC      kernel/res_counter.o
  CC      net/ipv4/inet_hashtables.o
  CC      net/bluetooth/rfcomm/sock.o
  CC      net/core/neighbour.o
  CC      kernel/rcutree.o
  CC      kernel/relay.o
  CC      net/core/rtnetlink.o
  CC      net/ipv4/inet_timewait_sock.o
  CC      net/bluetooth/rfcomm/tty.o
  CC      kernel/utsname_sysctl.o
  CC      net/ipv6/ip6_fib.o
  CC      kernel/elfcore.o
  CC      net/ipv4/inet_connection_sock.o
  CC      kernel/slow-work.o
  CC      fs/cifs/inode.o
  CC      kernel/perf_event.o
  CC      net/ipv4/tcp.o
  CC      net/core/utils.o
  CC      fs/cifs/link.o
  CC      net/key/af_key.o
  CC      net/ipv6/ipv6_sockglue.o
  LD      net/bluetooth/rfcomm/rfcomm.o
  LD      net/bluetooth/rfcomm/built-in.o
  LD      net/bluetooth/bluetooth.o
  LD      net/bluetooth/built-in.o
  CC      net/core/link_watch.o
  CC      net/ipv6/ndisc.o
  CC      fs/ext2/balloc.o
  CC      fs/cifs/misc.o
  CC      net/core/filter.o
  CC      fs/ext2/dir.o
  CC      net/core/flow.o
  CC      fs/cifs/netmisc.o
  CC      fs/ext2/file.o
  CC      net/ipv4/tcp_input.o
  CC      net/core/net-sysfs.o
  CC      fs/ext3/balloc.o
  CC      fs/cifs/smbdes.o
  CC      fs/ext2/ialloc.o
  CC      net/ipv6/udp.o
  CC      fs/cifs/smbencrypt.o
  CC      net/core/fib_rules.o
  CC      kernel/time.o
  CC      fs/ext2/inode.o
  LD      net/key/built-in.o
  CC      net/ipv6/udplite.o
  CC      fs/ext3/bitmap.o
  CC      fs/cifs/transport.o
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  CC      fs/ext3/dir.o
  CC      fs/cifs/asn1.o
  LD      kernel/built-in.o
  LD      net/core/built-in.o
  CC      fs/ext2/ioctl.o
  CC      fs/ext4/balloc.o
  CC      fs/ext3/file.o
  CC      fs/ext3/fsync.o
  CC      fs/ext2/namei.o
  CC      fs/ext2/super.o
  CC      fs/cifs/md4.o
  CC      net/ipv6/raw.o
  CC      net/ipv6/protocol.o
  CC      fs/ext3/ialloc.o
  CC      fs/ext3/inode.o
  CC      fs/cifs/md5.o
  CC      fs/ext4/bitmap.o
  CC      fs/cifs/cifs_unicode.o
  CC      net/ipv4/tcp_output.o
  CC      fs/ext4/dir.o
  CC      fs/ext2/symlink.o
  CC      net/netfilter/core.o
  CC      fs/ext2/xattr.o
  CC      net/netfilter/nf_log.o
  CC      net/ipv6/icmp.o
  CC      fs/cifs/nterr.o
  CC      fs/ext4/file.o
  CC      fs/cifs/xattr.o
  CC      net/netlink/af_netlink.o
  CC      fs/ext3/ioctl.o
  CC      net/netfilter/nf_queue.o
  CC      fs/ext4/fsync.o
  CC      fs/ext2/xattr_user.o
  CC      net/ipv6/mcast.o
  CC      fs/cifs/cifsencrypt.o
  CC      fs/ext3/namei.o
  CC      fs/ext2/xattr_trusted.o
  CC      fs/ext4/ialloc.o
  LD      fs/ext2/ext2.o
  LD      fs/ext2/built-in.o
  CC      fs/ext4/inode.o
  CC      net/netfilter/nf_sockopt.o
  CC      fs/cifs/readdir.o
  CC      net/ipv4/tcp_timer.o
  CC      net/netfilter/nf_conntrack_core.o
  CC      net/netlink/genetlink.o
  CC      net/ipv4/tcp_ipv4.o
  CC      fs/ext3/super.o
  CC      fs/cifs/ioctl.o
  CC      fs/ext3/symlink.o
  CC      net/ipv4/tcp_minisocks.o
  CC      fs/cifs/sess.o
  CC      net/ipv6/reassembly.o
  LD      net/netlink/built-in.o
  CC      net/packet/af_packet.o
  CC      net/netfilter/nf_conntrack_standalone.o
  CC      net/ipv6/tcp_ipv6.o
  CC      fs/cifs/export.o
  CC      fs/ext3/hash.o
  CC      net/netfilter/nf_conntrack_expect.o
  CC      net/netfilter/nf_conntrack_helper.o
  CC      net/ipv4/tcp_cong.o
  CC      fs/cifs/cifsacl.o
  CC      fs/ext3/resize.o
  CC      fs/ext4/ioctl.o
  LD      fs/cifs/cifs.o
  LD      fs/cifs/built-in.o
  CC      fs/ext3/ext3_jbd.o
  CC      net/ipv6/exthdrs.o
  CC      fs/fat/cache.o
  CC      net/ipv4/datagram.o
  CC      net/netfilter/nf_conntrack_proto.o
  CC      fs/ext4/namei.o
  LD      net/packet/built-in.o
  CC      net/ipv4/raw.o
  CC      fs/ext3/xattr.o
  CC      fs/fat/dir.o
  CC      net/ipv6/datagram.o
  CC      fs/jbd/transaction.o
  CC      net/netfilter/nf_conntrack_l3proto_generic.o
  CC      net/netfilter/nf_conntrack_proto_generic.o
  CC      fs/ext3/xattr_user.o
  CC      fs/jbd2/transaction.o
  CC      net/ipv4/udp.o
  CC      net/netfilter/nf_conntrack_proto_tcp.o
  CC      fs/ext3/xattr_trusted.o
  CC      net/ipv6/ip6_flowlabel.o
  LD      fs/ext3/ext3.o
  LD      fs/ext3/built-in.o
  CC      net/ipv4/udplite.o
  CC      fs/ext4/super.o
  CC      fs/jbd/commit.o
  CC      fs/fat/fatent.o
  CC      fs/fat/file.o
  CC      net/ipv6/inet6_connection_sock.o
  CC      net/netfilter/nf_conntrack_proto_udp.o
  CC      fs/jbd2/commit.o
  CC      net/ipv6/sysctl_net_ipv6.o
  CC      fs/jbd/recovery.o
  CC      fs/jbd2/recovery.o
  CC      fs/fat/inode.o
  CC      net/netfilter/nf_conntrack_extend.o
  CC      net/ipv6/xfrm6_policy.o
  CC      net/ipv4/arp.o
  CC      fs/jbd/checkpoint.o
  CC      fs/jbd/revoke.o
  CC      fs/jbd2/checkpoint.o
  CC      net/netfilter/nf_conntrack_acct.o
  CC      net/ipv6/xfrm6_state.o
  CC      net/ipv6/xfrm6_input.o
  CC      net/netfilter/nf_conntrack_ecache.o
  CC      fs/jbd/journal.o
  CC      fs/fat/misc.o
  CC      fs/ext4/symlink.o
  CC      fs/jbd2/revoke.o
  CC      fs/jbd2/journal.o
  CC      net/ipv4/icmp.o
  CC      fs/fat/namei_vfat.o
  CC      fs/ext4/hash.o
  CC      net/ipv6/xfrm6_output.o
  CC      net/netfilter/nf_conntrack_h323_main.o
  CC      fs/ext4/resize.o
  CC      net/rfkill/core.o
  LD      fs/jbd/jbd.o
  LD      fs/jbd/built-in.o
  CC      net/ipv6/netfilter.o
  CC      net/sched/sch_generic.o
  CC      net/ipv4/devinet.o
  LD      fs/fat/fat.o
  LD      fs/fat/vfat.o
  LD      fs/fat/built-in.o
  CC      net/sunrpc/clnt.o
  CC      fs/ext4/extents.o
  CC      net/ipv6/fib6_rules.o
  LD      fs/jbd2/jbd2.o
  LD      fs/jbd2/built-in.o
  CC      net/unix/af_unix.o
  LD      net/rfkill/rfkill.o
  LD      net/rfkill/built-in.o
  LD      net/wireless/built-in.o
  CC      net/sunrpc/xprt.o
  CC      net/sched/sch_mq.o
  CC      net/netfilter/nf_conntrack_h323_asn1.o
  CC      net/ipv6/proc.o
  CC      net/ipv4/af_inet.o
  CC      net/sched/sch_api.o
  CC      net/sched/sch_blackhole.o
  CC      net/netfilter/nfnetlink.o
  CC      net/sunrpc/socklib.o
  CC      net/ipv6/syncookies.o
  CC      net/ipv6/ah6.o
  CC      net/unix/garbage.o
  CC      fs/ext4/ext4_jbd2.o
  CC      net/netfilter/nfnetlink_queue.o
  CC      net/sunrpc/xprtsock.o
  CC      fs/ext4/migrate.o
  CC      net/ipv4/igmp.o
  CC      net/ipv4/fib_frontend.o
  CC      net/sched/cls_api.o
  CC      net/ipv6/esp6.o
  CC      net/unix/sysctl_net_unix.o
  CC      fs/ext4/mballoc.o
  CC      net/netfilter/nfnetlink_log.o
  LD      net/unix/unix.o
  LD      net/unix/built-in.o
  LD      net/netfilter/nf_conntrack.o
  CC      net/sunrpc/sched.o
  CC      net/sched/act_api.o
  CC      net/ipv6/ipcomp6.o
  CC      fs/ext4/block_validity.o
  CC      fs/ext4/move_extent.o
  CC      fs/ext4/xattr.o
  CC      net/netfilter/nf_conntrack_proto_dccp.o
  CC      net/ipv4/fib_semantics.o
  CC      net/ipv6/xfrm6_tunnel.o
  CC      net/sunrpc/auth.o
  CC      net/sched/sch_fifo.o
  CC      net/sched/sch_htb.o
  CC      net/ipv6/tunnel6.o
  CC      net/netfilter/nf_conntrack_proto_gre.o
  CC      net/ipv6/xfrm6_mode_transport.o
  CC      net/sunrpc/auth_null.o
  CC      net/ipv4/inet_fragment.o
  CC      net/ipv6/xfrm6_mode_tunnel.o
  CC      net/netfilter/nf_conntrack_proto_sctp.o
  CC      net/sunrpc/auth_unix.o
  CC      net/ipv4/sysctl_net_ipv4.o
  CC      fs/ext4/xattr_user.o
  CC      fs/lockd/clntlock.o
  CC      fs/nfs/client.o
  CC      net/ipv6/xfrm6_mode_beet.o
  CC      net/sunrpc/auth_generic.o
  CC      fs/ext4/xattr_trusted.o
  CC      net/sched/sch_sfq.o
  CC      net/ipv4/sysfs_net_ipv4.o
  LD      fs/ext4/ext4.o
  CC      fs/lockd/clntproc.o
  LD      fs/ext4/built-in.o
  CC      net/netfilter/nf_conntrack_proto_udplite.o
  CC      fs/lockd/host.o
  CC      net/ipv6/mip6.o
  CC      net/sunrpc/svc.o
  CC      net/ipv4/fib_hash.o
  CC      net/sched/sch_tbf.o
  CC      fs/nfs/dir.o
  CC      net/netfilter/nf_conntrack_netlink.o
  CC      net/netfilter/nf_conntrack_amanda.o
  LD      net/ipv6/netfilter/built-in.o
  CC      net/ipv6/sit.o
  CC      fs/lockd/svc.o
  CC      net/sched/sch_prio.o
  CC      net/sunrpc/svcsock.o
  CC      net/ipv4/proc.o
  CC      net/sunrpc/svcauth.o
  CC      fs/lockd/svclock.o
  CC      fs/lockd/svcshare.o
  CC      net/sched/cls_u32.o
  CC      net/netfilter/nf_conntrack_ftp.o
  CC      net/ipv6/ip6_tunnel.o
  CC      net/ipv4/fib_rules.o
  CC      fs/nfs/file.o
  CC      fs/nfs/getroot.o
  CC      net/sunrpc/svcauth_unix.o
  CC      fs/lockd/svcproc.o
  CC      net/ipv4/ipip.o
  CC      net/sched/cls_fw.o
  LD      net/netfilter/nf_conntrack_h323.o
  CC      net/netfilter/nf_conntrack_irc.o
  CC      net/ipv6/addrconf_core.o
  CC      net/netfilter/nf_conntrack_netbios_ns.o
  CC      net/sched/cls_tcindex.o
  CC      fs/lockd/svcsubs.o
  CC      fs/nfs/inode.o
  CC      net/ipv6/exthdrs_core.o
  CC      net/sunrpc/addr.o
  CC      net/ipv6/inet6_hashtables.o
  CC      net/netfilter/nf_conntrack_pptp.o
  CC      net/ipv4/ip_gre.o
  CC      fs/lockd/mon.o
  CC      net/sched/cls_basic.o
  CC      fs/lockd/xdr.o
  CC      net/sunrpc/rpcb_clnt.o
  CC      net/ipv4/syncookies.o
  LD      net/ipv6/ipv6.o
  LD      net/ipv6/built-in.o
  CC      net/netfilter/nf_conntrack_sane.o
  CC      net/sched/ematch.o
  CC      net/ipv4/ah4.o
  CC      fs/nfs/super.o
  CC      fs/lockd/grace.o
  CC      net/sunrpc/timer.o
  CC [M]  net/sched/sch_dsmark.o
  CC      net/netfilter/nf_conntrack_sip.o
  CC      fs/nfs/nfs2xdr.o
  CC      fs/lockd/xdr4.o
  CC      net/xfrm/xfrm_policy.o
  CC      net/sunrpc/xdr.o
  CC      net/ipv4/esp4.o
  CC [M]  net/sched/cls_flow.o
  CC      net/sunrpc/sunrpc_syms.o
  CC      fs/lockd/svc4proc.o
  CC      net/sunrpc/cache.o
  CC      fs/nfs/direct.o
  CC      net/ipv4/ipcomp.o
  CC      net/netfilter/nf_conntrack_tftp.o
  CC      net/xfrm/xfrm_state.o
  CC      net/ipv4/xfrm4_tunnel.o
  LD      fs/lockd/lockd.o
  LD      net/sched/built-in.o
  LD      fs/lockd/built-in.o
  CC      net/xfrm/xfrm_hash.o
  LD      fs/nfs_common/built-in.o
  CC      fs/nls/nls_base.o
  CC      net/netfilter/x_tables.o
  CC      net/ipv4/xfrm4_mode_beet.o
  CC      fs/nfs/pagelist.o
  CC      fs/notify/fsnotify.o
  CC      fs/nls/nls_cp437.o
  CC      net/netfilter/xt_tcpudp.o
  CC      net/sunrpc/rpc_pipe.o
  CC      fs/nls/nls_cp936.o
  CC      fs/notify/notification.o
  CC      net/ipv4/tunnel4.o
  CC      fs/notify/group.o
  CC      fs/nls/nls_ascii.o
  CC      fs/notify/inode_mark.o
  CC      fs/nfs/proc.o
  CC      fs/nls/nls_iso8859-1.o
  CC      net/netfilter/xt_mark.o
  CC      fs/nls/nls_utf8.o
  CC      net/ipv4/xfrm4_mode_transport.o
  CC      fs/notify/dnotify/dnotify.o
  CC      net/xfrm/xfrm_input.o
  CC      net/sunrpc/svc_xprt.o
  LD      fs/nls/built-in.o
  CC      net/sunrpc/stats.o
  CC      net/sunrpc/sysctl.o
  CC      net/netfilter/xt_connmark.o
  LD      fs/notify/dnotify/built-in.o
  CC      net/ipv4/xfrm4_mode_tunnel.o
  CC      fs/notify/inotify/inotify.o
  CC      net/netfilter/xt_CLASSIFY.o
  CC      net/xfrm/xfrm_output.o
  CC      fs/nfs/read.o
  CC      net/xfrm/xfrm_algo.o
  CC      net/netfilter/xt_NFLOG.o
  CC      net/netfilter/xt_NFQUEUE.o
  CC      net/ipv4/ipconfig.o
  CC      net/xfrm/xfrm_sysctl.o
  LD      net/sunrpc/sunrpc.o
  LD      net/sunrpc/built-in.o
  CC      net/xfrm/xfrm_ipcomp.o
  CC      net/sysctl_net.o
  CC      fs/notify/inotify/inotify_fsnotify.o
  CC      fs/nfs/symlink.o
  CC      net/netfilter/xt_comment.o
  CC      fs/nfs/unlink.o
  CC      fs/notify/inotify/inotify_user.o
  CC      fs/nfs/write.o
  CC      net/activity_stats.o
  CC      fs/nfs/namespace.o
  CC      net/netfilter/xt_connlimit.o
  LD      net/xfrm/built-in.o
  CC      fs/nfs/mount_clnt.o
  CC      net/netfilter/xt_conntrack.o
  LD      fs/notify/inotify/built-in.o
  LD      fs/notify/built-in.o
  CC      net/netfilter/xt_helper.o
  CC      net/ipv4/netfilter.o
  CC      fs/nfs/dns_resolve.o
  CC      fs/proc/mmu.o
  LD      fs/quota/built-in.o
  CC      fs/partitions/check.o
  CC      fs/ramfs/inode.o
  CC      fs/ramfs/file-mmu.o
  CC      net/netfilter/xt_hl.o
  CC      net/ipv4/netfilter/nf_nat_rule.o
  CC      fs/nfs/cache_lib.o
  CC      fs/nfs/nfs3proc.o
  CC      net/ipv4/netfilter/nf_nat_standalone.o
  CC      fs/proc/task_mmu.o
  LD      fs/ramfs/ramfs.o
  LD      fs/ramfs/built-in.o
  CC      fs/proc/inode.o
  CC      fs/nfs/nfs3xdr.o
  CC      net/netfilter/xt_iprange.o
  CC      fs/partitions/msdos.o
  CC      fs/nfs/sysctl.o
  CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o
  CC      fs/proc/root.o
  CC      net/ipv4/netfilter/nf_conntrack_proto_icmp.o
  CC      net/netfilter/xt_length.o
  CC      net/netfilter/xt_limit.o
  LD      fs/partitions/built-in.o
  CC      fs/proc/base.o
  CC      net/netfilter/xt_mac.o
  CC      fs/proc/generic.o
  CC      net/netfilter/xt_multiport.o
  CC      net/netfilter/xt_owner.o
  CC      fs/proc/array.o
  CC      net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.o
  CC      net/ipv4/netfilter/nf_nat_core.o
  CC      fs/proc/proc_tty.o
  CC      net/ipv4/tcp_cubic.o
  CC      net/netfilter/xt_pkttype.o
  LD      fs/nfs/nfs.o
  LD      fs/nfs/built-in.o
  CC      net/netfilter/xt_policy.o
  CC      net/ipv4/xfrm4_policy.o
  CC      fs/proc/cmdline.o
  CC      fs/sysfs/inode.o
  CC      fs/sysfs/file.o
  CC      fs/sysfs/dir.o
  CC      net/ipv4/netfilter/nf_nat_helper.o
  CC      fs/proc/cpuinfo.o
  CC      net/netfilter/xt_quota.o
  CC      fs/proc/devices.o
  CC      net/ipv4/xfrm4_state.o
  CC      fs/proc/interrupts.o
  CC      net/ipv4/xfrm4_input.o
  CC      fs/sysfs/symlink.o
  CC      fs/yaffs2/yaffs_ecc.o
  CC      fs/proc/loadavg.o
  CC      net/netfilter/xt_state.o
  CC      fs/proc/meminfo.o
  CC      net/netfilter/xt_statistic.o
  CC      fs/sysfs/mount.o
  CC      fs/yaffs2/yaffs_fs.o
  CC      fs/yaffs2/yaffs_guts.o
  CC      net/ipv4/netfilter/nf_nat_proto_unknown.o
  CC      fs/proc/stat.o
  CC      fs/eventpoll.o
  CC      net/ipv4/xfrm4_output.o
  CC      net/netfilter/xt_string.o
  CC      fs/sysfs/bin.o
fs/yaffs2/yaffs_guts.c:1571: warning: 'yaffs_DeleteWorker' defined but not used
fs/yaffs2/yaffs_guts.c:600: warning: 'yaffs_VerifyTnodeWorker' defined but not used
  CC      net/ipv4/netfilter/nf_nat_proto_common.o
  CC      fs/proc/uptime.o
  CC      fs/proc/version.o
  CC      net/netfilter/xt_time.o
  CC      fs/proc/softirqs.o
  CC      fs/sysfs/group.o
  CC      net/ipv4/netfilter/nf_nat_proto_tcp.o
  CC      fs/yaffs2/yaffs_checkptrw.o
  CC      fs/anon_inodes.o
  CC      fs/proc/proc_sysctl.o
  CC      fs/proc/proc_net.o
  CC      net/ipv4/netfilter/nf_nat_proto_udp.o
  LD      fs/sysfs/built-in.o
  CC      fs/signalfd.o
  CC      net/netfilter/xt_u32.o
  CC      net/ipv4/netfilter/nf_nat_proto_icmp.o
  CC      fs/yaffs2/yaffs_packedtags1.o
  CC      fs/timerfd.o
  CC      fs/proc/kmsg.o
  LD      net/netfilter/netfilter.o
  LD      net/netfilter/built-in.o
  CC      fs/eventfd.o
  CC      fs/yaffs2/yaffs_packedtags2.o
  CC      net/ipv4/netfilter/nf_defrag_ipv4.o
  CC      fs/aio.o
  CC      fs/proc/page.o
  CC      fs/locks.o
  CC      fs/binfmt_script.o
  CC      net/ipv4/netfilter/nf_nat_amanda.o
  CC      net/ipv4/netfilter/nf_nat_ftp.o
  CC      net/ipv4/netfilter/nf_nat_h323.o
  LD      fs/proc/proc.o
  CC      fs/binfmt_elf.o
  LD      fs/proc/built-in.o
  CC      net/ipv4/netfilter/nf_nat_irc.o
  CC      net/ipv4/netfilter/nf_nat_pptp.o
  CC      fs/yaffs2/yaffs_nand.o
  CC      fs/mbcache.o
  CC      fs/dcookies.o
  CC      fs/yaffs2/yaffs_qsort.o
  CC      net/ipv4/netfilter/nf_nat_sip.o
  CC      fs/yaffs2/yaffs_tagscompat.o
  CC      net/ipv4/netfilter/nf_nat_snmp_basic.o
  CC      fs/yaffs2/yaffs_tagsvalidity.o
  CC      net/ipv4/netfilter/nf_nat_tftp.o
  CC      fs/yaffs2/yaffs_mtdif.o
  CC      fs/yaffs2/yaffs_mtdif1.o
  CC      fs/yaffs2/yaffs_mtdif2.o
  CC      net/ipv4/netfilter/nf_nat_proto_dccp.o
  CC      net/ipv4/netfilter/nf_nat_proto_gre.o
  CC      net/ipv4/netfilter/nf_nat_proto_udplite.o
  CC      net/ipv4/netfilter/nf_nat_proto_sctp.o
  CC      net/ipv4/netfilter/ip_tables.o
  CC      net/ipv4/netfilter/iptable_filter.o
  LD      fs/yaffs2/yaffs.o
  LD      fs/yaffs2/built-in.o
  LD      fs/built-in.o
  LD      net/ipv4/netfilter/iptable_nat.o
  CC      net/ipv4/netfilter/ipt_addrtype.o
  CC      net/ipv4/netfilter/ipt_ah.o
  CC      net/ipv4/netfilter/ipt_ecn.o
  CC      net/ipv4/netfilter/ipt_LOG.o
  CC      net/ipv4/netfilter/ipt_MASQUERADE.o
  CC      net/ipv4/netfilter/ipt_NETMAP.o
  CC      net/ipv4/netfilter/ipt_REDIRECT.o
  CC      net/ipv4/netfilter/ipt_REJECT.o
  CC      net/ipv4/netfilter/arp_tables.o
  CC      net/ipv4/netfilter/arpt_mangle.o
  CC      net/ipv4/netfilter/arptable_filter.o
  LD      net/ipv4/netfilter/nf_conntrack_ipv4.o
  LD      net/ipv4/netfilter/nf_nat.o
  LD      net/ipv4/netfilter/built-in.o
  LD      net/ipv4/built-in.o
  LD      net/built-in.o

So my problem is this:

Code:
  LD      sound/soc/codecs/built-in.o
drivers/crypto/msm/qcedev.c:37:24: error: mach/board.h: No such file or directory
drivers/crypto/msm/qcedev.c:38:22: error: mach/scm.h: No such file or directory
drivers/crypto/msm/qcedev.c:103: error: field 'ce_hw_support' has incomplete type
drivers/crypto/msm/qcedev.c: In function 'qcedev_probe':  LD      sound/soc/davinci/built-in.o

drivers/crypto/msm/qcedev.c:1551: error: dereferencing pointer to incomplete type
drivers/crypto/msm/qcedev.c:1553: error: dereferencing pointer to incomplete type
drivers/crypto/msm/qcedev.c:1555: error: dereferencing pointer to incomplete type
make[3]: *** [drivers/crypto/msm/qcedev.o] Error 1
make[2]: *** [drivers/crypto/msm] Error 2
make[1]: *** [drivers/crypto] Error 2
make[1]: *** Waiting for unfinished jobs....

edit: tip: export CROSS_COMPILE=path_to_latest_ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
 
Are you using stock kernel config or did you make any changes? I would just use stock config until you confirm that the build process/environment works. I see the toolchain that you have configured, but was the toolchain invoked as part of the build process? Your command line only specified the ARCH so unless you have the toolchain specified in the Makefile, it won't take effect. You may still have errors even with stock config though. (I had to disable netfilter)
 
Yeah I just did
make clean && make mrproper
cat gunzip config.gz > .config (or whatever the command is)
export CROSS_COMPILE=(what I said before)
make menuconfig (loaded the .config then saved without any changes)
make -j8 ARCH=arm menuconfig (again loaded and saved w/o changes and no idea why I did this twice)
make -j8 ARCH=arm

To the best of my memory (before exiting), that's what I did basically.
 
okay. Sounds like you're using the stock config. Try adding this to your command line and see what happens: CROSS_COMPILE=$CROSS_COMPILE

make -j8 ARCH=arm CROSS_COMPILE=$CROSS_COMPILE
 
is that the command you used to compile your kernel? i sent sebastain a message on twitter waiting for a reply
 
no, that was just a suggestion for Snake given his setup. I just used 'make -j2', but I had the ARCH and CROSS_COMPILE settings hard-coded in the Makefile itself. If they're in the makefile, you don't need to specify them every time.

As a side note, still no luck getting CM7 to boot. I think I'm doing it right, but I'm obviously still missing something.
 
its ok i cant get a deodexed rom to boot either so where all losing

EDIT: Sebastian wrote back, I'm gonna see if he can build the overclock kernel for us in case we cant get it
 
I hope you hear back from Sebastian. A little guidance from someone experienced in this stuff would be a huge help.

I did find a minor issue with my boardconfig.mk file, that changed the page size from 4096 to 2048. Don't know if that could cause a boot issue, but I guess anything's possible...? My boardconfig.mk has been configured this way pretty much since day 1 so who knows?
 
Code:
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/arm/mach-msm/built-in.o: In function `msm_bus_fabric_rpm_commit':
/home/michael/kernel/arch/arm/mach-msm/msm_bus_fabric.c:290: undefined reference to `msm_rpm_set'
arch/arm/mach-msm/built-in.o: In function `msm_bus_fabric_port_unhalt':
/home/michael/kernel/arch/arm/mach-msm/msm_bus_fabric.c:540: undefined reference to `msm_rpm_set'
arch/arm/mach-msm/built-in.o: In function `msm_bus_fabric_port_halt':
/home/michael/kernel/arch/arm/mach-msm/msm_bus_fabric.c:497: undefined reference to `msm_rpm_set'
make: *** [.tmp_vmlinux1] Error 1
I was so close but im not sure what caused this error
 
You were *really* close... This is what the final output looked like on my build. (blue part is what was left after your error)

LD vmlinux.o
MODPOST vmlinux.o
GEN .version
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
KSYM .tmp_kallsyms1.S
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2
KSYM .tmp_kallsyms2.S
AS .tmp_kallsyms2.o
LD vmlinux
SYSMAP System.map
SYSMAP .tmp_System.map
OBJCOPY arch/arm/boot/Image
Kernel: arch/arm/boot/Image is ready
I know it's a long shot, but you might see what version of gcc are you using. ('gcc -v') I've tested with 4.4 and 4.5 and both worked. If you're using a different version, you may try switching to one of those and see if it makes any difference.

Also glad to hear you got a reply from Sebastian. Hopefully he has the time/desire to help. Oh, and thanks for reaching out to him in the first place!
 
Back
Top Bottom