裁剪好内核,编译的时候报错,哪位大侠帮忙看看,到底什么原因?没辙了,不太懂这个,sigh
Kind Status riority Description Resource In Folder Location Warning signed size_t format, size_t arg (arg 2)[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/fs/aio.c] kernel_1c6 line 661 Warning size_t format, unsigned int arg (arg 6)[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/base/dmapool.c] kernel_1c6 line 73 Warning unused variable `dentry'[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/fs/nfs/write.c] kernel_1c6 line 748 Warning unused variable `fhp'[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/fs/lockd/svcsubs.c] kernel_1c6 line 58 Warning unused variable `inode'[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/fs/lockd/svcsubs.c] kernel_1c6 line 127 Warning unused variable `task'[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/fs/nfs/write.c] kernel_1c6 line 864 Error *** [_all] Error 2 kernel_1c6 Error *** [drivers/ide/ide.o] Error 1 kernel_1c6 Error *** [drivers/ide] Error 2 kernel_1c6 Error *** [drivers] Error 2 kernel_1c6 Error error: `na_ide_ide_irq' undeclared (first usemake: Leaving directory `/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x'[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] kernel_1c6 line 313 Error error: `na_ide_ide' undeclared (first use in this function)[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] kernel_1c6 line 262 Error error: (Each undeclared identifier is reported only once[/cygdrive/f/niosIIIDEforinstall/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/drivers/ide/ide.c] kernel_1c6 line 262
注:这里的/f/niosIIIDEforinstall是 nios2 devkit的安装目录
|