QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1209|回复: 2

make vnet.o出错,Debian 2.6.8

[复制链接]
发表于 2006-1-19 11:41:09 | 显示全部楼层 |阅读模式
Bdebian:/home/baiyu/Skyeye/vnet# make vnet.o
In file included from /usr/src/linux/include/asm/processor.h:18,
                 from /usr/src/linux/include/asm/thread_info.h:16,
                 from /usr/src/linux/include/linux/thread_info.h:21,
                 from /usr/src/linux/include/linux/spinlock.h:12,
                 from /usr/src/linux/include/linux/capability.h:45,
                 from /usr/src/linux/include/linux/sched.h:7,
                 from /usr/src/linux/include/linux/module.h:10,
                 from vnet.c:28:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from /usr/src/linux/include/linux/irq.h:20,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/linux/netdevice.h:512,
                 from vnet.c:41:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/linux/netdevice.h:512,
                 from vnet.c:41:
/usr/src/linux/include/linux/irq.h: At top level:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:12,
                 from /usr/src/linux/include/linux/netdevice.h:512,
                 from vnet.c:41:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
vnet.c: In function `vnet_hostif_create':
vnet.c:672: warning: implicit declaration of function `minor'
vnet.c: At top level:
vnet.c:1334: warning: `vnet_nut_release' defined but not used
vnet.c:1488: warning: `vnet_hub_getattachednuts' defined but not used
vnet.c:1452: warning: `vnet_hub_grabnuts' defined but not used
vnet.c:1509: warning: `vnet_isbridged' defined but not used
vnet.c:1525: warning: `vnet_boltschanged' defined but not used
vnet.c:1532: warning: `vnet_nut_free' defined but not used
make: *** [vnet.o] Error 1


Debian 2.6.8 kernel
发表于 2006-2-10 11:27:58 | 显示全部楼层
顶  我有类似的问题
回复

使用道具 举报

发表于 2006-2-20 15:45:17 | 显示全部楼层
me too,建议用tun/tap设置,faq中也有提及这个问题!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-3 00:33 , Processed in 0.043022 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表