linux - There alawys has complile error when compile the latest kernel in ubuntu,as follow -


ld arch/x86/realmode/rm/realmode.elf arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x8): undefined reference topa_trampoline_start' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0xc): undefined reference topa_trampoline_status' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x10): undefined reference topa_trampoline_header' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x14): undefined reference topa_trampoline_pgd' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x18): undefined reference topa_wakeup_start' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x1c): undefined reference topa_wakeup_header' arch/x86/realmode/rm/header.o: in function real_mode_header': (.header+0x20): undefined reference topa_machine_real_restart_asm' arch/x86/realmode/rm/trampoline_64.o: in function trampoline_start': /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:77: undefined reference topa_startup_32' arch/x86/realmode/rm/trampoline_64.o: in function startup_32': /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:95: undefined reference topa_tr_cr4' /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:99: undefined reference pa_trampoline_pgd' /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:103: undefined reference topa_tr_efer' /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:104: undefined reference pa_tr_efer' /home/xhyang/src/linux/arch/x86/realmode/rm/trampoline_64.s:118: undefined reference topa_startup_64' arch/x86/realmode/rm/trampoline_64.o: in function tr_gdt': (.rodata+0x2): undefined reference topa_tr_gdt' arch/x86/realmode/rm/reboot.o: in function machine_real_restart_asm': /home/xhyang/src/linux/arch/x86/realmode/rm/reboot.s:27: undefined reference topa_tr_gdt' /home/xhyang/src/linux/arch/x86/realmode/rm/reboot.s:33: undefined reference pa_machine_real_restart_paging_off' arch/x86/realmode/rm/reboot.o: in functionmachine_real_restart_paging_off': /home/xhyang/src/linux/arch/x86/realmode/rm/reboot.s:46: undefined reference pa_machine_real_restart_idt' /home/xhyang/src/linux/arch/x86/realmode/rm/reboot.s:53: undefined reference topa_machine_real_restart_gdt' arch/x86/realmode/rm/reboot.o: in function machine_real_restart_gdt': (.rodata+0x12): undefined reference topa_machine_real_restart_gdt' arch/x86/realmode/rm/wakeup_asm.o: in function wakeup_gdt': (.rodata+0x2): undefined reference topa_wakeup_gdt' make[3]: * [arch/x86/realmode/rm/realmode.elf] error 1 make[2]: * [arch/x86/realmode/rm/realmode.bin] error 2

i have found reason. nm tool not gnu version.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -