在uclinux内核配置了DM9000后编译出错!
- UID
- 149900
- 性别
- 男
|
在uclinux内核配置了DM9000后编译出错!
各位前辈: 我用的是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 各位前辈一定要帮忙!拜谢! |
|
|
|
|
|
- UID
- 859483
|
也不知道你现在的DM9000处理好了没有,看了你的程序一下,不是太懂,不过我们公司爱欣文科技一有限公司可以提供技术支持,欢迎与我联系。qq1870232565 email:bab_ren@axwdragon.com |
|
|
|
|
|