Board logo

标题: 求救:nios linux 配置出现下面错误 [打印本页]

作者: 8a112    时间: 2008-11-20 13:24     标题: 求救:nios linux 配置出现下面错误

------------------------------------------------
Microtronix Linux Extensions
Version 1.4, Built June 20, 2005
------------------------------------------------
make: Entering directory `/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'
no emulation specific options.
Using /cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel
GEN /cygdrive/f/DE2_linux/nios_linux/build/Makefile
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/nios2_system.h
HOSTCC scripts/basic/fixdep
scripts/basic/.fixdep.d: done.
HOSTCC scripts/basic/split-include
scripts/basic/.split-include.d: done.
HOSTCC scripts/basic/docproc
scripts/basic/.docproc.d: done.
HOSTCC scripts/mod/mk_elfconfig
scripts/mod/.mk_elfconfig.d: done.
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
scripts/mod/.file2alias.o.d: done.
HOSTCC scripts/mod/modpost.o
scripts/mod/.modpost.o.d: done.
HOSTCC scripts/mod/sumversion.o
scripts/mod/.sumversion.o.d: done.
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
scripts/.kallsyms.d: done.
make[2]: `arch/nios2nommu/kernel/asm-offsets.s' is up to date.
CHK include/asm-nios2nommu/asm-offsets.h
CHK include/linux/compile.h
HOSTCC usr/gen_init_cpio
usr/.gen_init_cpio.d: done.
CHK usr/initramfs_list
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
usr/.initramfs_data.o.d: done.
LD usr/built-in.o
CC arch/nios2nommu/kernel/start.o
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/start.c: In function `main':
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/start.c:522: warning: label `badshiftci_label' defined but not used
arch/nios2nommu/kernel/.start.o.d: done.
LD arch/nios2nommu/kernel/built-in.o
CC drivers/ide/ide.o
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_hwif_default':
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: `na_ide_ide' undeclared (first use in this function)
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: (Each undeclared identifier is reported only once
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:262: error: for each function it appears in.)
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c: In function `init_ide_data':
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/ide/ide.c:313: error: `na_ide_ide_irq' undeclared (first use in this function)
make[3]: *** [drivers/ide/ide.o] Error 1
make[2]: *** [drivers/ide] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2
make: Leaving directory `/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'

我用的是nios 6.0的 ,请高手指点!!!!!谢谢!


作者: skin125    时间: 2008-11-20 17:21

兄弟,真是缘分啊,今天下午我做这个实验的时候也是遇到这个问题了,也不知道怎么解决。急盼大侠赐教啊。


作者: 8a112    时间: 2008-11-26 16:16

这两天没有过来看看,我的是内核配置有问题,重新配置了就好了,但是在下载的时候出现了新的问题,很是郁闷!






欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) Powered by Discuz! 7.0.0