打印

编译内核的错误

编译内核的错误

交叉编译内核出现下列错误,请问要怎么解决啊

arch/arm/kernel/kernel.o(.text+0x150): undefined reference to `cpu_CPU_NAME_data_abort'
arch/arm/kernel/kernel.o: In function `__dabt_usr':
arch/arm/kernel/kernel.o(.text+0x30c): undefined reference to `cpu_CPU_NAME_data_abort'
arch/arm/kernel/kernel.o: In function `arch_idle':
arch/arm/kernel/kernel.o(.text+0x1214): undefined reference to `cpu_CPU_NAME_do_idle'
arch/arm/kernel/kernel.o: In function `machine_restart':
arch/arm/kernel/kernel.o(.text+0x136: undefined reference to `cpu_CPU_NAME_proc_fin'
arch/arm/kernel/kernel.o: In function `setup_return':
arch/arm/kernel/kernel.o(.text+0x375: undefined reference to `cpu_CPU_NAME_icache_invalidate_range'
arch/arm/kernel/kernel.o: In function `arm_syscall':
arch/arm/kernel/kernel.o(.text+0x5070): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/kernel/kernel.o: In function `__real_stubs_start':
arch/arm/kernel/kernel.o(.text.init+0x63c): undefined reference to `cpu_CPU_NAME_proc_init'
arch/arm/mm/mm.o: In function `do_check_pgt_cache':
arch/arm/mm/mm.o(.text+0x4c): undefined reference to `cpu_CPU_NAME_dcache_clean_entry'
arch/arm/mm/mm.o(.text+0x84): undefined reference to `cpu_CPU_NAME_dcache_clean_entry'
arch/arm/mm/mm.o: In function `do_translation_fault':
arch/arm/mm/mm.o(.text+0x8a0): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o: In function `consistent_sync':
arch/arm/mm/mm.o(.text+0xae0): undefined reference to `cpu_CPU_NAME_dcache_invalidate_range'
arch/arm/mm/mm.o(.text+0xae: undefined reference to `cpu_CPU_NAME_dcache_clean_range'
arch/arm/mm/mm.o(.text+0xaf4): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o: In function `adjust_pte':
arch/arm/mm/mm.o(.text+0xcc: undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o(.text+0xcd4): undefined reference to `cpu_CPU_NAME_set_pte'
arch/arm/mm/mm.o(.text+0xcf4): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'
arch/arm/mm/mm.o(.text+0xd14): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o: In function `update_mmu_cache':
arch/arm/mm/mm.o(.text+0xe34): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o: In function `remap_area_pages':
arch/arm/mm/mm.o(.text+0xe90): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
arch/arm/mm/mm.o(.text+0xf7c): undefined reference to `cpu_CPU_NAME_set_pte'
arch/arm/mm/mm.o(.text+0x100: undefined reference to `cpu_CPU_NAME_tlb_invalidate_all'
arch/arm/mm/mm.o: In function `get_pgd_slow':
arch/arm/mm/mm.o(.text+0x1164): undefined reference to `cpu_CPU_NAME_set_pte'
arch/arm/mm/mm.o(.text+0x118: undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o: In function `free_pgd_slow':
arch/arm/mm/mm.o(.text+0x11f4): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o(.text+0x120c): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o: In function `setup_mm_for_reboot':
arch/arm/mm/mm.o(.text+0x129: undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o: In function `pte_cache_ctor':
arch/arm/mm/mm.o(.text+0x12f0): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o: In function `paging_init':
arch/arm/mm/mm.o(.text.init+0x42: undefined reference to `cpu_CPU_NAME_tlb_invalidate_all'
arch/arm/mm/mm.o(.text.init+0x55c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
arch/arm/mm/mm.o: In function `nocache_setup':
arch/arm/mm/mm.o(.text.init+0x72: undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
arch/arm/mm/mm.o: In function `nowrite_setup':
arch/arm/mm/mm.o(.text.init+0x770): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
arch/arm/mm/mm.o: In function `create_mapping':
arch/arm/mm/mm.o(.text.init+0x90c): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o(.text.init+0x944): undefined reference to `cpu_CPU_NAME_set_pte'
arch/arm/mm/mm.o(.text.init+0x9a4): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o(.text.init+0xa10): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o(.text.init+0xa4: undefined reference to `cpu_CPU_NAME_set_pte'
arch/arm/mm/mm.o: In function `memtable_init':
arch/arm/mm/mm.o(.text.init+0xb30): undefined reference to `cpu_CPU_NAME_set_pmd'
arch/arm/mm/mm.o(.text.init+0xba0): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
kernel/kernel.o: In function `schedule':
kernel/kernel.o(.text+0x4f0): undefined reference to `cpu_CPU_NAME_set_pgd'
kernel/kernel.o: In function `mm_init':
kernel/kernel.o(.text+0x18b8): undefined reference to `cpu_CPU_NAME_dcache_clean_entry'
kernel/kernel.o: In function `copy_mm':
kernel/kernel.o(.text+0x1b2c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
kernel/kernel.o(.text+0x1ce4): undefined reference to `cpu_CPU_NAME_tlb_invalidate_all'
kernel/kernel.o: In function `end_lazy_tlb':
kernel/kernel.o(.text+0x4640): undefined reference to `cpu_CPU_NAME_set_pgd'
kernel/kernel.o: In function `access_process_vm':
kernel/kernel.o(.text+0x8f40): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
kernel/kernel.o(.text+0x8f70): undefined reference to `cpu_CPU_NAME_flush_ram_page'
kernel/kernel.o(.text+0x8f90): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o: In function `clear_page_tables':
mm/mm.o(.text+0xc8): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0xe0): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o: In function `copy_page_range':
mm/mm.o(.text+0x1c0): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x27c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x2d0): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `unmap_page_range':
mm/mm.o(.text+0x3bc): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x45c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x47c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `zap_page_range':
mm/mm.o(.text+0x58c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x5b8): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'mm/mm.o: In function `map_user_kiobuf':
mm/mm.o(.text+0x96c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o: In function `zeromap_page_range':
mm/mm.o(.text+0xcb0): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0xd5c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xd68): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xe2c): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'mm/mm.o: In function `remap_page_range':
mm/mm.o(.text+0xec4): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0xf68): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xfa4): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x106c): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'
mm/mm.o: In function `do_wp_page':
mm/mm.o(.text+0x112c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x1140): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x1160): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'mm/mm.o(.text+0x1204): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o(.text+0x1234): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x1254): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x1274): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'mm/mm.o: In function `do_swap_page':
mm/mm.o(.text+0x161c): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o(.text+0x1628): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `do_anonymous_page':
mm/mm.o(.text+0x16dc): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o(.text+0x170c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `do_no_page':
mm/mm.o(.text+0x1850): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o(.text+0x1878): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `handle_mm_fault':
mm/mm.o(.text+0x1980): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x19a0): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'mm/mm.o: In function `pte_alloc':
mm/mm.o(.text+0x1a24): undefined reference to `cpu_CPU_NAME_dcache_clean_entry'
mm/mm.o(.text+0x1aa0): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o: In function `exit_mmap':
mm/mm.o(.text+0x30f4): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
mm/mm.o(.text+0x31c4): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'
mm/mm.o: In function `truncate_list_pages':
mm/mm.o(.text+0x376c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x3774): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o: In function `do_generic_file_read':
mm/mm.o(.text+0x4b98): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o: In function `filemap_nopage':
mm/mm.o(.text+0x58d0): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o: In function `filemap_sync':
mm/mm.o(.text+0x5aa8): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x5b2c): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x5bc8): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x5c00): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'mm/mm.o(.text+0x5cbc): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'
mm/mm.o: In function `generic_file_write':
mm/mm.o(.text+0x707c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o: In function `change_protection':
mm/mm.o(.text+0x73b4): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x7420): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x746c): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x7484): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x750c): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'
mm/mm.o: In function `move_one_page':
mm/mm.o(.text+0x8360): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x83d8): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x83f0): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `move_page_tables':
mm/mm.o(.text+0x8454): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0x8498): undefined reference to `cpu_CPU_NAME_tlb_invalidate_range'
mm/mm.o(.text+0x84cc): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o: In function `vmfree_area_pages':
mm/mm.o(.text+0x8bf4): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
mm/mm.o(.text+0x8c4c): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0x8c90): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x8d34): undefined reference to `cpu_CPU_NAME_tlb_invalidate_all'
mm/mm.o: In function `__vmalloc':
mm/mm.o(.text+0x8fec): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x9058): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
mm/mm.o: In function `vmalloc_area_pages':
mm/mm.o(.text+0x92d4): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0x9340): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_all'
mm/mm.o: In function `swap_out':
mm/mm.o(.text+0xa9b4): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0xaa60): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xab0c): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
mm/mm.o(.text+0xab20): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xab44): undefined reference to `cpu_CPU_NAME_tlb_invalidate_page'mm/mm.o(.text+0xab80): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o(.text+0xac48): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `unuse_vma':
mm/mm.o(.text+0xcf20): undefined reference to `cpu_CPU_NAME_set_pmd'
mm/mm.o(.text+0xcfb8): undefined reference to `cpu_CPU_NAME_set_pte'
mm/mm.o: In function `try_to_unuse':
mm/mm.o(.text+0xd1b8): undefined reference to `cpu_CPU_NAME_flush_ram_page'
mm/mm.o: In function `shmem_nopage':
mm/mm.o(.text+0xf2ac): undefined reference to `cpu_CPU_NAME_flush_ram_page'
fs/fs.o: In function `__block_prepare_write':
fs/fs.o(.text+0x4c88): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o: In function `block_read_full_page':
fs/fs.o(.text+0x50c0): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o: In function `cont_prepare_write':
fs/fs.o(.text+0x53f8): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o(.text+0x5504): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o: In function `block_truncate_page':
fs/fs.o(.text+0x5804): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o(.text+0x5938): more undefined references to `cpu_CPU_NAME_cache_clean_invalidate_range' follow
fs/fs.o: In function `put_dirty_page':
fs/fs.o(.text+0x9e9c): undefined reference to `cpu_CPU_NAME_flush_ram_page'
fs/fs.o(.text+0x9eb0): undefined reference to `cpu_CPU_NAME_set_pte'
fs/fs.o: In function `exec_mmap':
fs/fs.o(.text+0xa268): undefined reference to `cpu_CPU_NAME_set_pgd'
fs/fs.o: In function `load_aout_binary':
fs/fs.o(.text+0x1bd8c): undefined reference to `cpu_CPU_NAME_icache_invalidate_range'
fs/fs.o(.text+0x1beb4): undefined reference to `cpu_CPU_NAME_icache_invalidate_range'
fs/fs.o: In function `load_aout_library':
fs/fs.o(.text+0x1c2e8): undefined reference to `cpu_CPU_NAME_icache_invalidate_range'
fs/fs.o: In function `load_aout_interp':
fs/fs.o(.text+0x1cec8): undefined reference to `cpu_CPU_NAME_icache_invalidate_range'
fs/fs.o: In function `elf_core_dump':
fs/fs.o(.text+0x1e5f8): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o(.text+0x1e638): undefined reference to `cpu_CPU_NAME_flush_ram_page'
fs/fs.o: In function `statm_pgd_range':
fs/fs.o(.text+0x21a70): undefined reference to `cpu_CPU_NAME_set_pmd'
fs/fs.o: In function `nfs_readpage_sync':
fs/fs.o(.text+0x31abc): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o: In function `nfs_readpage_result':
fs/fs.o(.text+0x322b8): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
fs/fs.o: In function `romfs_readpage':
fs/fs.o(.text+0x3bb04): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
drivers/block/block.o: In function `ramdisk_updatepage':
drivers/block/block.o(.text+0x2840): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
drivers/block/block.o: In function `rd_blkdev_pagecache_IO':
drivers/block/block.o(.text+0x29f8): undefined reference to `cpu_CPU_NAME_cache_clean_invalidate_range'
make: *** [vmlinux] Error 1

TOP