4
回答
编译Android kernel-3.4.0 ,大家用的什么交叉编译链?
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   

@邓凡平 大神帮忙看看 。如题:编译Android kernel-3.4.0 ,大家用的什么交叉编译链?

我要编译编译小米公布的kernel-3.4.0,用Android-4.2的arm-eabi-4.6编译链会出错,不知道大家用的是什么工具链啊?

错误为:

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/kernel/built-in.o: In function `handle_arch_irq':
bootinfo.c:(.data+0x14): undefined reference to `arch_idle'
lib/built-in.o: In function `longkstrtoull_from_user':
dynamic_queue_limits.c:(.text+0x4034): undefined reference to `longkstrtoull'
drivers/built-in.o: In function `pmem_cache_maint':
clkdev.c:(.text+0x3f51c): undefined reference to `invalidate_caches'
clkdev.c:(.text+0x3f52c): undefined reference to `clean_and_invalidate_caches'
clkdev.c:(.text+0x3f540): undefined reference to `clean_caches'
lib/lib.a(memory_alloc.o): In function `__free':
memory_alloc.c:(.text+0x314): undefined reference to `gen_pool_free'
lib/lib.a(memory_alloc.o): In function `mem_type_to_memory_pool':
memory_alloc.c:(.text+0x414): undefined reference to `gen_pool_create'
memory_alloc.c:(.text+0x434): undefined reference to `gen_pool_add_virt'
memory_alloc.c:(.text+0x450): undefined reference to `gen_pool_destroy'
lib/lib.a(memory_alloc.o): In function `_allocate_contiguous_memory_nomap':
memory_alloc.c:(.text+0x55c): undefined reference to `gen_pool_alloc_aligned'
memory_alloc.c:(.text+0x5e0): undefined reference to `gen_pool_free'
lib/lib.a(memory_alloc.o): In function `allocate_contiguous_memory':
memory_alloc.c:(.text+0x664): undefined reference to `gen_pool_alloc_aligned'
memory_alloc.c:(.text+0x710): undefined reference to `gen_pool_free'
make: *** [.tmp_vmlinux1] Error 1
ubuntu@ubuntu:~/modified-miui-kernel/mi2_kernel-master$


@邓凡平  大牛帮忙看看,谢谢!

举报
wangxigui
发帖于4年前 4回/656阅
顶部