当前位置: 技术问答>linux和unix
有关netfilter编译时出现的一些小错误
来源: 互联网 发布时间:2015-06-18
本文导语: 我有一个小程序,编译时(gcc -c simple.c)出现如下错误: /usr/include/linux/netfilter_ipv4.h:53: `INT_MIN' undeclared here (not in a function) /usr/include/linux/netfilter_ipv4.h:53: enumerator value for `NF_IP_PRI_FIRST' not integer constant /us...
我有一个小程序,编译时(gcc -c simple.c)出现如下错误:
/usr/include/linux/netfilter_ipv4.h:53: `INT_MIN' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:53: enumerator value for `NF_IP_PRI_FIRST' not integer constant
/usr/include/linux/netfilter_ipv4.h:59: `INT_MAX' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:59: enumerator value for `NF_IP_PRI_LAST' not integer constant
请问高手,是什么问题啊?!!!
/usr/include/linux/netfilter_ipv4.h:53: `INT_MIN' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:53: enumerator value for `NF_IP_PRI_FIRST' not integer constant
/usr/include/linux/netfilter_ipv4.h:59: `INT_MAX' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:59: enumerator value for `NF_IP_PRI_LAST' not integer constant
请问高手,是什么问题啊?!!!
|
没有定义啊!头文件没包括?