各位前辈:
我用的是nios2linux-1_4,DE2开发板,QII6.0,niosii 6.0.
我在配置uclinux内核时在网络配置时不选DM9000就可以编译通过产生vmlinux.bin文件,现在我想加上DM9000但是一加上就产生错误:
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:305: error: `na_dm9000_irq' undeclared here (not in a function)
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c: In function `dmfe_probe':
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:362: error: `na_dm9000' 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/net/dm9000x.c:362: 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/net/dm9000x.c:362: 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/net/dm9000x.c: At top level:
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:291: warning: 'dmfe_debug' defined but not used
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:295: warning: 'debug' defined but not used
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:296: warning: 'mode' defined but not used
/cygdrive/c/altera/kits/nios2_60/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/drivers/net/dm9000x.c:785: warning: 'dmfe_reset_dm9000' defined but not used
make[3]: *** [drivers/net/dm9000x.o] Error 1
make[2]: *** [drivers/net] Error 2
make[1]: *** [drivers] Error 2
make: *** [_all] Error 2
各位前辈一定要帮忙!拜谢!
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |