Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

compile problem

when i build the linux on EP2C35 on my FC4(vmware)

these errors occur:

arch/nios2nommu/boot/Makefile:29: 警告:覆盖关于目标“arch/nios2nommu/boot/zImage”的命令

arch/nios2nommu/boot/Makefile:12: 警告:忽略关于目标“arch/nios2nommu/boot/zImage”的旧命令

arch/nios2nommu/boot/Makefile:33: 警告:覆盖关于目标“arch/nios2nommu/boot/compressed/vmlinux”的命令

arch/nios2nommu/boot/Makefile:16: 警告:忽略关于目标“arch/nios2nommu/boot/compressed/vmlinux”的旧命令

arch/nios2nommu/boot/compressed/Makefile:58: 警告:覆盖关于目标“arch/nios2nommu/boot/compressed/vmlinux”的命令

arch/nios2nommu/boot/compressed/Makefile:22: 警告:忽略关于目标“arch/nios2nommu/boot/compressed/vmlinux”的旧命 令

arch/nios2nommu/boot/compressed/Makefile:62: 警告:覆盖关于目标“arch/nios2nommu/boot/compressed/vmlinux.bin”的 命令

arch/nios2nommu/boot/compressed/Makefile:26: 警告:忽略关于目标“arch/nios2nommu/boot/compressed/vmlinux.bin”的 旧命令

arch/nios2nommu/boot/compressed/Makefile:65: 警告:覆盖关于目标“arch/nios2nommu/boot/compressed/vmlinux.bin.gz”的命令

arch/nios2nommu/boot/compressed/Makefile:29: 警告:忽略关于目标“arch/nios2nommu/boot/compressed/vmlinux.bin.gz”的旧命令

arch/nios2nommu/boot/compressed/Makefile:72: 警告:覆盖关于目标“arch/nios2nommu/boot/compressed/piggy.o”的命令

arch/nios2nommu/boot/compressed/Makefile:36: 警告:忽略关于目标“arch/nios2nommu/boot/compressed/piggy.o”的旧命 令

AS arch/nios2nommu/boot/compressed/head.o

arch/nios2nommu/boot/compressed/head.S: Assembler messages:

arch/nios2nommu/boot/compressed/head.S:111: Error: symbol `_start' is already defined

arch/nios2nommu/boot/compressed/head.S:117: Error: symbol `text_init' is already defined

arch/nios2nommu/boot/compressed/head.S:126: Error: symbol `data_init' is already defined

arch/nios2nommu/boot/compressed/head.S:146: Error: symbol `flush_cache' is already defined

arch/nios2nommu/boot/compressed/head.S:151: Error: symbol `data_flush' is already defined

arch/nios2nommu/boot/compressed/head.S:158: Error: symbol `text_flush' is already defined

arch/nios2nommu/boot/compressed/head.S:169: Error: symbol `fake_headers_as_bzImage' is already defined

make[2]: *** [arch/nios2nommu/boot/compressed/head.o] 错误 1

make[1]: *** [arch/nios2nommu/boot/compressed/vmlinux] 错误 2

why?

thanks!!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    today,the problem changed,when i compile the linux again

    that occurs:

    In file included from include/linux/selection.h:11,

    from drivers/char/tty_io.c:103:

    include/linux/vt_buffer.h:19:21: asm/vga.h: No such file or directory

    make[2]: *** [drivers/char/tty_io.o] 错误 1

    make[1]: *** [drivers/char] 错误 2

    make: *** [drivers] 错误 2

    i do not why ?

    who can help me ?

    thank you !
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    start with minimal kernel config, in your kernel dir, cp ~/download/kernel.config .config .