Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

compile problem

Altera_Forum
Honored Contributor II
1,017 Views

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!!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
284 Views

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 !
0 Kudos
Altera_Forum
Honored Contributor II
284 Views

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

0 Kudos
Reply